<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1251">
<title></title>
</head>
<body>
<style>
.div {
position:absolute;
left:-200px;
top:-1000px;
z-index:100;
}
</style>
<script language=javaScript>
function wiew_sub(nm, code)
{
document.getElementById(nm).innerHTML= document.getElementById(code).innerHTML;
}
function hide_sub(nm,nameHide,e) {
var ns = (navigator.appName.indexOf('Netscape')>-1);
var ie = (navigator.appName.indexOf('Microsoft Internet E[plorer')>-1);
if (ns)
{
var srcElement = e.target;
}
else
{
var srcElement = event.toElement;
}
//document.getElementById(nameHide).innerHTML = '';
}
</script>
<div id="hide2" class="div"><table><tr><td> <img src="images/arrow_w.gif" width="3" height="5" name="sm2_img2"> <a href="#" class="smmenu" >Âåðõíÿÿ îäåæäà!!</a><br> <img src="images/arrow_w.gif" width="3" height="5" name="sm2_img2"> <a href="#" class="smmenu" >Çèìíÿÿ!</a><br></td></tr></table></div><div id="hide3" class="div"><table><tr><td> <img src="images/arrow_w.gif" width="3" height="5" name="sm2_img2"> <a href="#" class="smmenu" >êóðòê³</a><br></td></tr></table></div><div id="hide1" class="div"><table><tr><td>
<img src="images/sm1_arrow_w.gif" width="4" height="4" name="sm1_img1">
<a onMouseOver=ChangeImg("sm1_img1","images/sm1_arrow_y.gif") onMouseOut=ChangeImg("sm1_img1","images/sm1_arrow_w.gif") href="#" class="smmenu" >test!</a></td></tr><tr><td><!-- sub_parent 2 --><div id="sub_parent" onMouseOver=wiew_sub("div2","hide2"); onMouseOut="hide_sub(this,'div2',event)"; >
<img src="images/sm1_arrow_w.gif" width="4" height="4" name="sm1_img2">
<a onMouseOver=ChangeImg("sm1_img2","images/sm1_arrow_y.gif") onMouseOut=ChangeImg("sm1_img2","images/sm1_arrow_w.gif") href="#" class="smmenu" >Æåíñêàÿ</a></div><!-- end_sub_parent 2 --></td></tr><tr><td>
<div id="div2" >
</div>
</td></tr>
<tr><td><!-- sub_parent 3 --><div id="sub_parent" onMouseOver=wiew_sub("div3","hide3"); onMouseOut="hide_sub(this,'div3',event)"; >
<img src="images/sm1_arrow_w.gif" width="4" height="4" name="sm1_img3">
<a onMouseOver=ChangeImg("sm1_img3","images/sm1_arrow_y.gif") onMouseOut=ChangeImg("sm1_img3","images/sm1_arrow_w.gif") href="#" class="smmenu" >Äåòñêàÿ</a></div><!-- end_sub_parent 3 --></td></tr><tr><td>
<div id="div3" >
</div>
</td></tr>
<tr><td>
<img src="images/sm1_arrow_w.gif" width="4" height="4" name="sm1_img4">
<a onMouseOver=ChangeImg("sm1_img4","images/sm1_arrow_y.gif") onMouseOut=ChangeImg("sm1_img4","images/sm1_arrow_w.gif") href="#" class="smmenu" >Ìóæñêàÿ!</a></td></tr></table></div><div id="hide4" class="div"><table><tr><td>
<img src="images/sm1_arrow_w.gif" width="4" height="4" name="sm1_img1">
<a onMouseOver=ChangeImg("sm1_img1","images/sm1_arrow_y.gif") onMouseOut=ChangeImg("sm1_img1","images/sm1_arrow_w.gif") href="#" class="smmenu" >test ñíàðÿæåíèå</a></td></tr></table></div><table width="780" height="100%" border="1" align="center" bgcolor="#2B2B2B" cellpadding="0" cellspacing="0">
<tr><td colspan="3" height="15"><img src="images/spacer.gif" height="15"></td></tr>
<tr>
<!-- BEGIN left block -->
<td width="205" valign="top">
<table width="193" height="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr><td valign="top" height="94"> <img src="images/logo.jpg" width="123" height="94" alt="Salewa"></td></tr>
<tr><td height="23"><img src="images/spacer.gif" height="23"></td></tr>
<tr><td bgcolor="#3A3A3A" height="1"><img src="images/spacer.gif" height="1"></td></tr>
<tr><td valign="top">
<table width="151" border="0" cellpadding="0" cellspacing="0" align="center">
<tr><td height="26" valign="middle" >
<img src="images/m_arrow_w.gif" width="5" height="5" vspace="2" name="img1">
<a onMouseOut=ChangeImg("img1","images/m_arrow_w.gif"); onMouseOver=ChangeImg("img1","images/m_arrow_y.gif"); href="index.php?patch=2&fid=1" class="mmenu" >Íîâîñòè!</a></td></tr>
<tr><td bgcolor="#3A3A3A"><img src="images/spacer.gif" height="1"></td></tr>
<tr><td height="26" valign="middle" >
<img src="images/m_arrow_w.gif" width="5" height="5" vspace="2" name="img2">
<a onMouseOut=ChangeImg("img2","images/m_arrow_w.gif"); onMouseOver=ChangeImg("img2","images/m_arrow_y.gif"); href="index.php?patch=3&id=2&fid=2" class="mmenu" >Î êîìïàíèè</a></td></tr>
<tr><td bgcolor="#3A3A3A"><img src="images/spacer.gif" height="1"></td></tr>
<tr><td height="26" valign="middle" ><!-- parent 1 --><div id="parent" onMouseOver=wiew_sub("div1","hide1"); onMouseOut="hide_sub(this, 'div1', event)">
<img src="images/m_arrow_w.gif" width="5" height="5" vspace="2" name="img3">
<a onMouseOut=ChangeImg("img3","images/m_arrow_w.gif"); onMouseOver=ChangeImg("img3","images/m_arrow_y.gif"); href=# class="mmenu" >Îäåæäà</a></div><!-- end_parent 1 --></td></tr>
<tr><td>
<div id="div1" onMouseOver=wiew_sub("div1","hide1"); onMouseOut="hide_sub(this, 'div1', event)" >
</div>
</td></tr>
<tr><td bgcolor="#3A3A3A"><img src="images/spacer.gif" height="1"></td></tr>
<tr><td height="26" valign="middle" ><!-- parent 4 --><div id="parent" onMouseOver=wiew_sub("div4","hide4"); onMouseOut="hide_sub(this, 'div4', event)">
<img src="images/m_arrow_w.gif" width="5" height="5" vspace="2" name="img4">
<a onMouseOut=ChangeImg("img4","images/m_arrow_w.gif"); onMouseOver=ChangeImg("img4","images/m_arrow_y.gif"); href=# class="mmenu" >Ñíàðÿæåíèå</a></div><!-- end_parent 4 --></td></tr>
<tr><td>
<div id="div4">
</div>
</td></tr>
<tr><td bgcolor="#3A3A3A"><img src="images/spacer.gif" height="1"></td></tr>
<tr><td height="26" valign="middle" >
<img src="images/m_arrow_w.gif" width="5" height="5" vspace="2" name="img5">
<a onMouseOut=ChangeImg("img5","images/m_arrow_w.gif"); onMouseOver=ChangeImg("img5","images/m_arrow_y.gif"); href="index.php?patch=3&id=24&fid=24" class="mmenu" >Ñûëêè</a></td></tr>
</table>
</td></tr>
<tr><td bgcolor="#3A3A3A" height="1"><img src="images/spacer.gif" height="1"></td></tr>
<tr><td height="100%"> </td></tr>
<tr><td height="40"><font class="copy"><b> Copyright</b> © 2006 Salewa.<br> Âñå ïðàâà çàùèùåíû<br><br> <b>Ðàçðàáîòêà è ïîääåðæêà:</b><br> </a></font></td></tr>
</table>
</body>
</html>
-~{}~ 17.10.06 11:12:
код страницы результат генерации php скрипта
sunchess спасибо за ссылку, вроде похожее, надо разобратся.
В динамике если навести на одежда - не происходит вызов функции wiew_sub(), и не подскажите как лучше сделать чтобы развернутый слой при навидении мишки не прятался??