![]() |
Getting the cursor to automatically be in the subject field
So that everytime my users click on reply or post a thread the cursor is already in the subject field, that way all they have to do is type the subject and/or hit tab to post a thread/reply.
I know this is possible and it should be fairly easy. Just something simple that I thought would help a lot of users. Any help you can give would be appreciated. Thanks! |
I would like to see in the text box for new replies, in the subject box for new threads.
|
even better. :)
|
Hi,
just add this to your template: PHP Code:
PHP Code:
Then replace PHP Code:
PHP Code:
|
Compatable with all browsers?
|
It is javascript, so it should work with all browsers but i can not confirm! Please test it :)
|
How would you get the number of the subject and text box field?
|
it's not number, it's the form field name.. you can find it by checking the source code or relevant template. Eg:
<input type="text" class="bginput" name="title" value="" size="40" maxlength="85" tabindex="1"> name in this field is "title"...(That is subject field of Newreply form) |
can't get it to work...:(
|
well it works for me but the background color of the page is missing?
Does somebody know why? |
All times are GMT. The time now is 04:48 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|