home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2004 March / PCWMAR04.iso / Sponsors / Xara / graphics / whatsnew / klass2b.js < prev    next >
Encoding:
Text File  |  2002-10-10  |  2.2 KB  |  40 lines

  1. if(typeof(loc)=="undefined"||loc==""){var loc="";if(document.body){var tt=document.body.innerHTML.toLowerCase();var last=tt.indexOf("klass2b.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. document.write("<style type=\"text/css\">");
  4. document.write("\n<!--\n");
  5. document.write(".klass2b_menu {border-color:black;border-style:solid;border-width:0px 0px 0px 0px;background-color:#643f91;position:absolute;left:0px;top:0px;visibility:hidden;}");
  6. document.write(".klass2b_plain {text-align:left;background-color:#643f91;border-color:black;border-style:solid;border-width:0px 0px 0px 0px;padding:2px 0px 2px 0px;color:#ffffff;cursor:hand;display:block;font-family:Arial, Helvetica, sans-serif;font-size:10pt;text-decoration:none;}");
  7. document.write(".klass2b_plain:hover{background-color:#a19ef3;color:#000000;}");
  8. document.write("\n-->\n");
  9. document.write("</style>");
  10.  
  11. var fc=0x000000;
  12. var bc=0xa19ef3;
  13. if(typeof(frames)=="undefined"){var frames=0;if(frames>0)animate();}
  14.  
  15. startMainMenu("klass2b_top.gif",18,83,1,0,0)
  16. mainMenuItem("klass2b_b1",".gif",23,83,"javascript:;","","Home",1,2,"klass2b_plain");
  17. mainMenuItem("klass2b_b2",".gif",23,83,"javascript:;","","Products",1,2,"klass2b_plain");
  18. mainMenuItem("klass2b_b3",".gif",23,83,"javascript:;","","Downloads",1,2,"klass2b_plain");
  19. mainMenuItem("klass2b_b4",".gif",23,83,"javascript:;","","Links",2,2,"klass2b_plain");
  20. endMainMenu("klass2b_bottom.gif",18,83)
  21.  
  22. startSubmenu("klass2b_b3","klass2b_menu",84);
  23. submenuItem("Sub Menu 1","javascript:;","","klass2b_plain");
  24. submenuItem("Sub Menu 2","javascript:;","","klass2b_plain");
  25. endSubmenu("klass2b_b3");
  26.  
  27. startSubmenu("klass2b_b2","klass2b_menu",84);
  28. submenuItem("Sub Menu 1","javascript:;","","klass2b_plain");
  29. submenuItem("Sub Menu 2","javascript:;","","klass2b_plain");
  30. submenuItem("Sub Menu 3","javascript:;","","klass2b_plain");
  31. submenuItem("Sub Menu 4","javascript:;","","klass2b_plain");
  32. endSubmenu("klass2b_b2");
  33.  
  34. startSubmenu("klass2b_b1","klass2b_menu",84);
  35. submenuItem("Sub Menu 1","javascript:;","","klass2b_plain");
  36. submenuItem("Sub Menu 2","javascript:;","","klass2b_plain");
  37. endSubmenu("klass2b_b1");
  38.  
  39. loc="";
  40.