selektierte seitenauswahl aufgrund der auflösung

Bloged in Code Snippets von melistik Montag September 18, 2006
JavaScript:
  1. <script language="JavaScript1.2">
  2. <!--
  3. if (screen.width==800||screen.height==600)
  4. window.location.replace("http://www.domain.de/index800.html")
  5. else if (screen.width==640||screen.height==480)
  6. window.location.replace("http://www.domain.de/index640.html")
  7. else if (screen.width==1024||screen.height==768)
  8. window.location.replace("http://www.domain.de/index1024.html")
  9. else if (screen.width==1280||screen.height==1024)
  10. window.location.replace("http://www.domain.de/index1280.html")
  11. else
  12. window.location.replace("http://www.domain.de/indexHigh.html")
  13. //-->
  14. </script>
  15.  
  16. //nach gewisser zeit schließen
  17.  
  18. <script LANGUAGE="JavaScript">setTimeout("self.close();",
  19. 400);</script>
  20.  
  21. //auf dropdown menu bild anzeigen
  22.  
  23. <select size="1" name="icons"
  24. onchange="document.icon.src=this.options[this.options.selectedIndex].value+'.gi
  25. f';">
  26. <option selected value="kein">kein</option>
  27.  
  28. <img name="icon"src="kein.gif" width="33" height="33"
  29. border="0">

Einen Kommentar hinterlassen


15 queries. 0.391 seconds.
Powered by WordPress