Advertisement:

Author Topic: Put cursor in message box by default.  (Read 19180 times)

Offline ۞

  • Jr. Member
  • **
  • Posts: 343
  • Gender: Male
  • I dont know what to put here, I'll leave it blank.
Put cursor in message box by default.
« on: August 09, 2003, 12:10:35 PM »
At the moment you have to click into the message box to start typing in it, It would be nice if for new threads the cursor defaulted to the subject box and for replys it defaulted to the message box. Then you could hit reply and just start typing :)
TTTTTT  OOOOOO MMMMMM   BBBBBB


Offline klumy

  • SMF Hero
  • ******
  • Posts: 2,499
Re:Put cursor in message box by default.
« Reply #1 on: August 09, 2003, 12:23:56 PM »
Nice idea.

How about activation follows mouse function.
If the mouse hovers over Subject, the cursor is activated in Subject. If the mouse hovers over Message, the cursor will beactivated over message

Offline Spaceman-Spiff

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,524
  • Gender: Male
Re:Put cursor in message box by default.
« Reply #2 on: August 09, 2003, 12:39:28 PM »
How about activation follows mouse function.
If the mouse hovers over Subject, the cursor is activated in Subject. If the mouse hovers over Message, the cursor will beactivated over message
ick, i dont like that
its annoying sometimes

Offline Ben_S

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,710
  • xxx
Re:Put cursor in message box by default.
« Reply #3 on: August 09, 2003, 03:41:59 PM »
mouse following is so annoying when you knock your mouse. Y1G had that, really pissed me off so I killed it
Liverpool FC Forum with 9 million+ posts.

Offline Spaceman-Spiff

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,524
  • Gender: Male
Re:Put cursor in message box by default.
« Reply #4 on: August 09, 2003, 04:07:15 PM »
the code for this is:
<script type="text/javascript" language="JavaScript">
document.postmodify.message.focus();
</script>

just add that to Post.php, very simple :)

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,142
  • Gender: Male
Re:Put cursor in message box by default.
« Reply #5 on: August 09, 2003, 04:28:34 PM »
IMHO, only should be done if you're replying not posting a new message.

-[Unknown]