IN HEAD insert code:
<script
type="text/javascript" language="javascript">
<!-- defaultStatus="www.twoj_adres.pl/";
//-->
</script>
Now the link, which will hide the path we add :
<a
onmouseover="window.status='tekst_pokazujący_się_zamiast_ścieżki_linku';
return true" href="http://www.prawdziwy_adres_linku.pl"
onmouseout="window.status=''return true; ";> link</a>
PAGE
DEPENDING ON THE RESOLUTION
Create files "640x480.php", "800x600.php", "1024x768.php",
"1280x1024.php" and "1280x1024.php"
<script
language="javascript">
<!--
function przejdz()
{
var W = screen.width;
var H = screen.height;
if (W == 640 && H == 480) {
document.location = "640x480.php"; }
else if (W == 800 && H == 600) {
document.location = "800x600.php"; }
else if (W == 1024 && H == 768) {
document.location = "1024x768.php"; }
else if (W == 1280 && H == 1024) {
document.location = "1280x1024.php"; }
else { document.location = "inna_rozdzielczosc.php"; }
}
//-->
</script>
As you can see the code is simple and boils down to use if and else conditions. We define the variable "W" as "screen.width" and "H" as "screen.height" (ie, speaking in Polish is defined as "the" height of the screen, and the "H" represents the width). Then, depending on the resolution attach the specified file.
If the user will have a different resolution than standard-definition screen, the script will redirect it to the "inna_rozdzielczość.php".