Home » » How to Make Floating Ads Close Button in the Footer 2013

How to Make Floating Ads Close Button in the Footer 2013

Written By hnf on Thursday 24 October 2013 | Thursday, October 24, 2013


1 . Login to your blog .
2 . Go to the Layout / Layout , click Add a gadget .
3 . Choose HTML / Javascript
4 . Then place the following code in it .
 <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'> < / script > <br /> < script type = 'text / javascript " > $ (document ) . ready (function ( ) { $ ( ' img # closed ' ) . click (function ( ) { $ ( ' # btm_banner ' ) . hide ( 90 ) ; } ) ; } ) ; < / script > <style type='text/css'> # btm_banner div {width : 100 % ; bottom: 0 ; left: 0 ; position: fixed ; opacity : 0.9 ; } div # btm_banner img {border : 0 ; cursor : pointer ; } < / style> <div style='height: 0px;'> < / div > < div align = ' center ' id = ' btm_banner ' style = ' height: 100px ; z - index : 9999 ; ' > <div style='text-align: right; width: 728px; height: 6px;'> < img id =' closed ' style = " clear: both ; " > < / div > <p> <center> Put your ad script code here < / center> < / p > < / p > < / div >

5 . Save the widget .

0 comments:

Post a Comment