home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 May / CMCD0504.ISO / Software / Shareware / Programare / turboVB / TurboVB.chm / contents / browser.js < prev    next >
Encoding:
Text File  |  2004-03-23  |  964 b   |  39 lines

  1. function CheckBrowser() {
  2.     
  3.     if (navigator.appName=="Microsoft Internet Explorer") {
  4.         document.write("<H2 class=TitlePosition> ");
  5.     } 
  6.     else {
  7.         document.write("<H2 class=TitleNSPosition> ");
  8.     }
  9. }
  10.  
  11. function CheckBrowser2Icon() {
  12.     
  13.     if (navigator.appName=="Microsoft Internet Explorer") {
  14.         document.write("<H2 class=Title2Position> ");
  15.     } 
  16.     else {
  17.         document.write("<H2 class=TitleNS2Position> ");
  18.     }
  19. }
  20.  
  21. function CheckBrowserIndex() {
  22.     
  23.     if (navigator.appName=="Microsoft Internet Explorer") {
  24.         document.write("<H2 class=IndexPosition> ");
  25.     } 
  26.     else {
  27.         document.write("<H2 class=IndexNSPosition> ");
  28.     }
  29. }
  30.  
  31. function CheckBrowserIcon() {
  32.     
  33.     if (navigator.appName=="Microsoft Internet Explorer") {
  34.         document.write("<H2 class=TitleIconPosition> ");
  35.     } 
  36.     else {
  37.         document.write("<H2 class=TitleIconNSPosition> ");
  38.     }
  39. }