This demo uses one of the following configuration files:
<%
%>
instructions and rename)And the following images:
The Flash navbar itself is the following file - thanks to Mudsplat Studios who made this for me:
It's embedded with this HTML, which also includes redundant navigation for browsers that don't support Flash:
<!-- flash object --><object type="application/x-shockwave-flash" data="udm-navbar.swf" id="flash" width="124" height="233" > <param name="movie" value="udm-navbar.swf" /> <param name="quality" value="best" /> <param name="loop" value="false" /> <param name="wmode" value="transparent" /> <!-- secondary navigation list --> <ul> <li><a href="/" title="UDM Home page">Home</a></li> <li><a href="/menu/" title="About UDM">About</a></li> <li><a href="/menu/demos/">Demos</a></li> <li><a href="/licensing/">Purchase</a></li> <li><a href="/licensing/download/">Download</a></li> <li><a href="/menu/support/" title="Help and support">Support</a></li> <li><a href="/contact/" title="Contact the author">Contact</a></li> <li><a href="/" title="Brothercake Home page">Brothercake</a></li> </ul></object>
And there's this menu-handling code, to translate the output from ActionScript:
//menu positions by trigger IDvar positions = { 'about' : ['133px','34px'], 'demos' : ['133px','63px'], 'support' : ['133px','150px'] }//open menu with given IDfunction openMenu(menuID){ //if the menu is ready if(um.ready) { //activate menu at stored co-ordinates um.activateMenu(menuID,positions[menuID][0],positions[menuID][1]); }}//close all menusfunction closeAllMenus(){ //for each item in the object for(var i in positions) { //deactive menu with its ID um.deactivateMenu(i); }}
The menus in this configuration may be rather slow to open in Mac/IE5. For more about this please read the popup menu examples documentation.