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 12 of 12
  1. #1
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Textarea scrollers??

    Hi
    I'm very new to Javascript.Please help me with a tutorial/scripting of a scrollbar for a textarea. Something like this, but maybe more "fancy"... :

    http://www.belmet.co.za/about.html

    Thanks alot!

  • #2
    Regular Coder dniwebdesign's Avatar
    Join Date
    Dec 2003
    Location
    Carrot River, Saskatchewan
    Posts
    846
    Thanks
    15
    Thanked 10 Times in 10 Posts
    I think this is more of a DHTML thing, is it not?
    Dawson Irvine
    CEO - DNI Web Design
    http://www.dniwebdesign.com

  • #3
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    that's not a textarea. just a plain div or something akin. however, i would counsel against doing the same thing in your site - after all, if the user has no JS, they can't scroll the text. that's pretty daft, if you ask me.

    anyway, if you really want to do it, why don't you just look at the source and then copy the code. is that too easy for you?
    *keep it simple (TM)

  • #4
    Regular Coder dniwebdesign's Avatar
    Join Date
    Dec 2003
    Location
    Carrot River, Saskatchewan
    Posts
    846
    Thanks
    15
    Thanked 10 Times in 10 Posts
    Quote Originally Posted by jbot
    that's not a textarea. just a plain div or something akin. however, i would counsel against doing the same thing in your site - after all, if the user has no JS, they can't scroll the text. that's pretty daft, if you ask me.

    anyway, if you really want to do it, why don't you just look at the source and then copy the code. is that too easy for you?
    I really wouldn't say that using JavaScript is daft, especially when you're own site requires it to even enter it.
    Dawson Irvine
    CEO - DNI Web Design
    http://www.dniwebdesign.com

  • #5
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question

    anyway, if you really want to do it, why don't you just look at the source and then copy the code. is that too easy for you?
    heeey!!! go easy on me.. like I said, I'm a beginner...
    I need a tutorial to do... if I copy & paste, it won't help me, will it... ??
    If it is DHTML, where can I go look for a tut? It doesn't have to be Javascript, just thought it was???

  • #6
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by dniwebdesign
    I really wouldn't say that using JavaScript is daft, especially when you're own site requires it to even enter it.
    that's just the point! if you need JS to use a site you're preventing people that don't have JS for various reasons from using the site. that's called inaccessibility and is illegal for public websites in some countries under disability discrimination laws.

    now, of course, JS per se is not a bad idea on anysite. but by making your site rely on it is. that's why his proposed use of it is daft.
    *keep it simple (TM)

  • #7
    Regular Coder dniwebdesign's Avatar
    Join Date
    Dec 2003
    Location
    Carrot River, Saskatchewan
    Posts
    846
    Thanks
    15
    Thanked 10 Times in 10 Posts
    Dawson Irvine
    CEO - DNI Web Design
    http://www.dniwebdesign.com

  • #8
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question

    EXACTLY what I was looking for! thanks alot!

  • #9
    Regular Coder dniwebdesign's Avatar
    Join Date
    Dec 2003
    Location
    Carrot River, Saskatchewan
    Posts
    846
    Thanks
    15
    Thanked 10 Times in 10 Posts
    no problem...
    Dawson Irvine
    CEO - DNI Web Design
    http://www.dniwebdesign.com

  • #10
    Regular Coder dniwebdesign's Avatar
    Join Date
    Dec 2003
    Location
    Carrot River, Saskatchewan
    Posts
    846
    Thanks
    15
    Thanked 10 Times in 10 Posts
    Quote Originally Posted by jbot
    that's just the point! if you need JS to use a site you're preventing people that don't have JS for various reasons from using the site. that's called inaccessibility and is illegal for public websites in some countries under disability discrimination laws.

    now, of course, JS per se is not a bad idea on anysite. but by making your site rely on it is. that's why his proposed use of it is daft.
    Please do tell me what countries using JavaScript is illegal in.
    Dawson Irvine
    CEO - DNI Web Design
    http://www.dniwebdesign.com

  • #11
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by dniwebdesign
    Please do tell me what countries using JavaScript is illegal in.
    can you actually read? i didn't say that using JS was illegal. i said that making inaccessible websites was illegal. if your site needs JS to actually use it, you have made it inaccessible and thus you could be liable to a lawsuit under that nation's disability discrimination legislation. the UK and the US are the only two nations I know have this, but there will be others for sure.
    *keep it simple (TM)

  • #12
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    *keep it simple (TM)


  •  

    Posting Permissions

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