View Single Post
Sponsorlu Bağlantılar
Zoque.Forum
Advertisement
Old 23.08.2005   #3 (permalink)
graffiSoner
 
Üyelik Tarihi: 29.06.2005
Yer: İstanbul
Yaş: 25
Mesaj: 25
Re: Ekran Çözünürlüğü Algılatma

aslında bi kod buldum ama bu kodu hangi head tag leri arasına yazxcağım konusunda tereddütlerim var

<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>

kod bu bi fikrin varmı
graffiSoner şu an çevrimdışı   Mesajdan alıntı yaparak yeni bir cevap ekleyin