| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Oct 2006
Posts: 17
|
horizontal scrolling
hey, can anyone shed some light on this.. i've seen websites that display content horizontally, series of images for exemple.. but allow for the user to normally scroll up & down with the scrollball.. up = left down = right how is that coded, or under what name should i look this up thanks |
|
|
|
|
|
#2 (permalink) |
|
Web Designer
Join Date: May 2008
Posts: 5
|
I'd start by looking at the source code of sites like that. That said, most of them are using AJAX. AJAX libraries like Moo-tools and Prototype are what I've used in the past. I can't post a link but Google "ajax side scrolling website" That should get you going. Cheers |
|
|
|
#5 (permalink) |
|
Senior Member
Join Date: Jun 2007
Location: Glasgow
Posts: 1,026
|
That's a really nice site. Here's the link for the lazy: The Horizontal Way - an horizontal showcase for horizontal scrolling websites. |
|
|
|
#6 (permalink) | |
|
Moderator
Join Date: Jan 2005
Location: Brooklyn, NYC
Posts: 11,869
|
Quote:
Find good advice in the beginners web design thread.
patrick o'neill web developer | blog | spam humor |
|
|
|
|
#7 (permalink) |
|
Web Designer
Join Date: May 2008
Posts: 5
|
I'm sorry pgo? Is there a question in there, or just insult? I can't say I fully understand Ajax, But I've used the prebuilt libraries on around 20 different projects. Mostly Mootools. Getting dissed by a moderator is a new one for me. Not even sure how I feel about it. Hmm. |
|
|
|
#8 (permalink) |
|
Moderator
Join Date: Jan 2005
Location: Brooklyn, NYC
Posts: 11,869
|
Not a question, not an insult. It's a statement of fact. You should get used to it on this site. Especially if you spread nonsense. What you're describing is not Ajax. It's just JavaScript. Mootools, jQuery, Prototype, etc. Some JavaScript libraries have Ajax capabilities, but they are not Ajax. Ajax is "Asynchronous JavaScript And XML" which uses the XMLHttpRequest object to make server requests without the need to reload the page each time. Ajax has nothing to do with JavaScript effects, though the two are often used in tandem. EDIT To answer the original post... I think you want a horizontal scrolling site that uses the mouse wheel to go side-to-side instead of up-and-down? I've never done that - or even considered it (I think horizontal sites are a usability problem and an empty gimmick), but you might be able to do some fancy JavaScript to do so. jQuery has the scroll event built-in, but I'm pretty sure that wouldn't be useful here. A quick Google for javascript scroll wheel yields some interesting results. Find good advice in the beginners web design thread.
patrick o'neill web developer | blog | spam humor Last edited by pgo : 09-05-2008 at 11:13. |
|
![]() |