Webpage JS pop-up advertisement code, Head, bottom right corner, floating in webpage, couplet advertisement code, etc.

Source: Internet
Author: User
01 . Reference: webpage JS pop-up advertisementCode, Head, bottom right corner, web page floating, couplet advertisement code, etc. 02 . Webpage header pop-up advertisement: 03. <! -- Homepage Head Advertisement --> 04. <SCRIPT src = "http://www.ce.cn/inc1/top_ad.js" type = "text/JavaScript" Language = "JavaScript"> </SCRIPT> 05. <SCRIPT type = "text/JavaScript"> 06. If (! ADS ){ 07. VaR ADS = New Admanager ('ads' ); 08 .} 09. Ads. addad (1002,375, '', 'top', 'float'); 10. </SCRIPT> 11. <! -- Homepage Head Advertisement end --> 12 . Webpage floating advertisement (multiple floating advertisements are allowed ): 13. <SCRIPT src = "http://www.ce.cn/inc/flyad2.js"> </SCRIPT> 14. <Div id = "gg1"> 15. <a href = "http://www.ce.cn/inc1/jftishi.html">  > </A> 16. <Div style = "Position: absolute; left: 0; font-size: 12px ;" > 17. <a href = "Javascript: Void (0); "target =" _ Self "onclick =" close_gg (1); "style =" color: # FFF ;" > Close </a> 18. </div> 19. </div> 20. <SCRIPT type = "Text/JavaScript"> 21. <! -- 22.VaR AD1 = New Admove ("gg1" ); 23 . Ad1.run (); 24. //  VaR ad2 = new admove ("gg2 "); 25. //  Ad2.run (); 26. //  VaR ad3 = new admove ("gg3 "); 27. //  Ad3.run (); 28. //  --> 29. </SCRIPT> 30 . Lower-Right advertisement: 31. <! -- Lower-right advertisement --> 32. <Div style = "position: absolute; Right: 0; width: 250px; Height: 215px; text-align: Right; font-size: 14px; line-Height: 22px; color: #000; "id =" rb_ad "> 33. <a href = "javascript: close_rbad ();" target = "_ Self"> close </a> <br/> 34.  > </Div> 35. <script language = "JavaScript" type = "text/JavaScript"> 36. Function  Rightbottomad (){ 37. VaR ABC = Document. getelementbyid ("rb_ad" ); 38. ABC. style. Top = document.documentelement.scrolltop+document.doc umentelement. clientHeight-215 + "PX" ; 39. setTimeout ( Function () {Rightbottomad () ;}, 50 ); 40 .} 41 . Rightbottomad (); 42. Function  Close_rbad (){ 43.doc ument. getelementbyid ("rb_ad"). style. Display = "NONE" ; 44 .} 45. </SCRIPT> 46. <! -- Lower-right ad end --> 47 . Couplet advertisement: 48. <Div id = "couplebanneradv" style = "Z-index: 10; position: absolute; width: 100px; left: 10px; top: 10px; display: none"> 49. <Div style = "position: absolute; left: 6px; top: 6px;"> 50. <object classid = "CLSID: D27CDB6E-AE6D-11cf-96B8-444553540000" adcodebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0" width = "102px" Height = "262px"> <Param name = "movie" value = "http: // container Ll.com/bdall/ads/couplet/index_couplet_cmcc_hmj.swf "/> <Param name =" quality "value =" high "/> <embed src =" http://bdall.com/bdall/ads/couplet/index_couplet_cmcc_hmgj.swf "Quality =" high "pluginspage =" http://www.adobe.com/shockwave/download/download.cgi? P1_prod_version = shockwaveflash "type =" application/X-Shockwave-flash "width =" 102px "Height =" 262px "> </embed> </Object> <br/> 51.  This . Style. cursor = 'hand' "onclick =" closebanner ('couplebanneradv ');" > 52. </div> 53. <Div style = "Position: absolute; Right: 6px; top: 6px ;" > 54. <object classid = "CLSID: D27CDB6E-AE6D-11cf-96B8-444553540000" adcodebase = "http: // Margin "width =" 102px "Height =" 262px "> <Param name =" movie "value =" http://bdall.com/bdall/ads/couplet/index_couplet_cmcc_hmgj.swf "/> <Param name =" quality "value =" high "/> <embed src = "http://bdall.com/bdall/ads/couplet/index_couplet_cmcc_hmgj.swf" Quality = "high" pluginspage = "http://www.adobe.com/shockwave/download/download.cgi? P1_prod_version = shockwaveflash "type =" application/X-Shockwave-flash "width =" 102px "Height =" 262px "> </embed> </Object> <br/> 55.  This . Style. cursor = 'hand' "onclick =" closebanner ('couplebanneradv ');" > 56. </div> 57. </div> 58. <SCRIPT type = "Text/JavaScript" src = "http://www.bdall.com/include/js/floatadv.js" > </SCRIPT> 59. <SCRIPT type = "Text/JavaScript"> 60. lsfloatdiv ('couplebanneradv ', 0, 0, '', 0 ). Floatit (); 61. </SCRIPT>

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.