Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hi,
- 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
- < stretchWidth value="true"/>
- < stretchHeight value="true"/>
- Then you’ll need to change the HTML embedding code like this:
- <script type="text/javascript" src="swfobject.js"></script>
- <script type="text/javascript">
- var flashvars = {};
- var params = {};
- params.scale = "noscale";
- params.salign = "tl";
- params.wmode = "transparent";
- var attributes = {};
- swfobject.embedSWF("PageFlipFX.swf", "DivPageFlipFX", "100%", "100%", "9.0.0", false, flashvars, params, attributes);
- </script>
- <style type="text/css">
- html, body , #DivPageFlipFX{ margin: 0; padding: 0; width: 100%; height: 100%; }
- #DivPageFlipFX { float: left; }
- </style>
- Your component should fill the screen.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement