Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Need to float and slide box containing products

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #40937
    cajebo
    Member

    Small micro site build for a friend.

    On order page, I want the product box to stay in one position as the user scrolls down the order form.

    Building this out on 960gs, using same for the first time

    Can’t seem yet to find a way to do this successfully in anything but chrome.

    Site layout: http://centervilleelksapparel.com

    Order page playground: http://centervilleelksapparel.com/new-order.php

    Ideally I’d like to keep the blue box from scrolling out of view.

    Anyone care to point me toward the light?

    Thanks and happy thanksgiving

    Michael

    #115178
    zonger
    Member

    You should be able to do it with position: fixed.
    Have you tried that?

    #115193
    JoniGiuro
    Participant

    I think position fixed is what you need:

    http://jsfiddle.net/jonigiuro/SrHcU/

    #115672
    Schwarttzy
    Member

    jQuery is not the way to go for this, position:fixed is definitely the code for the job

    #115673
    cajebo
    Member

    Although still a work in progress as I’m waiting on content (what’s new, right?), I think I’ve settled this issue of the floating menu of products.

    [Centerville Elks Apparel](http://centervilleelksapparel.com)

    #115675
    cajebo
    Member

    And I forgot, thanks to all that helped light the way.

    It was solved by “position: fixed;” and an additional div class to get around the 960 issue.

    Thanks and greetings once again from Southwest Ohio. ;)

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.