Niewiem czy to rozwiąże sprawę, ale... masz kod z mojej stronki, możesz podglądnąć jak to 'chodzi':
//Nav Links
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%' ><tr><td width='39'><table height='39' cellSpacing='0' cellPadding='0' width='78' border='0'><tr>";
echo "<td><a onmouseover=\"MM_swapImage('Image1','','".THEME."images/portal_on.gif',1)\" onmouseout='MM_swapImgRestore()' href='".BASEDIR."index.php'><img src='".THEME."images/portal.gif' name='Image1'></a>";
echo "</td></tr></table></td>";
echo "<td width='39'><table height='39' cellSpacing='0' cellPadding='0' width='78' border='0'><tr>";
echo "<td><a onmouseover=\"MM_swapImage('Image2','','".THEME."images/strona szkoly_on.gif',1)\" onmouseout='MM_swapImgRestore()' href='http://republika.pl/gimboguchwala/' target='_blank'><img src='".THEME."images/strona szkoly.gif' name='Image2'></a>";
echo "</td></tr></table></td>";
echo "<td width='39'><table height='39' cellSpacing='0' cellPadding='0' width='78' border='0'><tr>";
echo "<td><a onmouseover=\"MM_swapImage('Image3','','".THEME."images/gallery_on.gif',1)\" onmouseout='MM_swapImgRestore()' href='".BASEDIR."photogallery.php'><img src='".THEME."images/gallery.gif' name='Image3'></a>";
echo "</td></tr></table></td>";
echo "<td width='39'><table height='39' cellSpacing='0' cellPadding='0' width='78' border='0'><tr>";
echo "<td><a onmouseover=\"MM_swapImage('Image4','','".THEME."images/plan lekcji_on.gif',1)\" onmouseout='MM_swapImgRestore()' href='http://3d-gimbog.ovh.org/viewpage.php?page_id=3'><img src='".THEME."images/plan lekcji.gif' name='Image4'></a>";
echo "</td></tr></table></td>";
echo "<td width='39'><table height='39' cellSpacing='0' cellPadding='0' width='78' border='0'><tr>";
echo "<td><a onmouseover=\"MM_swapImage('Image5','','".THEME."images/downloads_on.gif',1)\" onmouseout='MM_swapImgRestore()' href='".BASEDIR."downloads.php'><img src='".THEME."images/downloads.gif' name='Image5'></a>";
echo "</td></tr></table></td>";
echo "<td width='39'><table height='39' cellSpacing='0' cellPadding='0' width='78' border='0'><tr>";
echo "<td><a onmouseover=\"MM_swapImage('Image6','','".THEME."images/linki_on.gif',1)\" onmouseout='MM_swapImgRestore()' href='".BASEDIR."weblinks.php'><img src='".THEME."images/linki.gif' name='Image6'></a>";
echo "</td></tr></table></td>";
if (isset($stype)) $stype = $stype;
if (isset($stext)) $stext = stripinput($stext);
if (!isset($stype)) $stype = isset($_POST['stype']) ? $_POST['stype'] : "f";
if (!isset($stext)) $stext = isset($_POST['stext']) ? $_POST['stext'] : "";
echo "<td width='39'><table height='39' cellSpacing='0' cellPadding='0' width='78' border='0'><tr>";
echo "<td><a onmouseover=\"MM_swapImage('Image7','','".THEME."images/search_on.gif',1)\" onmouseout='MM_swapImgRestore()' href=\"javascript:;\"><img onclick=\"return !showMenu('1', event);\" src='".THEME."images/search.gif' name='Image7'/></a><div id='wv_menu1' onclick='event.cancelBubble = true;'>";
echo "<div style='position:absolute; left:35px; top:2px; z-index:1;'>";
echo "<form action='".BASEDIR."search.php' method='post'>";
echo "<div style='position:absolute; left:20px; top:1px; z-index:1;'><b>";
echo "<input type='textbox' value='Szukane słowo...' name='stext' class='textbox' style='width:130px' onBlur=\"if(this.value=='') this.value='Szukane słowo...';\" onFocus=\"if(this.value=='Szukane słowo...') this.value='';\">";
echo "<input type='radio' name='stype' value='n'".($stype == "n" ? " checked" : "")."> ".$locale['403']."";
echo "<input type='radio' name='stype' value='d'".($stype == "d" ? " checked" : "")."> ".$locale['405']."";
echo "<input type='radio' name='stype' value='w'".($stype == "w" ? " checked" : "")."> ".$locale['406']."";
echo "<input type='radio' name='stype' value='m'".($stype == "m" ? " checked" : "")."> ".$locale['407']."";
echo "</b></div>";
echo "<div style='position:absolute; left:-30px; z-index:1;'>";
echo "<input title='Kliknij, aby rozpoczać szukanie' alt='Kliknij, aby rozpoczać szukanie' style='border:0px;background-color:transparent;' vspace='7' type='image' src='".THEME."images/search_small.gif' value='Search' />";
echo "</div></form></div></div></div>";
echo "</td></tr></table></td>";
//Nav Links End
|