Pucca 01-17-2005, 08:33 AM 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! :(
dniwebdesign 01-17-2005, 09:36 AM I think this is more of a DHTML thing, is it not?
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? :rolleyes:
dniwebdesign 01-17-2005, 10:02 AM 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? :rolleyes:
I really wouldn't say that using JavaScript is daft, especially when you're own site requires it to even enter it. :rolleyes:
Pucca 01-17-2005, 10:08 AM 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... :o ??
If it is DHTML, where can I go look for a tut? It doesn't have to be Javascript, just thought it was???
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.
dniwebdesign 01-17-2005, 10:37 AM Try this URL: http://simplythebest.net/scripts/DHTML_scripts/javascripts/javascript_59.html
Pucca 01-17-2005, 10:43 AM EXACTLY what I was looking for! thanks alot! :thumbsup:
dniwebdesign 01-17-2005, 10:44 AM no problem...
dniwebdesign 01-17-2005, 10:45 AM 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.
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.
some links for you to peruse, pal:
Disability Discrimination Act (DDA) & web accessibility (http://www.webcredible.co.uk/user-friendly-resources/web-accessibility/uk-website-legal-requirements.shtml)
Disability Discrimination Act 1995 (DDA) (http://www.watchfire.com/legislation/dda.aspx)
FAQ: Your UK business website and the Disability Discrimination Act (http://www.gawds.org/show.php?contentid=102)
Accessibility and the Law (http://safariexamples.informit.com/073571150X/Chapters/AppendixA.html)
|
|