There is no reason I can see why that method would not work. Did you try it? Example (from the demo):
Code:
<div class="menutitle" onclick="SwitchMenu('sub1')">Site Menu</div>
<span class="submenu" id="sub1">
- <a href="new.htm" target="_blank">What's New</a><br>
- <a href="hot.htm">What's hot</a><br>
- <a href="revised.htm">Revised Scripts</a><br>
- <a href="morezone/">More Zone</a>
</span>
Similarly, one could use:
where frameName is the name of a valid frame in a valid frameset, just like with a regular link. Try it with a regular link, if it doesn't work there, it won't work in the markup for the script either.
PLEASE: Include the URL to your problematic webpage that you want help with.
Bookmarks