Step 1: Insert this into the <head> section of your page:
<script>
<!--
/*By Ishan Doshi - http://www.funindia.info
Credit must stay intact for use*/
function tile(bgname){
win2=window.open("","","width=380,height=380")
if (win2){
win2.focus()
win2.document.open()
win2.document.write("<head><title>"+bgname+"</title></head>")
win2.document.write("<body background="+'"'+bgname+'"'+">")
win2.document.write("</body>")
win2.document.close()
}
else
alert("Failed in spawning a new window!")
}
//-->
</script>
Step 2: Insert this into the <body> section of your page. You should change the file name of the background image to yours:
<a href="test.htm"
onclick="tile('backgr10.jpg');return false"><img
src="backgr10.jpg" border="0" width="80"
height="80"></a>
<a href="test.htm"
onclick="tile('backgr11.jpg');return false"><img
src="backgr11.jpg" border="0" width="128"
height="128"></a>
<p align="center"><font face="arial" size="-2">This free script provided by</font><br>
<font face="arial, helvetica" size="-2"><a href="http://funindia.info">Funindia.info
</a></font></p>