Grow your CSS skills. Land your dream job.

Forge3.com: How do you do this?

  • # June 2, 2011 at 12:51 pm

    Hi there,

    When you visit the http://www.forge3.com website and scroll down almost to the bottom, you’ll notice the “READY TO FORGE AHEAD?” block remains fixed in that position, while the content to the left continues to scoll down.

    How would you go about doing that? What’s that called?

    – Steph

    # June 2, 2011 at 1:43 pm

    Steph, the only fixed element I notice while scrolling is the tab attached to the left side, “Ask Us”. Using Chrome on XP…

    in CSS this is accomplished by using positioning…

    see this page: http://www.wickham43.supanet.com/tutorial/divboxes.html

    # June 2, 2011 at 1:43 pm

    They are using jQuery to change the CSS of that particular div when the scrolling reaches a certain point.

    You can see the JS here http://www.forge3.com/wp-content/themes/forge3/js/jquery.main.js

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".