home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2004 March / PCWMAR04.iso / Sponsors / Xara / Tutorial / navbartut / dimpletab.js < prev   
Encoding:
Text File  |  2002-10-18  |  2.1 KB  |  31 lines

  1. if(typeof(loc)=="undefined"||loc==""){var loc="";if(document.body&&document.body.innerHTML){var tt=document.body.innerHTML.toLowerCase();var last=tt.indexOf("dimpletab.js\"");if(last>0){var first=tt.lastIndexOf("\"",last);if(first>0&&first<last)loc=document.body.innerHTML.substr(first+1,last-first-1);}}}
  2.  
  3. var bd=0
  4. document.write("<style type=\"text/css\">");
  5. document.write("\n<!--\n");
  6. document.write(".dimpletab_menu {border-color:#000000;border-style:solid;border-width:"+bd+"px 0px "+bd+"px 0px;background-color:#9c6363;position:absolute;left:0px;top:0px;visibility:hidden;}");
  7. document.write("a.dimpletab_plain:link, a.dimpletab_plain:visited{text-align:left;background-color:#9c6363;color:#ffffff;text-decoration:none;border-color:#000000;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:9pt;font-family:Arial, Helvetica, sans-serif;}");
  8. document.write("a.dimpletab_plain:hover, a.dimpletab_plain:active{background-color:#ce9c9c;color:#000000;text-decoration:none;border-color:#000000;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:9pt;font-family:Arial, Helvetica, sans-serif;}");
  9. document.write("\n-->\n");
  10. document.write("</style>");
  11.  
  12. var fc=0x000000;
  13. var bc=0xce9c9c;
  14. if(typeof(frames)=="undefined"){var frames=0;}
  15.  
  16. startMainMenu("",0,0,2,0,0)
  17. mainMenuItem("dimpletab_b1",".gif",25,95,"javascript:;","","Home",2,2,"dimpletab_plain");
  18. mainMenuItem("dimpletab_b2",".gif",25,95,"javascript:;","","Products",2,2,"dimpletab_plain");
  19. mainMenuItem("dimpletab_b3",".gif",25,95,"javascript:;","","Support",2,2,"dimpletab_plain");
  20. mainMenuItem("dimpletab_b4",".gif",25,95,"javascript:;","","About",2,2,"dimpletab_plain");
  21. endMainMenu("",0,0);
  22.  
  23. startSubmenu("dimpletab_b2","dimpletab_menu",106);
  24. submenuItem("Xara X","javascript:;","","dimpletab_plain");
  25. submenuItem("Xara Webstyle","http://www.xara.com/webstyle","","dimpletab_plain");
  26. submenuItem("Xara3D","javascript:;","","dimpletab_plain");
  27. submenuItem("Xara Menu Maker","http://www.xara.com/menumaker","","dimpletab_plain");
  28. endSubmenu("dimpletab_b2");
  29.  
  30. loc="";
  31.