IE and NS different background Images

[Total: 0    Average: 0/5]

This example will create a different background image for IE and NS.

Head Code:

<script>
var bck = document.all?"http://www.js-examples.com/js/pic1.gif":"http://www.js-examples.com/js/pic3.gif";
document.write("<body background="+bck+">");
</script>

Body Code:


Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *