Vertikální menu pomocí obrázků - ukázka zdrojového kódu zdrojový kód

<HTML>
<title>Java Script ze stránky - www.jaknaweb.com</title>
<HEAD>
<SCRIPT LANGUAGE = "JavaScript">

<!--
     var whichB = navigator.appName;
     var versionB = navigator.appVersion;

     function decide() {
          if (whichB == "Netscape" || (whichB == "Microsoft Internet Explorer" && parseFloat(versionB) >= 4)) {
               fireUp();
               }
          else { otherFireup (); }
          }

function fireUp() {
        var ignite = window.open("recon/","ReCon","width=475,height=330,resize=no");
        }

function otherFireup() {
        var ignite = window.open("reconx/","ReCon","width=475,height=330,resize=no");
        }
//-->

</SCRIPT> 
<SCRIPT LANGUAGE = "JavaScript">

<!--
  conBrowser=0;
  function display(stuff) { window.status = stuff; }
//-->

</SCRIPT>
<SCRIPT LANGUAGE = "JavaScript1.1">

<!--
  conBrowser=1; 
          toc1on = new Image(47, 197); toc1on.src = "art2.gif";
         toc3on = new Image(47, 197); toc3on.src = "awa2.gif";
    toc5on = new Image(47, 197); toc5on.src = "chat2.gif";
    toc14on = new Image(47, 197); toc14on.src = "links2.gif";  
    toc15on = new Image(47, 197); toc15on.src = "mail2.gif";  
    toc16on = new Image(47, 197); toc16on.src = "news2.gif";  
    toc17on = new Image(47, 197); toc17on.src = "pic2.gif";  
    toc20on = new Image(47, 197); toc20on.src = "email2.gif";  
    
    toc1off = new Image(47, 197); toc1off.src = "art.gif";
    toc2off = new Image(47, 197); toc2off.src = "club.gif";
    toc3off = new Image(47, 197); toc3off.src = "awa.gif";
    toc5off = new Image(47, 197); toc5off.src = "chat.gif";
    toc14off = new Image(47, 197); toc14off.src = "links.gif";  
    toc15off = new Image(47, 197); toc15off.src = "mail.gif";  
    toc16off = new Image(47, 197); toc16off.src = "news.gif";  
    toc17off = new Image(47, 197); toc17off.src = "pic.gif";  
    toc20off = new Image(47, 197); toc20off.src = "email.gif";  
//-->
</SCRIPT>
<SCRIPT LANGUAGE = "JavaScript">

<!--
  function HighLight(musswitch) {
        if (conBrowser) {
                switchnavn = eval(musswitch + "on");
                document [musswitch].src = switchnavn.src;
                }
        }

function UndoHighLight(musswitch) {
        if (conBrowser) {
                switchnavn = eval(musswitch + "off");
                document [musswitch].src = switchnavn.src;
                }
        }
//-->
</SCRIPT>
</head>
<body bgcolor="#000000">
<center>
<A HREF="x.htm" 
onMouseover="HighLight('toc1'); display('Links to 400 related articles'); return true;"  
onMouseout ="UndoHighLight('toc1'); display('');" TARGET=front.htm>
<IMG NAME="toc1" SRC="art.gif" BORDER="0" width="113" height="16"></A>
<BR>
<A HREF="award.htm" 
onMouseover="HighLight('toc3'); display('My awards so far'); return true;" 
onMouseout ="UndoHighLight('toc3'); display('');" TARGET=front.htm>
<IMG NAME="toc3" SRC="awa.gif" BORDER="0" width="113" height="16"></A>
<BR>
<A HREF="x.htm" 
onMouseover="HighLight('toc5'); display('Chat'); return true;"
onMouseout ="UndoHighLight('toc5'); display('');" TARGET=front.htm>
<IMG NAME="toc5" SRC="chat.gif" BORDER="0" width="113" height="16"></A>
<BR>
<A HREF="x.htm" 
onMouseover="HighLight('toc14'); display('Links'); return true;"
onMouseout ="UndoHighLight('toc14'); display('');" TARGET=front.htm>
<IMG NAME="toc14" SRC="links.gif" BORDER="0" width="113" height="16"></A>
<BR>
<A HREF="x.htm" 
onMouseover="HighLight('toc15'); display('Links to mail lists'); return true;"
onMouseout ="UndoHighLight('toc15'); display('');" TARGET=front.htm>
<IMG NAME="toc15" SRC="mail.gif" BORDER="0" width="113" height="16"></A>
<BR>
<A HREF="x.htm" 
onMouseover="HighLight('toc16'); display('Links to newsgroups'); return true;"
onMouseout ="UndoHighLight('toc16'); display('');" TARGET=front.htm>
<IMG NAME="toc16" SRC="news.gif" BORDER="0" width="113" height="16"></A>
<BR>
<A HREF="x.htm" 
onMouseover="HighLight('toc17'); display('Picture Gallary'); return true;"
onMouseout ="UndoHighLight('toc17'); display('');" TARGET=front.htm>
<IMG NAME="toc17" SRC="pic.gif" BORDER="0" width="113" height="16"></A>
<P>
<A HREF="mailto:admin@www.jaknaweb.com"
onMouseover="HighLight('toc20'); display('E-mail me!'); return true;"
onMouseout ="UndoHighLight('toc20'); display('');" TARGET=front.htm>
<IMG NAME="toc20" SRC="email.gif" BORDER="0" width="113" height="16"></A>
</center>


</BODY>
</HTML>
Vložil/Poslal/Autor: Admin
Funkčnost: správná funkčnost testována v IE 6 a Firefoxu
zavřít okno | jít na hlavní stránku JakNaWeb.com