SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Nov 2010
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unlimited Scroll Area

    Working on a site that is integrated with WordPress.

    Wanting an unlimited vertical scroll area; right now, it only scrolls through a limited number of posts before stopping.

    Page is at Anakha Coman ~ Love Is Here Now!

    Thanks!

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,165
    Mentioned
    453 Post(s)
    Tagged
    8 Thread(s)
    Do you have a limit set in WordPress on how many posts can appear in that section?

    Off Topic:

    To be honest, I don't find that a very usable setup. I wonder if many visitors would really want to scroll endless through a little box like that.

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,343
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    I think you need to adjust the height here so that it matches the clip.

    Code:
    #divContainer {
        left: 460px;
        visibility: hidden;
        overflow: hidden;
        width:480px;
        clip: rect(0px,600px,420px,0px);
        position: absolute;
        top: 146px;
        height:420px;
    }
    Be aware that you have included a whole page inside your page including doctype and head tags. If you include a file into the body of a page then you should only include the relevant html and not a whole page.

    It also means that you are linking to 2 css files that are almost the same so unless you adjust the correct file the changes will be overwritten.

    As Ralph said that scroller is a bit of a pain to use and you can't get to the end quickly as you could with a normal scroller (or indeed with some of the better JS scrollers out there).


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
  •