I think, since when you hit enter when your doing a comment on scratch, it only does a space it doesn't go a line down, that enter should be the same button for "add". I think this because the enter button really has no cause, seeming as it only does a space JUST like the spacebar. This is meant for scratch comments, not forums (punbb).
Last edited by heybrian_ (2008-04-07 21:03:02)
Offline
The reason it doesn't do a line down is because HTML thinks it is just a space. And the only way 'enter' can mean post is by somehow changing the browser. Because a text box is meant to have multiple lines.
Offline
Well in HTML
<br>
produces a line down. See if it works -
~~~
Well the comments read everything as text so when I typed in "test <br> test 2" it literally showed that (instead of
test
test 2)
Offline
Since people expect text blocks to accept <return> or <enter> keys, it would result in a lot of surprised people if the key suddenly submitted their comments before they expected it.
Offline
I think you misunderstood me. The browser immediatley believes that with a text box, if you press 'enter' then it gives a line down. If Scratch were to use one-line text areas, (produced with a different code), then you could make it be enter to submit. So if you want to blame it on anyone, blame it on the people who made y0our browser.
Offline
it would be good 'cause scratch autoly does next-lines, you can't do manually or womanually
Offline