Slideshow pro problems in php/webyep

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.

Does’nt Slideshow Pro like php? :slight_smile:

Here are the two identical pages:
http://tomsommerseth.com/test.html
http://tomsommerseth.com/test.php

Thanks in advance,
Tom - Norway


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

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

http://www.freewayactions.com

Hi Tim!
This is what I have pasted into the html markup item (identical to both the php and html page):

Gallery title body,html { margin: 0; padding: 0; height:100%; width:100%; overflow:hidden; } #flashcontent { width:100%; height:100%; }
<!-- 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.

Thanks again!

Tom


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

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! :slight_smile:
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);

body,html { margin: 0; padding: 0; height:100%; width:100%; overflow:hidden; } #flashcontent { width:100%; height:100%; }

Finally the file ‘swfobject.js’ also needs to be uploaded to your site with the HTML page so either FTP it in manually or use the Upload Stuff action from FreewayActions.com;
http://www.freewayactions.com/product.php?id=beta
Phew! Got there in the end. :slight_smile:
Regards,
Tim.

On 10 Jul 2008, at 01:13, Tom Sommerseth wrote:

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

http://www.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

Thanks for all the input!

Tom


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

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

Thanks for all the input.

Sincerely,
Tom


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options