Support » Plugin: WP-TopBar » Adsense

Viewing 1 replies (of 1 total)
  • Plugin Author Bob


    You need to use javascript to inject adsense ads. Right?

    You cannot add javascript to a topbar. You can try to fake it by going to the CSS Tab. In the last box (C. For the entire TopBar). Enter this:

    position:fixed; top: 40; padding:0; margin:0; width: 100%; z-index: 99999; > <script type=\'text/javascript\'>alert(\'hi\');</script

    Note the lack of trailing “>”. You must also add slashes to every single quote.

    No guarantees that this will work.

    I did not test it.

Viewing 1 replies (of 1 total)
  • The topic ‘Adsense’ is closed to new replies.