View Full Version : Ultimate Fade In Slideshow wait for page to load?
nikant
04-18-2007, 08:20 PM
1) Script Title: Ultimate Fade In Slideshow 1.5
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem: first of all thank you for that great script..
My question is: where and what code should I put inside the script somewhere in order for it to start when the page has finished loading.. (in the meantime it could display a message like "images loading" or a static image)
thank you
boogyman
04-19-2007, 03:42 PM
replace <body> with
<body onload = "fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder)">
and make sure that you have that script in the <head> section of your page.
nikant
04-19-2007, 04:09 PM
thank you for replying..
sorry if but I dont understand smth right..
the "fadeshow" function is set at the point you want the slideshow to be in the page..
i.e. I have it in a table cell in the middle of the page.. it won't stay there if I put it in the <body>
:confused:
boogyman
04-19-2007, 05:03 PM
page has finished loading
that function wont start until the entire page has been loaded, but I believe you can just do that same thing with the table tag, but I may be wrong :/
<table onload = "fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder)">
nikant
04-19-2007, 05:09 PM
no sorry.. it doesn't sound good..
I had a mind to insert a pause inside the code of the script somewhere.. I tried already somethings but it didn't work..
jscheuer1
04-19-2007, 05:26 PM
Use:
http://www.dynamicdrive.com/dynamicindex14/swissarmy/index.htm
It loads its images a few at a time and could be set to start onload if the array property (see Configuration Options):
manual_start=1
is set and you could then have an onload event like:
<body onload="iss[0].gostop(iss[0].go('gostp'+0));" . . .
Or, if using with the:
no_controls=1
property, just:
<body onload="iss[0].gostop();" . . .
nikant
04-20-2007, 03:15 PM
@jscheuer1 thank you very much!
it seems to be fine.. ;)
http://www.visualpoetry.gr/ (sorry its only in Greek right now.. at least you can see our photos..)
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.