1 2 3 4 5 6 7 8 9 10 | <div align="center" style="z-index:10; "> Main contents </div> <div id="skyscraper"> <object width="120" height="600"> <param name="movie" value="skyscraper.swf"> <embed src="skyscraper.swf" width="120" height="600"> </embed> </object> </div> |
1 2 3 4 5 6 7 | #skyscraper { position:absolute; top:75px; right:0; z-index:-10; } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <script type="text/javascript"> <!-- Begin var winWidth = 0, winHeight = 0; if (parseInt(navigator.appVersion)>3) { if (navigator.appName=="Netscape") { winWidth = window.innerWidth-16; winHeight = window.innerHeight-16; } if (navigator.appName.indexOf("Microsoft")!=-1) { winWidth = document.body.offsetWidth; winHeight = document.body.offsetHeight; } } if (winWidth < 2024) { document.getElementById('skyscraper').style.display = none; document.write(winWidth); } // End --> </script> |
|
Forum Opties | |
---|---|
Forumhop: | |
Hop naar: |