SitePoint Sponsor |
|
User Tag List
Results 1 to 8 of 8
Thread: Remember Array
Threaded View
-
Jul 17, 2002, 18:51 #1
- Join Date
- Sep 2001
- Location
- Vancouver
- Posts
- 809
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Remember Array
Hi,
I'm no JavaScript wiz, so I don't really know if what I'm asking will make any sense to anyone. I was testing out this script that a friend made for me.
It's like this: It collapses and expands certain information in a little window. Similiar to the script Microsoft has on their web site (or had, I don't know if they still do, I saw it a long time ago).
There are several arrays in the script. When a person collapses one of them, and doesn't expand it back, is it possible to remember that, so the next time they visit it will still be collapsed.
Below is the line where the arrays are, like I said, I don't know if this will help, but I don't want to post the whole script. It took my friend about a week to make it work.
var arrParts = new Array("HPFrameHL", "HPFrameDL", "HPFrameEL", "HPFrameGL", "HPFrameNL",
Bookmarks