Previous Thread
Next Thread
Print Thread
Hop To
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
When you use quick reply, hitting tab once gets you at the submit button, hitting tab a 2nd time gets you to preview post.

This does not happen when you to this in the full reply screen and send a PM screen.

I don't know if it's a html thing that can easely by changed, but some users are asking for it at our board.

Last edited by Rick; 05/31/2007 1:38 PM.

[Linked Image from siemons.org]
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
I think the tab order isn't set on the full reply page


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Originally Posted by Gizmo
I think the tab order isn't set on the full reply page


That was it...

in newreply.tpl change

Code
<input type="button" name="preview" value="{$lang.DO_PREVIEW}" class="form-button" onclick="doPreview();" />

To:

Code
<input type="button" tabindex="4" name="preview" value="{$lang.DO_PREVIEW}" class="form-button" onclick="doPreview();" />

I still have to look at the PM screen.


[Linked Image from siemons.org]
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Originally Posted by blaaskaak
I still have to look at the PM screen.

and for those seeking to fix this:

sendprivate.tpl

change line
Code
<input type="button" name="preview" value="{$lang.MESS_PREVIEW}" class="form-button" onclick="doPreview();" />

into:

Code
<input tabindex="4" type="button" name="preview" value="{$lang.MESS_PREVIEW}" class="form-button" onclick="doPreview();" />

and in mess_handler.tpl

change the following 2 lines:

Code
<input type="submit" name="buttsubmit" value="{$lang.BUTT_SUBMIT}" class="form-button" />
<input type="button" name="preview" value="{$lang.PREVIEW}" class="form-button" onclick="doPreview();" />

into:

Code
<input tabindex="3" type="submit" name="buttsubmit" value="{$lang.BUTT_SUBMIT}" class="form-button" />
<input tabindex="4" type="button" name="preview" value="{$lang.PREVIEW}" class="form-button" onclick="doPreview();" />

Not much of a difference with the original code, it just adds a "tabindex="?"" to every line.


[Linked Image from siemons.org]
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
And one more for newpost.tpl

Code
<input type="button" name="preview" value="{$lang.DO_PREVIEW}" class="form-button" onclick="doPreview();"/>

replace with:

Code
<input type="button" tabindex="4" name="preview" value="{$lang.DO_PREVIEW}" class="form-button" onclick="doPreview();"/>

edit:

I attached a text file with all the fixes in it, it's easier to read.
Attachments
419-tabfix.txt (1.32 KB, 612 downloads)

Last edited by blaaskaak; 05/04/2007 4:14 PM. Reason: Attached a textfile

[Linked Image from siemons.org]
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
Looks right wink... Somehow I expected this out of "the guy who reads all the code line by line" though hehe...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Thanks for the fixes. They are in for 7.2.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 744 guests, and 147 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)