

<?php #============================== # tytul lewego okienka menu #============================== function left_menu_title_open() { echo '<table align=\"center\" bgcolor=\"#bbbbbb\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\"> <tr> <td> <table align=\"center\" width=\"100%\" cellspacing=\"0\" cellpadding=\"2\" border=\"0\" bgcolor=\"#D1D7DC\"> <tr> <td> <table align=\"center\" bgcolor=\"#bbbbbb\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\"> <tr> <td> <table align=\"center\" bgcolor=\"#ECEFF0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"> <tr> <td> <table align=\"center\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"> <tr> <td class=\"title\" background=\"theme/'.$color[3].'/gfx/menu_bg.gif\"><b><center>'; } function left_menu_title_close() { echo '</td> </tr> <td background=\"theme/'.$color[3].'/gfx/poz.gif\"><img SRC=\"theme/'.$color[3].'/gfx/separ.gif\" width=\"1\" height=\"1\"></td> </tr> '; } #============================== # end: tytul lewego okienka menu #============================== #============================== # tresc lewego okienka menu #============================== function left_menu_text_open() { echo '<tr> <td class=\"block\" style=\"background-image: url(theme/'.$color[3].'/gfx/menu_bg_.gif); background-repeat: repeat-x; background-position: bottom\">'; } function left_menu_text_close() { echo ' </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table><img SRC=\"theme/'.$color[3].'/gfx/separ.gif\" width=\"1\" height=\"7\">'; } ?>
Kod
function onColor(blah){blah.style.backgroundColor='#E4E583';}function offColor(blah){blah.style.backgroundColor='#D6D852';}
document.write("<table border='0' width='100%' cellspacing='3' cellpadding='0'>");
document.write("<tr><td width='100%' align='center'>");
document.write("<table border='0' width='100%' cellspacing='1' class='table0' cellpadding='0'>");
document.write("<tr><td class='m'>..::Menu::..");
document.write("</td></tr>");
document.write("<tr><td onmouseover=onColor(this); onmouseout=offColor(this); class=m>");
document.write("<a class=m1 href='index.php'>Strona Główna</a>");
document.write("</td></tr>");
document.write("</table>");
document.write("</td></tr></table>");
I nie wiem jak mam zrobic zeby te menu bylo polaczone z java script document.write("<table border='0' width='100%' cellspacing='3' cellpadding='0'>");
document.write("<tr><td width='100%' align='center'>");
document.write("<table border='0' width='100%' cellspacing='1' class='table0' cellpadding='0'>");
document.write("<tr><td class='m'>..::Menu::..");
document.write("</td></tr>");
document.write("<tr><td onmouseover=onColor(this); onmouseout=offColor(this); class=m>");
document.write("<a class=m1 href='index.php'>Strona Główna</a>");
document.write("</td></tr>");
document.write("</table>");
document.write("</td></tr></table>");


zeby zobaczyc jak ten kod java script dziala na html kliknijcieTu .... to jest moja stara strona
