Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Jul 2004
    Posts
    134
    Thanks
    0
    Thanked 0 Times in 0 Posts

    <DIV> menu scrolls as scroll-bar is scrolled

    many of u might h've seen a such menu.
    i myself has code ( i haven't written ), but i don't like its complexity.
    can any1 help myself write this.

    commonly seen dhtml are:
    '<DIV> menu scrolls as scroll-bar is scrolled'
    'message-scrolling in a <DIV> window'

    we can change properties of javascript object easily.
    we do image-rollovers etc. or change object properties
    on mouseover, onmouseclick etc
    we can also call a function using setTimeout()

    but how new properties take effect e.g. scrollTo(x, y)
    without page-refresh ?

    if u understand what i mean, please reply.

  • #2
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    338
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sounds like Plural of Royalty...:P

    I think I understand what you mean...
    This problem requires no JavaScript. There's a CSS property which can use to achieve this effect, called overflow.

    Hope that helps!

    Happy coding!

  • #4
    Regular Coder
    Join Date
    Jul 2004
    Posts
    134
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i mean scrolling scroll-bar of browser !!
    can i post u sample codes instead ???
    hope someone help me ..

  • #5
    Regular Coder
    Join Date
    Jul 2004
    Posts
    134
    Thanks
    0
    Thanked 0 Times in 0 Posts


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •