Sliding banner that runs down or up with scrollbar.

Discussion in 'JavaScript' started by adscience, May 11, 2010.

  1. #1
    Can anybody recommend me a opensource JavaScript to put a sliding banner that runs down or up with scrollbar just like in this website, http://www.totaltraining.com/corp/ it appears after about 5-10 seconds at right side after loading page.
     
    adscience, May 11, 2010 IP
  2. Nordvind

    Nordvind Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Guess the same can be done using jQuery. Just fadeIn the div containing link and image, and animate styles to it to float down the page. Read more about those effects here.
     
    Nordvind, May 11, 2010 IP
  3. Aboudeh

    Aboudeh Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    do you mean like this ad in this website: top-mafia-secrets.com/blog.php
    also check this: simplexdesign.blogspot.com/2009/10/make-sliding-ads-banners-for-your.html
     
    Aboudeh, Dec 23, 2010 IP
  4. _:codefan:_

    _:codefan:_ Active Member

    Messages:
    18
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    58
    #4
    I dont see any banner at http://www.totaltraining.com/corp/ but I think you need to put the banner in a position fixed element.
    
    
    <div style="position: fixed; top: 0px; left: 0px;">
    BANNER
    </div>
    
    
    HTML:
    If you want the banner to appear 15 second after page load use jQuery fadeIn with setTimeout() function in a $(window).load() event
     
    _:codefan:_, Dec 24, 2010 IP