View Single Post
Sponsorlu Bağlantılar
Zoque.Forum
Advertisement
Old 23.03.2005   #3 (permalink)
hiGS
 
hiGS's Avatar
 
Üyelik Tarihi: 10.01.2003
Yer: istanbul
Yaş: 21
Mesaj: 1,058
Görsel: 1
Re: Çözünürlüğe göre yönlendirme

<HTML>
<head>
<script LANGUAGE="JavaScript">
<!-- Begin
function redirectPage() {
var url640x480 = "http://www.isim.com/640x480.HTML";
var url800x600 = "http://www.isim.com/800x600.HTML";
var url1024x768 ="http://www.isim.com/1024x768.HTML";
if ((screen.width == 640) && (screen.height == 480))
window.location.href= url640x480;
else if ((screen.width == 800) && (screen.height == 600))
window.location.href= url800x600;
else if ((screen.width == 1024) && (screen.height == 768))
window.location.href= url1024x768;
else window.location.href= url640x480;
}
// End -->
</script>
</head>
<body OnLoad="redirectPage()">
</body>
</HTML>
__________________
MertGutavPortfolio
hiGS şu an çevrimdışı   Mesajdan alıntı yaparak yeni bir cevap ekleyin