Hi!
I have used the program Slideshow Pro for flash animations. However, now I have a site that requires the use of .php and webyep. When I change the site from html to php the layout (when published) becomes distorted.
Hi Tom,
Looking at the source code for the php page (http://tomsommerseth.com/test.php) I can see that the SlideshowPro HTML is embedded in the parent HTML in it’s entirety rather than as a snippet.
You’ll see you’ve a perfectly valid HTML page embedded inside another. This will cause most browsers concern and could well be the root of your display issues.
Cut the embedded SlideshowPro HTML down to what you need and embed this in the parent page. It’s also worth validating the finished HTML in pages that get made up of other bits like this just to make sure things do go adrift. http://validator.w3.org/
Regards,
Tim.
On 9 Jul 2008, at 04:41, Tom Sommerseth wrote:
I have used the program Slideshow Pro for flash animations. However, now I have a site that requires the use of .php and webyep. When I change the site from html to php the layout (when published) becomes distorted.
FreewayActions.com - Freeware and shareware actions for Freeway Express & Pro.
Protect your mailto links from being harvested by spambots with Anti Spam.
Only available at FreewayActions.com
<!-- If moving, start copying from this line down -->
<div id="flashcontent">
This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
</div>
<script type="text/javascript">
var so = new SWFObject("loader.swf", "loader", "100%", "100%", "8", "#272727");
so.addParam("allowFullScreen","true");
so.addParam("quality", "best");
so.addVariable("paramXMLPath","param.xml");
so.addVariable("initialURL", escape(document.location));
so.write("flashcontent");
</script>
<!-- Stop copying -->
How do I make it a snippet?
This is the code that Slideshow Pro told me to paste into freeway. As you can see it works very well with the html version of the site, but not with the php.
Hi Tom,
I’m not sure why the PHP page is failing to render but the HTML one is OK but both suffer from the page in a page error I mentioned before. If you look at the source code for either page you will see that you have a perfectly valid HTML page (the html markup item) inside of of Freeway’s own HTML page code.
As such you end up with two head sections, two body tags etc. All this will confuse the browser and send it into a ‘do your best’ sort of mode. Frankly anything could happen!
Looking at the code that makes up your markup item I would try adding just the section of the code between the comments;
This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
Looking at the code it looks like you will also need to insert the following code into the page head (at the before end head area);
How do I make it a snippet?
This is the code that Slideshow Pro told me to paste into freeway. As you can see it works very well with the html version of the site, but not with the php.
FreewayActions.com - Freeware and shareware actions for Freeway Express & Pro.
Protect your mailto links from being harvested by spambots with Anti Spam.
Only available at FreewayActions.com
Hi!
I managed to “fix” it thanks to Max Fancourt (Developer of the WebYep Freeway Action). I did use an iFrame. The result can be seen here: http://www.sommersethdesign.no
Hi!
I managed to “fix” it thanks to Max Fancourt (maker of the WebYep Freeway action. Thanks again Max.
The result can be seen here: http://www.sommersethdesign.no