Current location: Hot Scripts Forums » General Web Coding » JavaScript » Problem with Image Slideshow script


Problem with Image Slideshow script

Reply
  #1 (permalink)  
Old 06-24-04, 07:35 PM
jthornton13 jthornton13 is offline
New Member
 
Join Date: Jun 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Problem with Image Slideshow script

I am putting together a website for my new company and am by no means a web programmer.

That being said here is my problem. I am using a slideshow script that I got from http://www.codelifter.com/main/javas...lideshow2.html

It works reasonably well for our purposes. However, everytime I load a new page within my site it restarts the script at the beginning of the image array (currently six images that it is cycling through) . If you load the page wait 8 seconds for the image to change and then click through to another page on the site it will re-load the script and reset the counter causing the slideshow to jump back to image one in the sequence. See exmple:

http://www.realscan3d.com/testing/slideshowtest/

What we need it to do is to continue on in the sequence of images independent of the pages loading. I have accomplished this using framesets. This way the script loads once and is never refreshed. Problem solved right? Not quite, now I am getting a white background everytime the frames page is refreshed. Since my webpage uses a black background this looks very unprofessional. And as far as I know there is no way to specify the background color of a frames page.

See example:

http://www.realscan3d.com/testing/frames/

My question is: Is there any way to either force the frames page to have a black background or modify this script to load the same image that it is currently on in the array into the newly loaded page?

I hope this is descriptive enough. Any help would be greatly appreciated since we have become pretty attached to this crossfading effect. Thanks for you help.

Sincerely,
Joel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 06-24-04, 10:27 PM
bsilby bsilby is offline
Newbie Coder
 
Join Date: May 2004
Location: New Zealand
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

I haven't looked at the script, but here's a thought. Why don't you set a cookie to contain the current slide number. Then when the next page opens it could check the value of the cookie and start the slide show from that place in the array.

Brent.
__________________
BRENT SILBY
DEF-LOGIC
VIDEOGAMES
www.def-logic.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
small image script needed. graham barnes Script Requests 0 06-18-04 04:06 AM
PHP image slideshow hockeykid Script Requests 4 06-13-04 08:08 PM
Send.Pl script problem BobbyC Perl 1 05-15-04 02:00 PM
An image stretcher script please. roofle Script Requests 0 03-09-04 03:41 PM
image slideshow muso Script Requests 3 08-20-03 11:51 AM


All times are GMT -5. The time now is 09:10 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.