1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

keeping ads on page??

Discussion in 'HTML & JavaScript' started by icosane, Jun 8, 2011.

  1. icosane

    icosane Newbie

    Joined:
    Jan 7, 2011
    Messages:
    47
    Likes Received:
    0
    is there an easy script I can use to keep the ads on the page as i scroll down? demonoid is one of the many sites i've seen that have a script for this.
     
  2. wkirk

    wkirk Junior Member

    Joined:
    Apr 3, 2011
    Messages:
    139
    Likes Received:
    67
    It's fairly easy if I understand correctly what you're trying to achieve.

    check this:
    Code:
    www dot 0xbabeface dot com/scrollshit/
    It's done using jquery.

    Download the source and modify it to your needs:
    Code:
    www dot 0xbabeface dot com/scrollshit/scrollshit.rar 
    Just edit the index.html and put your ads in. But of course you still need to keep the included javascript in place :)
     
    • Thanks Thanks x 1
    Last edited: Jun 8, 2011
  3. wkirk

    wkirk Junior Member

    Joined:
    Apr 3, 2011
    Messages:
    139
    Likes Received:
    67
    ooops, i don't know if virustotal is required for html/javascript code, if it is then please someone post it, thanks.