scroll bar

Discussion in 'JavaScript' started by champ_rock, Mar 10, 2007.

  1. #1
    hi

    i use a script at www.champrock.uk.to/dc for checking some domains

    can u tell me what code needs to be added so that the vertical scroll bar always stays and focuses at the bottom rather than the free flow that currently exists..

    i mean when the list continues to grow then the scroll bar should automatically go down with them..

    thanks
     
    champ_rock, Mar 10, 2007 IP
  2. PrateekSaxena

    PrateekSaxena Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you can use overflow:auto or overflow:scroll
     
    PrateekSaxena, Mar 11, 2007 IP
  3. champ_rock

    champ_rock Peon

    Messages:
    3,349
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    0
    #3
    where do i add this code?? sorry i am a complete newbie to javascript here
     
    champ_rock, Mar 11, 2007 IP
  4. PrateekSaxena

    PrateekSaxena Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    in the CSS or the input box. you do know CSS right?
     
    PrateekSaxena, Mar 11, 2007 IP
  5. PrateekSaxena

    PrateekSaxena Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    try this

    <textarea style="overflow:scroll;" name="domains" cols="100" rows="20"></textarea>
    Code (markup):
     
    PrateekSaxena, Mar 11, 2007 IP