Print  Email  Subscribe  RSS  Help
 Need Java-Script help!
Author Post

dinko




Offline

3785 posts [100%]
Penguin in the fridge, IA
3-29-2004
  Need Java-Script help!« » Reply  Edit


If anybody is pro efficient at java-script, please let me know. I downloaded an image preloader script from stilleye.com and I need help redirecting the page to the main page after the image preloader is done doing its thing.

thanks in advance....



DINKODESIGN.COM

OBAMA'08

Currently Honda-less!




tequilakid




Offline

167 posts [100%]
7-15-2004
 « Re: Need Java-Script help! (dinko)« » Reply  Edit


Change this line

Quote, originally posted by imagepreloader »
load.runAtEnd('alert("Done Loading Images")') // run a script after loading (optional)

to

Quote, originally posted by imagepreloader »
load.runAtEnd('window.location="/index.shtml"') // run a script after loading (optional)







dinko




Offline

3785 posts [100%]
Penguin in the fridge, IA
3-29-2004
 « Re: Need Java-Script help! (tequilakid)« » Reply  Edit


i contacted the owner of the site and he told me to do it like this

Quote, originally posted by script »

load.runAtEnd('location="index.html";'); // run a script after loading (optional)

it works now so it's all good



DINKODESIGN.COM

OBAMA'08

Currently Honda-less!

   


» Return to Computing and Technology
Forum Jump
Quick Reply

Powered by ZeroForum 2.1.2b. ©2008 RelyNet, Inc.