JS realizes floating advertisements on the left and right sides

The example of this article shared the specific code of JS to implement the left and right floating advertising display. For your reference, the specific content is as follows

         Close 
'var adcontentHTML =' <!-- var showad = true; var Toppx = 60; //上端位置 var AdDivW = 100; //宽度 var AdDivH = 300; //高度 var PageWidth = 800; //页面多少宽度象素下正好不出现左右滚动条 var MinScreenW = 1024; //显示广告的最小屏幕宽度象素 var ClosebuttonHtml = '
Advert '; Document .write ('
'+ CloseButtonHTML +'
'+ AdcontentHtml +'

') ; Document .write ('
' + closebuttonhtml + '
' + adContentHTML + '
'); function scall () {if (! showad) {return;} if (Document.Body
The above is all the contents of this article, I hope that everyone's learning is helpful, I hope everyone will support it. Tumi cloud.
© Copyright Notice
THE END
Just support it if you like
like0
share
comment Grab the couch

Please log in to comment