Tip: you can modify some code before running
<DIV id=top_ads ><BUTTON id=header_ad onClick="window.open('http://www.111cn.net')"></bUTTON> </dIV><SCRIPT language=javascript >// JavaScript Documentvar time; var h; var T; var N; // height var ad_timer; function addCount () {document. getElementById ("top_ads "). style. display = "block"; document. getElementById ("top_ads "). style. height = h + "px"; // setTimeout ("addCount ()", 10);} function showAds (paramTime, paramh, paramT, paramN) {time = paramTime; h = paramh; h = 450; // Here we can use the function to pass the value, that is, id layer height T = paramT; N = paramN; // height addCount (); ad_timer = setTimeout ("noneAds ()", 10000); // Adjust the stay time by yourself} function noneAds () {document. getElementById ("top_ads "). style. display = "none"; document. getElementById ("float_ad "). style. display = "block";} function clearTimer () {clearInterval (ad_timer);} function closeAd () {document. getElementById ("top_ads "). style. display = "none"; document. getElementById ("float_ad "). style. display = "block"; clearTimer ();} function show () {var obj_ad = document. getElementById ("float_ad"); obj_ad.style.display = "none"; showAds (450,450,450,450);} var _ inner_browser_width = 0; var _ inner_browser_height = 0; var _ browser_scroll_x = 0; var _ browser_scroll_y = 0; function calc_window_size () {if (typeof (window. innerWidth) = 'number') {// Non-IE _ inner_browser_width = window. innerWidth; _ inner_browser_height = window. innerHeight;} else if (document.doc umentElement & (document.doc umentElement. clientWidth | document.doc umentElement. clientHeight) {// IE 6 + in 'standards compliant mode' _ inner_browser_width = document.doc umentElement. clientWidth; _ inner_browser_height = document.doc umentElement. clientHeight;} else if (document. body & (document. body. clientWidth | document. body. clientHeight) {// IE 4 compatible _ inner_browser_width = document. body. clientWidth; _ inner_browser_height = document. body. clientHeight;} function calc_scroll_xy () {_ browser_scroll_x = 0; _ browser_scroll_y = 0; if (typeof (window. pageYOffset) = 'number') {// Netscape compliant _ browser_scroll_y = window. pageYOffset; _ browser_scroll_x = window. pageXOffset;} else if (document. body & (document. body. scrollLeft | document. body. scrollTop) {// DOM compliant _ browser_scroll_y = document. body. scrollTop; _ browser_scroll_x = document. body. scrollLeft;} else if (document.doc umentElement & (document.doc umentElement. scrollLeft | document.doc umentElement. scrollTop) {// IE6 standards compliant mode _ browser_scroll_y = document.doc umentElement. scrollTop; _ browser_scroll_x = document.doc umentElement. scrollLeft ;}} function scorll_y () {calc_window_size (); calc_scroll_xy (); var obj_ad = document. getElementById ("float_ad"); rows = _ inner_browser_width-(_ inner_browser_width-960)/2; rows = _ browser_scroll_y + _ inner_browser_height-423; setTimeout ("scorll_y ();", 30 )}</sCRIPT><DIV id=float_ad ><DIV></dIV><DIV></dIV></dIV><SCRIPT language=javascript>ShowAds (700,0, 2, 3); scorll_y (); var str = ""; document. getElementById ("header_ad"). innerHTML = str;</sCRIPT>
Tip: you can modify some code before running