User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 391,913 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,718 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 668 | Replies: 1
Reply
Join Date: May 2007
Posts: 1
Reputation: csj16 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
csj16 csj16 is offline Offline
Newbie Poster

[help] Image changes

  #1  
May 7th, 2007
I am trying to use the following script for something.
http://www.dynamicdrive.com/dynamici...thumbnail2.htm

What I have done with this script is that I have a few "loadareas" where the images show up.
So basically I have 3 load areas. "loadarea1", "loadarea2" and "loadarea3". In each load area the default image is a blank gif. But when u click on specific links it changes those blank gifs into another image. For example I have a link "Picture 2" and when I click on it the blank gif in "loadarea2" changes to a specific picture (pic2.gif)

Now the problem I have is that when the user clicks on the above link and the pic changes I need to have the other "loadareas" change back to the blank gif's. So if "loadarea1" had been changed into another picture I now need it to change back to a blank gif when the user clicks on the link for "loadarea2". I hope this makes sense?

Please look at the link to understand how this script works.

If there is a different way of achieving this I would be so grateful for help or tips. Thanks so much.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2007
Posts: 2,510
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 104
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: [help] Image changes

  #2  
May 7th, 2007
Just load the blank .gif file the same way you loaded the image. Since it was already downloaded when the page opened, it won't have to be downloaded again.
Daylight-saving time uses more gasoline
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

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

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 7:53 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC