mootools help

Discussion in 'JavaScript' started by joesgraphics, Jun 11, 2007.

  1. #1
    Hi,

    im making an ajax chat script that u can see here im using mootools for most of the backend work if you try and scroll up the chat you will see that it auto scrolls down to the bottom but i dont want that i want it so it auto scrolls down to the new comments but when u scroll up i dont want it to scroll for an example of what im saying try scrolling the chat on this site here and you will see how i want it.

    Thanks in advanced joe.
     
    joesgraphics, Jun 11, 2007 IP
  2. smalldog

    smalldog Peon

    Messages:
    66
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hello, i think that you must comment scrollTo method in GetChatMessages function in action.js file like this:

     
    smalldog, Jun 11, 2007 IP
  3. joesgraphics

    joesgraphics Peon

    Messages:
    206
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Nop that just comments out the code i made it so it would auto scroll thanks anyway.
     
    joesgraphics, Jun 11, 2007 IP