If you mean have the menu item corresponding to the current page be selected, this really is an issue on its own. The script does let you have a certain tab selected by default when the page loads:
Code:
ddtabmenu.definemenu("ddtabs1", 0) //initialize Tab Menu with ID "ddtabs1" and select 1st tab by default
As far as how to match up the current page's URL with the appropriate tab to select, it really depends on how your site is created and what's at your disposal for doing so. For example, if your site is dynamically generated, you'd use some server side coding to do the match up, then dynamically output the menu's initialization code above accordingly. But there isn't a reliable way to do the match up using JavaScript, if that's what you're asking.
Bookmarks