Advertisement
Guest User

Untitled

a guest
Nov 16th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. Hi,
  2.  
  3. Unfortunately we can’t make this for WP. You will need to create a blank HTML page which embeds the component and redirect to the page. The HTML page will contain the Page Flip. To make the page flip 100% of the width/height of the screen you’ll first need to add two lines in the settings.xml
  4. < stretchWidth value="true"/>
  5. < stretchHeight value="true"/>
  6.  
  7. Then you’ll need to change the HTML embedding code like this:
  8. <script type="text/javascript" src="swfobject.js"></script>
  9. <script type="text/javascript">
  10. var flashvars = {};
  11. var params = {};
  12. params.scale = "noscale";
  13. params.salign = "tl";
  14. params.wmode = "transparent";
  15. var attributes = {};
  16. swfobject.embedSWF("PageFlipFX.swf", "DivPageFlipFX", "100%", "100%", "9.0.0", false, flashvars, params, attributes);
  17. </script>
  18. <style type="text/css">
  19. html, body , #DivPageFlipFX{ margin: 0; padding: 0; width: 100%; height: 100%; }
  20. #DivPageFlipFX { float: left; }
  21. </style>
  22.  
  23. Your component should fill the screen.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement