ScrollTo and horizontal tables?

HTML Slider! Next Previous javascript here's the Demo.

This is great and works great except one thing - the scroll bar at the bottom grows so much that it is impossible to scroll back to view the first image once you get to the last - the only way is to keep clicking the previous button. Is there anyway the same effect can be done by only adjusting the position of the scroll bar? – DanC Jul 14 '10 at 9:44 you mean, Do you need a Handle(controller) to slide your Images, Are you asking me for some thing like this bit.Ly/i0TUT?

Please let me know, If possible I can help you. Have a Nice Day Dan – Avinash Jul 14 '10 at 10:26 Not really! In your example above, when you click on 'next' it basically hides the images you have already seen, I simply want the table#work to scroll along its x axis for a determined number of pixels.

Something like $('#forward'). Click(function() { $('table#work tr').stop(). ScrollTo( '+=738', 800, {axis:'x'} ); }); – DanC Jul 14 '10 at 10:36 Thanks for all your help, I was just going about it all the wrong way!

Turns out I shouldn't have tried to scroll the table, it was the window itself - working jQuery is - $('#forward'). Click(function() {$scrollTo('+=560px', 800, {axis:'x' });});$('#back'). Click(function() {$.

ScrollTo('-=560px', 800, { axis:'x' });}); – DanC Jul 14 '10 at 12:08 Thanks for the edit but I hadn't given up - just found an alternative solution is all! Thanks again dude! – DanC Jul 14 '10 at 17:24.

stackoverflow.com/questions/211111/jquer... And I'm not sure tables would be the way to go...

The whole table should be able to be scrolled using the scroll bars as well not just with the buttons. Oh and tables are for sure the way forward with horizontal sites! – DanC Jul 13 '10 at 19:06 @DanC that's a pretty bold statement.

What about floats? Or Flash? Maybe it should just be an unordered list with some jQuery magic.

There is never one answer to a programming problem. – Alex Larzelere Jul 13 '10 at 19:49 I never said ONE answer, just that tables is the best way to go! Check out the article over at CSS-Tricks for more info - css-tricks.Com/how-to-create-a-horizontally-scrolling-site – DanC Jul 14 '10 at 9:26.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions