Tu można to zobaczyć, wejdźcie w menu
<?php include "antet.php"; include "func.php"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" src="resizeIframe.js"></script> </head> <body style="background-image: url(tlo.jpg); background-position: center; background-attachment: fixed; background-repeat: no-repeat;" bgcolor="yellow"> <table width="750" cellspacing="0" cellpadding="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td colspan="2" bgcolor="#808080"> <img src="negative/logo.gif" width="750" height="200" border="0" quality="high" /></td> </tr> <tr> <td width="100" valign="top" bgcolor="#95743e"> <table width="200" cellspacing="0" cellpadding="5"> <tr> <td style="background-image: url('menu.png'); width: 200px; height: 278px;"><p style="margin-left: 30px; text-align:inherit;"><?php menu_up(); ?></p></td> </tr> </table> <br /> </td> <td valign="top" bgcolor="#95743e"> <table width="510" cellspacing="0" cellpadding="0" align="center" style="height: 100%; margin-top:5px"> <tr> <td valign="middle" bgcolor="#95743e" background="tresc_naglowek.gif" style="height: 15px"></td> </tr> <tr> <td height="100%" height="100%" valign="middle" bgcolor="#95743e" background="tresc.gif"> <iframe src="glowna.php" name="glowna" onload="resizeIframe(this)" width="100%" frameborder="0"></iframe> </td> </tr> <tr> <td height="100%" height="100%" valign="middle" bgcolor="#95743e" background="tresc_dol.gif"> </td> </tr> </table> </td> </tr> <tr> <td colspan="2" align="center" bgcolor="#808080"> <table width="100%" cellspacing="0" cellpadding="3"> <tr> <td align="center" valign="middle" bgcolor="#95743e"><p style="text-align: right;"><?php menu_down(); ?></p></td> </tr> </table> </td> </tr> </table> <?php about(); ?> </body> </html>
Treść skryptu:
function resizeIframe(x){try{x.scrolling='no',x.style.height=x.contentWindow.document.body.scrollHeight+30+'px'}catch(x){}}
Domyślam się, że trzeba coś zrobić w linkach w menu, są one zaincludowane z antet.php i wyglądają tak:
<?php function menu_up() { { $loc=town_xy($_GET["town"]); $map_lnk="<a class='q_link' target='glowna' href='pliki/map.php?x=".$loc[0]."&y=".$loc[1]."'><b>M</b>apa</a>"; } else $map_lnk="<a class='q_link' target='glowna' href='pliki/map.php?x=0&y=0'><b>M</b>apa</a><br>"; <a class='q_link' target='glowna' href='pliki/register.php'><b>R</b>ejestracja</a><br> "; echo $map_lnk." <a class='q_link' href='http://www.kapolithgra.fora.pl' target='_blank'><b>F</b>orum</a><br> <a class='q_link' target='glowna' href='pliki/about.php'><b>O</b> Grze</a><br> "; } ?>
PS: To devana ;].