Click to See Complete Forum and Search --> : New to Java...PLEASE HELP


djskillz
02-16-2003, 09:15 PM
I am very new to java, and have played around somewhat, and have gotten the basics to work out well. But, beyond the basics, I seem to always get stuck, it does not work, or something....

Here is what I am trying to do....

I want to have the first page seen be a slide show, done, works great, but then when it is done, after the last slide, I want it to transfer to a whole new page, the main page of the site. The slide show I am using I will include a link to, I like this one because of how the pictures blend together. I can not seem to then get it to transfer, and I will put up a link of what I was trying to use. Any help would be great, this is one thing really holding my new site back.

Slide show:
http://javascript.internet.com/miscellaneous/fading-slide-show.html

Forwarding thing:
http://javascript.internet.com/navigation/timed-redirect.html

Maybe someone can help me put these together, so they will like each other? Or maybe make me one that works? Any help would be great!:confused:

Thanks,
Anthony

LAwebTek
02-16-2003, 09:32 PM
in the slide show script, this line:

if (j > (p - 1)) j = 0;

makes the slideshow start over. So, change it to:

if (j > (p - 1)) document.location.href="nextPage.html"

replace nextPage.html with the name of your page but leave it in "quotes"

also, if you really want to use the second script you can do it like this:

if (j > (p - 1)) redirTimer()

LAwebTek
http://javaAMP.lawebtek.com

djskillz
02-16-2003, 11:04 PM
Wow!

Thank you SO much!:D . That is perfect, and works great, I thank you so much!