Closed (outdated)
Project:
Views Infinite Scroll
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2011 at 13:26 UTC
Updated:
27 Mar 2020 at 20:13 UTC
Jump to comment: Most recent
Comments
Comment #1
Remon commentedCould you please give an example of where this could be helpful?
Comment #2
sol roth commentedNo problem, Check out:
http://www.planetillogica.com/ronenglish
This is the old site, we're redesigning and buildling it in Drupal 7, but this is a perfect example of where a horizontal infinite scroll would be awesome. Some artists will feature a large amount of portfolio items, say 200 or more, especially with the new media module's easy uploading of multiple images / videos with flickr/youtube integration. Pre-loading 100 images would be horrible for performance, but making a user click 10 times to go through each person's gallery would be even less than ideal. With a wall of artwork, a horizontal scroll makes a lot more sense and looks better for this particular use (wouldn't you agree)?
Horizontal scrolling is used a lot on artist and photography portfolio sites so you can see two images side by side instead of on top of each other. We also have other views where you see large works of art next to each other and would like to use horizontal scrolling, so same thing but with larger images. (This isn't in drupal, but it's another fantastic example of effective horizontal scrolling through large amounts of images. - http://www.eoloperfido.com/portfolio.htm) The designer wanted to show a wall of portfolio images, in the re-designed version the user info is also on the left hand side so you can see the artist while you're checking out there work.
Comment #3
sol roth commentedAlso while we're on the subject, it would be great to enable the user to use there arrow keys to scroll left and right.
Comment #4
honza pobořil commentedThis module loads content under old content in code. Is i possible to render content inline by CSS?
Comment #5
fallenturtle commentedI'm trying to do something similar. This is the code I'm using based on the unformatted Views template that I've overridden:
But the autopager is just adding new div's below the table instead of adding more columns to the table.
Comment #6
vimalramaka commentedsubscribe
Comment #7
murzsubscribe
Comment #8
murzI have found sandbox module that can help you do the horisontal scroll via "Load more" link: http://drupal.org/sandbox/ericduran/1184978
Comment #9
fallenturtle commentedhttp://drupal.org/sandbox/ericduran/1184978
"page not found" :(
Comment #10
murzHe renamed it, correct url is http://drupal.org/project/views_load_more
Comment #11
fallenturtle commentedThanks... I tried it but couldn't make heads or tails on how to use it. Just seemed to give me a link to view another page instead of inline loading them.
Comment #12
murzfallenturtle, i think that it is not easy to detect when you scroll page in horizontal mode, so I don't know how to solve it without "Load more" link.
Comment #13
h4rrydog commentedI kind of got it to work (the loading more upon reaching the waypoint part) by also installing the Waypoints module alongside Views Load More module and turning on AJAX in the View.
It clearly is loading the additional "pages" of content after the original page, although it doesn't seem to wait for the "pager" item to become exposed. I suspect it has to do with how jQuery is detecting whether the content is exposed - perhaps by the vertical position and not horizontal?
Did you get any further with your project? Let me know if you got it to work and how you did it. :)
Comment #14
Remon commentedComment #15
davery commentedThis works. Get jcarousel, set up your view with jcarousel set to have as many items visible as you want columns visible.
Copy jcarousel-view.tpl.php to your theme's template dir, picking one of the names views gives you to override the default.
Edit it to look something like this: (here, 4 items/column. generalized would be
$i % $n == 0, $i % $n == ($n-1)in the two if statements)The style attributes are there to show proof of concept, and it looks rough. It would take more styling to make it look good.
Cheers.
Comment #16
thijsvdv commentedI wrote a little blogpost on how I got horizontal infinite scrolling working:
http://drupal.the-aim.be/horizontal-infinite-scrolling
Hopefully, it will be helpful to someone.
Comment #17
honza pobořil commented