Revision: 23384
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 5, 2010 11:08 by xoxolatito
Initial Code
<script language="JavaScript"> if (screen.width + "x" +screen.height == "800x600") document.body.style.backgroundImage = "url(templates/ja_topaz/images/bk7.jpg)"; if (screen.width + "x" +screen.height == "1024x768") document.body.style.backgroundImage = "url(templates/ja_topaz/images/bk6.jpg)"; if (screen.width + "x" +screen.height == "1280x1024") document.body.style.backgroundImage = "url(templates/ja_topaz/images/bk5.jpg)"; if (screen.width + "x" +screen.height == "1600x1200") document.body.style.backgroundImage = "url(templates/ja_topaz/images/bk3.jpg)"; if (screen.width + "x" +screen.height == "1680x1050") document.body.style.backgroundImage = "url(templates/ja_topaz/images/bk2.jpg)"; if (screen.width + "x" +screen.height == "1440x900") document.body.style.backgroundImage = "url(templates/ja_topaz/images/bk.jpg)"; if (screen.width + "x" +screen.height == "1920x1080") document.body.style.backgroundImage = "url(templates/ja_topaz/images/bk8.jpg)"; </script>
Initial URL
Initial Description
Initial Title
Diferent background image depending resolution of visitor
Initial Tags
javascript, background
Initial Language
JavaScript