Floating, Sliding and Shaking Google Ads

Posted by: Joy  :  Category: Web Development

Wonder how to rise your ads number of clicks? Many script available out there to make floating google ads. But this one is quite different, this would make your ads more eye-catching with sliding and shaking feature. Plus automatic hide which is actually optional, you can modify it if you just want to put a close button rather than the automatic hide.

This script is based on Dynamic Drive DHTML AdBox with a little feature added.
OK, lets start. Here we go…

1. Save this javascript to your host :

Spoiler : 



2. Add those script on the HEAD part, ex :

  1. <script type='text/javascript' src='YOUR JS URL'></script>

3. Add this on the BODY part :

  1. <div id="sponsorAdDiv" style="position:absolute;top:-9999;left:-9999;">
    PUT YOUR GOOGLE ADS SCRIPT HERE
    </div>

4. Done.

You can adjut the left and top position of the ads by changing the vars : AdTop & AdLeft, you can also use this to tweak any ads, not only for google ads ;)


4 Responses to “Floating, Sliding and Shaking Google Ads”

  1. 1
    Ramz Says:

    Owww…Nice…So Nice.

    Thanks for this tutorial. Hehehe.

    I’ll try it ! Thanks to Joy.

  2. 2
    Joy Says:

    your welcome buddy.. :) It’s your request, i finally made the post.. xixixi..
    sorry for posting so late ramz..
    happy hunting for online income ;)

  3. 3
    bobyhikaru Says:

    wow wow nice post ^^

  4. 4
    Joy Says:

    thanks for leaving a commnent bro ;)

Leave a Reply