Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help please nd some advice

Status
Not open for further replies.

photomikee

Technical User
Jan 8, 2001
3
US
I just started building web pages and I have a client who wants animation on his splash page but doesn't want anything that requires a plug-in. His old page had a few bad gif animations and he wanted me to improve them and sequence them if possible.
The gif's fade in and out of transparency at a set rate. I managed to make this work by adding a loading page and actually loading the gifs on that page only 1pix x 1pix. As soon as they load an url refresh sends you to the splash page and the gifs start playing. It works great in netscape but not in explorer. If i manually hit refresh they play in proper sequence though.

I've scoured all kinds of tech forums trying to find a way to simply refresh 1 time only on load but no luck. I've tried the meta equivalent tags, javascript refesh(), even some javascript preloaders, nada. I'm pretty much giving it up and am going to try to accomplish the same effect with DHTML Figured I give one last callout for help before i try to tackle learning DHTML.

Need some advice from those of you that know dhtml. Can I achieve the same effect. I know I can make the images appear in sequence using GoLive,floating boxes and the time line editor but can I get a blur in fade out transition? Anyone know where I can find an example?
You can check out exactly what I'm talking about at
sorry bout the long address I'm using my website as a sort of staging server also it's a long load if your on 56k. Again clients idea . he wants to screen out casual surfers cause his website has a lot of celebrity images his clientele are allon t1 lines. Thanks for any help Photomikee.
 
if you add to your body tag:

onload="window.location.reload();"

that should reload the page once it is loaded.
adam@aauser.com
 
tried that, still a no go page just keeps reloading and reloading and reloading. If I add a time to it it still doesn't work i need to refresh fairly quickly say 2 sec. if i add 200 to string it reloads or refreshes every 2 secs. not good but thanks anyway Photomikee
 
oh yeah... forgot about that. umm, try this...

put script in head.

<script>
function ref()
{
if(window.location.search != &quot;?refresh&quot;)
{
window.location = self.location + &quot;?refresh&quot;;
}
}
</script>

then in the body add the

onload=&quot;ref();&quot;


that should work.... adam@aauser.com
 
Thank. But still doesn't work. The script you gave me works just fine the way i hoped but it doesn't have any effect on the images once it refreshes. Don't know why it's beyond me. but if I manually refresh they play properly gotta be something about the way explorer caches the images. Unless someone has any other ideas i guess I'm gonna spend this weekend learning dhtml.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top