Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - [Tab] to Post New Topic
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[Tab] to Post New Topic

 Post Reply Post Reply
Author
futurefiles View Drop Down
Newbie
Newbie


Joined: 07 July 2003
Location: United Kingdom
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote futurefiles Quote  Post ReplyReply Direct Link To This Post Topic: [Tab] to Post New Topic
    Posted: 10 September 2003 at 7:17am

is there anyway to make the tab button go straight to the post new topic button?.

i.e. after you have written your new topic when you press tab it goes straight to the tick box i would like it to go to the post new topic button.

if anyone knows if this is possible please reply

Many Thanks

Rob.

Back to Top
dead_angel View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 02 May 2003
Location: United Kingdom
Status: Offline
Points: 147
Post Options Post Options   Thanks (0) Thanks(0)   Quote dead_angel Quote  Post ReplyReply Direct Link To This Post Posted: 10 September 2003 at 7:21am
isn't it a generic internet explorer thing? just press tab a couple of times, it's just as easy
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 10 September 2003 at 8:53am

You can change how which form element is next by placing into the tag:-

tabindex="30"

Change the number for which input element you want in which order.

Back to Top
futurefiles View Drop Down
Newbie
Newbie


Joined: 07 July 2003
Location: United Kingdom
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote futurefiles Quote  Post ReplyReply Direct Link To This Post Posted: 10 September 2003 at 9:25am

is this what you mean? and what value should i give it?

this is from the IE_message_form_inc.asp

<%
        
'Select the correct button for the page
If strMode="edit" OR strMode = "editTopic" Then

 Response.Write("      &n bsp;   <input type=""submit"" name=""Submit"" value=""" & strTxtUpdatePost & """ OnClick=""document.frmAddMessage.message.value = frames.message.document.body.innerHTML;"" tabindex=""30"" />")

ElseIf strMode = "new" OR strMode = "poll" Then

 Response.Write("      &n bsp;   <input type=""submit"" name=""Submit"" value=""" & strTxtNewTopic & """ OnClick=""document.frmAddMessage.message.value = frames.message.document.body.innerHTML;"" tabindex=""30"" />")

ElseIf strMode = "PM" Then

 Response.Write("      &n bsp;   <input type=""submit"" name=""Submit"" value=""" & strTxtPostMessage & """ OnClick=""document.frmAddMessage.message.value = frames.message.document.body.innerHTML;"" tabindex=""30"" />")
Else

 Response.Write("      &n bsp;   <input type=""submit"" name=""Submit"" value=""" & strTxtPostReply & """ OnClick=""document.frmAddMessage.message.value = frames.message.document.body.innerHTML;"" tabindex=""30"" />")
End If
                              %>

Thanks

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 10 September 2003 at 9:50am
You give the HTML form elements tab indexes, for example give the first form element a tab index of 1 the next 2, etc. etc. that way when you hit tab it will move through the form elements in the order you set the tab index.
Back to Top
futurefiles View Drop Down
Newbie
Newbie


Joined: 07 July 2003
Location: United Kingdom
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote futurefiles Quote  Post ReplyReply Direct Link To This Post Posted: 10 September 2003 at 10:14am

Nice thank you very much.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.