home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2004 March / PCWMAR04.iso / Sponsors / Xara / Tutorial / navbartut / blueeye.js < prev    next >
Encoding:
Text File  |  2002-05-31  |  2.7 KB  |  36 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("blueeye.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(".blueeye_menu {border-color:black;border-style:solid;border-width:"+bd+"px 0px "+bd+"px 0px;background-color:#7d5629;position:absolute;left:0px;top:0px;visibility:hidden;}");
  7.  
  8. document.write("a.blueeye_plain:link, a.blueeye_plain:visited, a.blueeye_plain:active{text-align:left;background-color:#7d5629;color:#ffffff;text-decoration:none;border-color:black;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.  
  10. document.write("a.blueeye_plain:hover{background-color:#ff7b00;color:#ffffff;text-decoration:none;border-color:black;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;}");
  11.  
  12. /*document.write("a.blueeye_plain {text-align:left;background-color:#7d5629;color:#ffffff;text-decoration:none;border-color:black;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;}");
  13.  
  14. document.write("a.blueeye_plain:hover{background-color:#ff7b00;color:#ffffff;text-decoration:none;border-color:black;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;}");
  15. */
  16. document.write("\n-->\n");
  17. document.write("</style>");
  18.  
  19. var fc=0xffffff;
  20. var bc=0xff7b00;
  21. if(typeof(frames)=="undefined"){var frames=0;}
  22.  
  23. startMainMenu("blueeye_left.gif",31,31,2,0,0)
  24. mainMenuItem("blueeye_b1",".gif",31,83,"javascript:;","","Home",2,2,"blueeye_plain");
  25. mainMenuItem("blueeye_b2",".gif",31,83,"javascript:;","","Products",2,2,"blueeye_plain");
  26. mainMenuItem("blueeye_b3",".gif",31,83,"javascript:;","","Support",2,2,"blueeye_plain");
  27. mainMenuItem("blueeye_b4",".gif",31,83,"javascript:;","","About",2,2,"blueeye_plain");
  28. endMainMenu("blueeye_right.gif",31,31)
  29.  
  30. startSubmenu("blueeye_b2","blueeye_menu",96);
  31. submenuItem("Xara X  ","http://www.xara.com/products/xarax/","","blueeye_plain");
  32. submenuItem("Xara3D  ","http://www.xara.com/products/xara3D/","","blueeye_plain");
  33. submenuItem("Xara Webstyle  ","http://www.xara.com/products/webstyle/","","blueeye_plain");
  34. endSubmenu("blueeye_b2");
  35.  
  36. loc="";