Click to See Complete Forum and Search --> : Change image on click keep the change?


rispud
08-09-2003, 12:59 PM
Hi all,

I cannot write script, but I can copy and modify where I need to, but this one has left me empty handed after much searching.

I want to allow viewers to be able to click on a list of images, which will change on click to an new image. At the same time the click takes them to a new page.

When they come back to the page, they will see which images they have clicked on as they will have remained unchanged.

This is so they can see where they have been on a page with up to 48 selections.

I know this must be simple, and I can get it to work offline, but not live.

Any suggestions?

rispud

Khalid Ali
08-09-2003, 09:27 PM
if I understand you correctly,you need to retain the clicked objects reference isomehow that when a user comes back that object is shown as selected????

I guess you can do this using cookies.

rispud
08-10-2003, 03:13 AM
Hi Khalid,

They will actually be coming back immediately, so the page should still be open on their browser. I do not think that will need a cookie?

I had it working offline OK, and most of the time online, but it was unstable. What I really need is the script to change the image on click, and keep the change on mouseout. I am sure that can be done. Can find lots of scripts to change the image on mouseover, and back to where it was on mouseout.

Thanks for the response..

rispud

Khalid Ali
08-10-2003, 09:03 AM
Changing image on click is piece of cake,however,if you forward to another page and comeback to the previous page,and for however short duration this is,there is no guranty that browser will retain in the info.OU will need to re think your logic.

rispud
08-10-2003, 11:52 AM
Thanks Khalid,

When you say changing the image is a piece of cake, could you show me that code, and I will campare it with what I have been using, and I may be lucky. As I said a lot of the time my code worked, but it was actually affecting the links on the page.

rispud