Шаг1: Вставьте данный код между тегами
Code
<STYLE>
#pulldownButton {position: absolute; z-index: 59800; left: 100px; top: 60px;}
#pulldownMenu {position: absolute; z-index: 59900; visibility: hidden; left: 200px; top: 116px;}
</STYLE>
Шаг2: Вставьте следующий код в нужном месте вашей страницы между тегами
Code
<a href="javascript:showHideLayerSwitch('pulldownMenu');">Показать меню</a></p>
<SCRIPT LANGUAGE="JavaScript">
var visibleVar="null";
function init(){
if (navigator.appName == "Netscape") {
layerStyleRef="layer.";
layerRef="document.layers";
styleSwitch="";
visibleVar="show";
}else{
layerStyleRef="layer.style.";
layerRef="document.all";
styleSwitch=".style";
visibleVar="visible";
}
}
function showHideLayerSwitch(layerName){
if (eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility == visibleVar')){
hideLayer(layerName);
}else{
showLayer(layerName);
}
}
function showLayer(layerName){
eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
}
function hideLayer(layerName){
eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');
}
function showLayer1(layerName){
if (eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility == visibleVar')){
showLayer(layerName);
}
}
function hideLayer1(layerName){
if (eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility == visibleVar')){
hideLayer(layerName);
}
}
</SCRIPT>
<div id="pulldownMenu">
<table cellpadding=1 width=300 border=1>
<tr>
<td><b><center>PORTA</center></b></td>
<td><b><center>DIGITA</center></b></td>
<td><b><center>CDA</center></b></td>
</tr>
<tr>
<td><a href=http://www.porta.ru/porta.phtml?from=aligatorw&tp=partner.phtml class=linkint>партнерская программа</a></td>
<td><a href=http://www.digita.ru/porta.phtml?from=aligatorw&tp=partner.phtml class=linkint>партнерская программа</a></td>
<td><a href=http://www.cda.ru/porta.phtml?from=aligatorw&tp=partner.phtml class=linkint>партнерская программа</a></td>
</tr>
<tr>
<td><a href=http://www.porta.ru/porta.phtml?from=aligatorw&tp=cdplayers.htm class=linkint>СD-Плееры</a></td>
<td><a href=http://www.digita.ru/porta.phtml?from=aligatorw&tp=price1.htm class=linkint>Усилители</a></td>
<td><a href=http://www.cda.ru/porta.phtml?from=aligatorw&tp=price1.htm class=linkint>Аудио CD</a></td>
</tr>
<tr>
<td><a href=http://www.porta.ru/porta.phtml?from=aligatorw&tp=mp3players.htm class=linkint>MP3-плееры</a></td>
<td><a href=http://www.digita.ru/porta.phtml?from=aligatorw&tp=price2.htm class=linkint>Акустические системы</a></td>
<td><a href=http://www.cda.ru/porta.phtml?from=aligatorw&tp=price5.htm class=linkint>Мини-диски (MD)</a></td>
</tr>
<tr>
<td><a href=http://www.porta.ru/porta.phtml?from=aligatorw&tp=radio.htm class=linkint>Радиоприемники</a></td>
<td><a href=http://www.digita.ru/porta.phtml?from=aligatorw&tp=price3.htm class=linkint>Минидиск-деки</a></td>
<td><a href=http://www.cda.ru/porta.phtml?from=aligatorw&tp=price4.htm class=linkint>Караоке</a></td>
</tr>
<tr>
<td><a href=http://www.porta.ru/porta.phtml?from=aligatorw&tp=video.htm class=linkint>Видеокамеры</a></td>
<td><a href=http://www.digita.ru/porta.phtml?from=aligatorw&tp=price4.htm class=linkint>CD-деки</a></td>
<td><a href=http://www.cda.ru/porta.phtml?from=aligatorw&tp=price2.htm class=linkint>Видео СD</a></td>
</tr>
<tr>
<td><a href=http://www.porta.ru/porta.phtml?from=aligatorw&tp=pilot.htm class=linkint>Карманные ПК</a></td>
<td><a href=http://www.digita.ru/porta.phtml?from=aligatorw&tp=price8.htm class=linkint>Музыкальные центры</a></td>
<td><a href=http://www.cda.ru/porta.phtml?from=aligatorw&tp=price3.htm class=linkint>DVD Видео</a></td>
</tr>
<tr>
<td><a href=http://www.porta.ru/porta.phtml?from=aligatorw&tp=notebook.htm class=linkint>Ноутбуки</a></td>
<td><a href=http://www.digita.ru/porta.phtml?from=aligatorw&tp=price9.htm class=linkint>Магнитолы</a></td>
<td><a href=http://www.cda.ru/porta.phtml?from=aligatorw&tp=sale.htm class=linkint>Распродажа</a></td>
</tr>
</table>
</div>
Шаг3: Вставьте код onload="init()" в тег
, пример:
Code
<body onload="init()">