JavaScript Menu
Ще ви дам едно много добро меню с Javascript!

Има няколко файла но ще трябва да си изтеглите и някои картинки.


Първия файл се слага в index-a


<HTML>

<!-- BEGIN: PLEASE INSERT THESE CODES BETWEEN <HEAD> ... </HEAD> TAGS! -->

<LINK REL=stylesheet HREF="awjsoutline10.css">

<!-- END: PLEASE INSERT THESE CODES BETWEEN <HEAD> ... </HEAD> TAGS! -->

<body>

<!-- BEGIN: PLEASE INSERT THESE CODES BETWEEN <BODY> ... </BODY> TAGS! -->
<!-- START Javascript Outline Builder 1.0 config parameters. Don't modify these codes by yourself -->

<script language="JavaScript1.2" src="awjsoutline10_trial.js"></script>
<span id="OutlineAll"><span id="OutlineMenu"><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><img id="OutlineMenuBox" src="rtBnk.gif" width="16" height="16" border="0"></td><td nowrap><span id="OutlineMenuNode">Name na butona</span></td></tr></table><span id="OutlineMenuBody"><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><table border="0" cellpadding="0" cellspacing="0" height="100%" background="brh.gif"><tr valign="top"><td><img src="lf.gif" width="16" height="16" border="0"></td></tr></table></td><td class="OutlineItem" nowrap><a id="OutlineItem" onFocus="blur()" href="dobavete url" target="_self" onMouseOver="window.status='';return true" onMouseOut="window.status='';return true">imeto na butona</a></td></tr></table><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><table border="0" cellpadding="0" cellspacing="0" height="100%" background="brh.gif"><tr valign="top"><td><img src="lf.gif" width="16" height="16" border="0"></td></tr></table></td><td class="OutlineItem" nowrap><a id="OutlineItem" onFocus="blur()" href="dobavete url" target="_self" onMouseOver="window.status='';return true" onMouseOut="window.status='';return true">Name na butona</a></td></tr></table><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><img src="lfEd.gif" width="16" height="16" border="0"></td><td class="OutlineItem" nowrap><a id="OutlineItem" onFocus="blur()" target="_self" onMouseOver="window.status='';return true" onMouseOut="window.status='';return true">Name na butona</a></td></tr></table></span></span><span id="OutlineMenu"><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><img id="OutlineMenuBox" src="rtBnk.gif" width="16" height="16" border="0"></td><td nowrap><span id="OutlineMenuNode">Name na butona</span></td></tr></table><span id="OutlineMenuBody"><span id="OutlineMenu"><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><table border="0" cellpadding="0" cellspacing="0" height="100%" background="brh.gif"><tr valign="top"><td><img id="OutlineMenuBox" src="ndBnk.gif" width="16" height="16" border="0"></td></tr></table></td><td nowrap><span id="OutlineMenuNode">Name na butona</span></td></tr></table><span id="OutlineMenuBody"><span id="OutlineMenu"><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><table border="0" cellpadding="0" cellspacing="0" height="100%" background="brh.gif"><tr valign="top"><td><img src="brh.gif" width="16" height="16" border="0"></td></tr></table></td><td><img id="OutlineMenuBox" src="ndBnkEd.gif" width="16" height="16" border="0"></td><td nowrap><span id="OutlineMenuNode">Name na butona</span></td></tr></table><span id="OutlineMenuBody"><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><table border="0" cellpadding="0" cellspacing="0" height="100%" background="brh.gif"><tr valign="top"><td><img src="brh.gif" width="16" height="16" border="0"></td></tr></table></td><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><table border="0" cellpadding="0" cellspacing="0" height="100%" background="brh.gif"><tr valign="top"><td><img src="lf.gif" width="16" height="16" border="0"></td></tr></table></td><td class="OutlineItem" nowrap><a id="OutlineItem" onFocus="blur()" href="dobavete url" target="_self" onMouseOver="window.status='';return true" onMouseOut="window.status='';return true">Name na butona</a></td></tr></table><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><table border="0" cellpadding="0" cellspacing="0" height="100%" background="brh.gif"><tr valign="top"><td><img src="brh.gif" width="16" height="16" border="0"></td></tr></table></td><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><table border="0" cellpadding="0" cellspacing="0" height="100%" background="brh.gif"><tr valign="top"><td><img src="lf.gif" width="16" height="16" border="0"></td></tr></table></td><td class="OutlineItem" nowrap><a id="OutlineItem" onFocus="blur()" href="dobavete url" target="_self" onMouseOver="window.status='';return true" onMouseOut="window.status='';return true">Name na butona</a></td></tr></table><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><table border="0" cellpadding="0" cellspacing="0" height="100%" background="brh.gif"><tr valign="top"><td><img src="brh.gif" width="16" height="16" border="0"></td></tr></table></td><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><table border="0" cellpadding="0" cellspacing="0" height="100%" background="brh.gif"><tr valign="top"><td><img src="lf.gif" width="16" height="16" border="0"></td></tr></table></td><td class="OutlineItem" nowrap><a id="OutlineItem" onFocus="blur()" href="dobavete url" target="_self" onMouseOver="window.status='';return true" onMouseOut="window.status='';return true">Name na butona</a></td></tr></table><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><table border="0" cellpadding="0" cellspacing="0" height="100%" background="brh.gif"><tr valign="top"><td><img src="brh.gif" width="16" height="16" border="0"></td></tr></table></td><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><img src="lfEd.gif" width="16" height="16" border="0"></td><td class="OutlineItem" nowrap><a id="OutlineItem" onFocus="blur()" href="dobavete url" target="_self" onMouseOver="window.status='';return true" onMouseOut="window.status='';return true">Name na butona</a></td></tr></table></span></span></span></span><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><img src="bnk.gif" width="16" height="16" border="0"></td><td><img src="lfEd.gif" width="16" height="16" border="0"></td><td class="OutlineItem" nowrap><a id="OutlineItem" onFocus="blur()" href="dobavete url" target="_self" onMouseOver="window.status='';return true" onMouseOut="window.status='';return true">Name na butona</a></td></tr></table></span></span></span><script language="JavaScript1.2">AWDmNbspm.AWDMNbspm=0;AWDmNbspm.awDmnBspm='Open Menu';AWDmNbspm.awdMnBspm='Close Menu';AWDmNbspm.awDmnbSpm();</script>


Второто е JS файл:
Запишете го като awjsoutline10_trial.js

function awdmnbspm(){this.Awdmnbspm=navigator.appVersion;this.aWdmnbspm=
navigator.userAgent;this.awDmnbspm=document.getElementById?1:0;this.awdMnbspm=
(this.Awdmnbspm.indexOf("MSIE 6")>-1 && this.awDmnbspm)?1:0;this.AWdmnbspm=
(this.Awdmnbspm.indexOf("



Трето е css
Запишете го като awjsoutline10.css :


BODY
{
BACKGROUND-COLOR:white;
MARGIN:0pt;
FONT-FAMILY:Verdana,Arial,sans-serif;
FONT-SIZE:11px;
COLOR:black
}

TD
{
FONT-FAMILY:Verdana,Arial,sans-serif;
FONT-SIZE:11px;
COLOR:black
}

IMG
{
FONT-FAMILY:Verdana,Arial,sans-serif;
FONT-SIZE:11px;
COLOR:black
}

A
{
TEXT-DECORATION:none
}

A:link
{
COLOR:black;
}

A:visited
{
COLOR:black;
}

A:hover
{
COLOR:red;
TEXT-DECORATION:underline
}





/ Трябва да сте регистриран за да напишете коментар /