Jump to content


[javascript] Scroll


5 replies to this topic

#1 Slightly Wonky Robob

    Not a Wonky Gent.

  • Administrator
  • 9333 posts

Posted 12 December 2007 - 23:11

Is it possible to make some buttons (images) to scroll a div or something of that ilk. Ok, probably not explained very well, hence my 10 second diagram:

Posted Image

Ok so baiscally i want the 2 images on the ends (the ones with the arrows) make the images in the middle scroll left/right. Also if possible, have no scroll bar appear.

Well i don't think i could have explained that any worse... but hope someone can understand and help :stickattack2:
Posted Image
F O R T H E N S
Posted Image

#2 G-sus

    batshit insane

  • Member
  • 802 posts
  • Projects: Coding Skynet

Posted 12 December 2007 - 23:13

definately it is possible.
but since i cant write html, dont ask me how... ;)
Posted Image
(Sig by The DR)

True beauty comes from heart and mind.
(but perfection has also big boobs)

#3 Alias

    Member Title Goes Here

  • Member
  • 11705 posts

Posted 12 December 2007 - 23:20

Click.
The first result has something that sounds similar to what you are looking for, but it has no image, so I'm unsure.

View PostG-sus, on 13 Dec 2007, 10:13, said:

definately it is possible.
but since i cant write html, dont ask me how... ;)

That's not what your meant to do, you say - "I'll tell you, if you -b".

:)

Posted Image

#4 G-sus

    batshit insane

  • Member
  • 802 posts
  • Projects: Coding Skynet

Posted 12 December 2007 - 23:24

View PostAlias, on 13 Dec 2007, 0:20, said:

View PostG-sus, on 13 Dec 2007, 10:13, said:

definately it is possible.
but since i cant write html, dont ask me how... ;)

That's not what your meant to do, you say - "I'll tell you, if you -b".

:)

oh, yea... i almost forgot... thx for stating that... XD
well for -b i could know *anything*... :)
Posted Image
(Sig by The DR)

True beauty comes from heart and mind.
(but perfection has also big boobs)

#5 CodeCat

    It's a trap!

  • Gold Member
  • 6111 posts

Posted 12 December 2007 - 23:33

http://developer.moz...ment.scrollLeft
http://developer.moz...ement.scrollTop
CodeCat

Posted Image
Posted Image

Go dtiomsaítear do chód gan earráidí, is go gcríochnaítear do chláir go réidh. -Old Irish proverb

#6 Slightly Wonky Robob

    Not a Wonky Gent.

  • Administrator
  • 9333 posts

Posted 15 December 2007 - 23:26

only just got around to testing.. but thanks code, worked like a charm :P
Posted Image
F O R T H E N S
Posted Image



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users