The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Hybrid View

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.