[Javascript] JS div to remain visible
Chris T
christ at saeweb.com
Tue Jun 22 12:44:48 CDT 2004
As Laurent said, you can pass parameters through the querystring and request them in ASP - but you can also do it with JavaScript. That would require some work to make the links dynamic though so that you could pass parameters like that.
Also, as Hassan said, cookies can be used - the only downfall being that if the user has cookies disabled, it will not work.
Another alternative (and possibly the most messy) would be to create a frameset and have a hidden frame hold variables for you as the bottom window allows the user to navigate through the site. You'd have to make the top frame (or bottom, however you preferred) stay on the same page though as JS doesn't persist state.
Chris Tifer
----- Original Message -----
From: Alan Easton
To: javascript at LaTech.edu
Sent: Tuesday, June 22, 2004 12:41 PM
Subject: [Javascript] JS div to remain visible
Hello People,
I am in need of some help.
I have a html page that has some div tags on. When you click each div tag,
it toggles a table of links below it in another div tag to be either visible
or hidden.
Now the problem I have it that when I click on one of the links in the table
that has been made visible, it goes to a page with the exact same navigation
structure on it, but I would like the table that was made visible to remain
visible.
Is there some way I can check to see which div tag has been made visible as
I go to the link. I have attached the html file so you can see what I am
doing.
Any ideas or help would be grateful.
Thanks,
Alan...
_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger
http://www.msn.co.uk/messenger
------------------------------------------------------------------------------
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20040622/25207fe5/attachment.htm>
More information about the Javascript
mailing list