I’m sure this is simple for you guys, I’m just a script n00b and struggling with this.
I have a site with main navigation at the top and a subcategory navbar down the left as part of the main page. The links in the left hand navbar open pages in an inline frame to the right, each link has its own page that opens. This works fine and everything’s peachy.
However, sometimes I want to link to the page so that a certain page opens in the frame, as if it had been clicked in the left navbar. I know I’ll need some kind of Javascript or other script to do this, and it will involve an extension to the url of the link, for example
<a href=”mainpage.html?frame=001″>
But I can’t figure out the script that goes in the page being linked TO. ?
Any help is hugely appreciated.