I've just implemented this menu on my page as well (almost, I've got alot of links to add for submenus...). I would love to have clicking the tab display a new page and expand the submenu as well! I'm researching this today and will post if I find a solution.
I'm sure the answer lies in the bit of code that states
Code:
titles[i].onclick = gomenu;
arrows[i].onclick = gomenu;
I'm extremely new to javascript, so excuse my ideas if they're a bit off, but it looks like the event we're looking to update is the onclick event for both titles and arrows. If we could add something to the gomenu function... But, it couldn't be generically in the gomenu function, because the link would vary depending on which title and associated arrow was clicked....
So... the function gomenu is in the same js file... And unfortunately I'm not familiar enough with javascript to think of how to alter the code. Anyone else know?
Bookmarks