Hi, this is my first time here in webdeveloper. I am also a newbie in javascript.
Here’s my problem.
I need a script that functions like a collapse menu.
Example:
Main Link
– Sub link 1
– Sub link 2
If i click the main link it will display the sub links.
I’ve already done this and it looks ok, until there is a suggestion that it would be better if the user after clicking on the sub link and being redirected to the page, when he click the back button on the browser, he wouls still see the sub links, so he will not click on the main link again.
My script is so simple, it doesnt contain any images or buttons, plain text and links.
Is this possible? Please suggest your ideas, thanks.