Forums

ASP

This topic is locked

Toggle Thumbnails on and off with checkbox

Posted 13 Nov 2003 22:41:52
1
has voted
13 Nov 2003 22:41:52 Baub Eis posted:
I want to show a list of records with their associated thumbnails, I would like to have a check box at the top of the page that would turn the thumbnails on or off.

I can write the code to actually turn them on or off, its just the state change with the check box that I'm having problems with.

Should I be using a cookie or a session variable to control this?

I'm using DWUD and asp.

Any insight would be helpful

Thanks
Baub

Replies

Replied 15 Nov 2003 21:35:21
15 Nov 2003 21:35:21 Phil Shevlin replied:
Do you mean without a trip back to the server?

If I understand you, I think I would use javascript.
Replied 16 Nov 2003 01:20:03
16 Nov 2003 01:20:03 Baub Eis replied:
It doesn't really matter whether I go back to the server or not. I guess I'm just trying to figure out if I should use a session variable or a cookie? I do quite a bit with asp and vb script, but I really don't do that much with javascript. All I want to do is put a check box at the top of the page, and when you click on it, it either turns the thumbnails on or off. Seems simple enough its just kind of over my head at this point. So any help would be appreciated.

Reply to this topic