- 積分
- 6
- 威望
- 6
- 金錢
- 6
- 最後登錄
- 2011-8-29
|
<script type='text/javascript'>
<!--
var image = '圖片網址';
document.write('<table height="100%" width="100%" id="enterimg" style="display:block"><tr><td align="center" valign="center"><a href="#" onclick="enterSite()"><img src="'+image+'" alt="按此進入" border="0"></a></td></tr></table>');
function enterSite() {
var content = document.getElementsByTagName("table");
for (var x=0; x<content.length;x++) {
content[x].style.display = 'block';
}
content = document.getElementsByTagName("div");
for (var x=0; x<content.length;x++) {
content[x].style.display = 'block';
}
content = document.getElementsByTagName("object");
for (var x=0; x<content.length;x++) {
content[x].style.display = 'block';
}
document.getElementById("enterimg").style.display = 'none';
var comment_all_div = document.getElementById("comment_all");
if(comment_all_div) document.getElementById("comment_all").style.display = 'none';
return false;
}
// -->
</script>
<style type="text/css">
table, div, object { display:none; }
</style> |
|