SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2010
    Posts
    96
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Div Area Float Down

    Anyone know what this is called? Looking to learn how to build it and I believe it is controlled by Javascript.

    You are on a website you scroll down past the fold and a box comes down "animated" and you have the option to close it.

    Example here:
    http://www.shoplet.com/


    Thanks!

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,527
    Mentioned
    84 Post(s)
    Tagged
    4 Thread(s)
    That seems to be a variation of the catfish, which is a bar that hugs the bottom of the screen instead.

    Here's the tutorial.
    The Catfish – Part 1
    Set Us Up The Catfish – Part 2: SlideMe
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2010
    Posts
    96
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks I was thinking the same thing however the differences:

    Top down
    It does not appear when you enter the site, you have to scroll down a certain point.

    Any points to take the above tutorial and accomplish the above? I have a feeling it is javascript based which I sadly am not an expert in.

    Thanks!

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,527
    Mentioned
    84 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by zactive View Post
    Thanks I was thinking the same thing however the differences:

    Top down
    Bottom up or top down, one is just an inversion of the other.

    Quote Originally Posted by zactive View Post
    It does not appear when you enter the site, you have to scroll down a certain point.
    Instead of triggering on page load, you can use a setTimeout to check how far things have scrolled.

    Quote Originally Posted by zactive View Post
    Any points to take the above tutorial and accomplish the above? I have a feeling it is javascript based which I sadly am not an expert in.
    It is a collaboration of HTML, CSS and scripting. We'll do what we can here though to help you with any parts that you might get stuck with.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •