473,795 Members | 2,865 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can I set all elements on a page to have tabIndex = -1?

The reason why I want to do this is that I will set a form's elements to have a tabIndices. I start out with no tabbing. The page loads the cursor appears in a first Input box and until the user "does something" there is no tabbing. This is specific to Microsoft Internet Explorer 5+. Anyway the issue is that although I set the tabbing order for all the components on the "page," there is one "element" that gets included in the tabbing order and I am NOT setting it. It is the address bar. What element is that? And how can I keep that at tabIndex = -1 so that after I set the tabbing order on the page, the address bar keeps it's nose out of the equation? Using javascript if possible. I'd be happy to show ya'll this page if anyone's interested when it's done and you'll understand why I need to do this. Thanks.

--
George Hester
_______________ _______________ ____
Jul 20 '05 #1
6 4746
"George Hester" <he********@hot mail.com> wrote in message
news:qm******** ***********@twi ster.nyroc.rr.c om...
The reason why I want to do this is that I will set a form's elements to
have a tabIndices. I start out with no tabbing. The page loads the cursor
appears in a first Input box and until the user "does something" there is no
tabbing. This is specific to Microsoft Internet Explorer 5+. Anyway the
issue is that although I set the tabbing order for all the components on the
"page," there is one "element" that gets included in the tabbing order and I
am NOT setting it. It is the address bar. What element is that? And how
can I keep that at tabIndex = -1 so that after I set the tabbing order on
the page, the address bar keeps it's nose out of the equation? Using
javascript if possible. I'd be happy to show ya'll this page if anyone's
interested when it's done and you'll understand why I need to do this.
Thanks.

--
George Hester
_______________ _______________ ____
You could open up the page without an address bar:

window.open({ur l},"","location =0")
Jul 20 '05 #2
Actually I'd like to keep the page the way it is normally. I really don't want that. You'll see after the page is finished why that's not good. So I'm wondering if it is possible to set all elements on a page to have tabIndex = -1 when the page loads? Thanks.

--
George Hester
_______________ _______________ ____
"McKirahan" <Ne**@McKirahan .com> wrote in message news:qtUHb.2271 24$_M.1005256@a ttbi_s54...
"George Hester" <he********@hot mail.com> wrote in message
news:qm******** ***********@twi ster.nyroc.rr.c om...
The reason why I want to do this is that I will set a form's elements to
have a tabIndices. I start out with no tabbing. The page loads the cursor
appears in a first Input box and until the user "does something" there is no
tabbing. This is specific to Microsoft Internet Explorer 5+. Anyway the
issue is that although I set the tabbing order for all the components on the
"page," there is one "element" that gets included in the tabbing order and I
am NOT setting it. It is the address bar. What element is that? And how
can I keep that at tabIndex = -1 so that after I set the tabbing order on
the page, the address bar keeps it's nose out of the equation? Using
javascript if possible. I'd be happy to show ya'll this page if anyone's
interested when it's done and you'll understand why I need to do this.
Thanks.

--
George Hester
_______________ _______________ ____


You could open up the page without an address bar:

window.open({ur l},"","location =0")

Jul 20 '05 #3
"George Hester" <he********@hot mail.com> wrote in message
news:7p******** ***********@twi ster.nyroc.rr.c om...
Actually I'd like to keep the page the way it is normally. I really don't
want that. You'll see after the page is finished why that's not good. So
I'm wondering if it is possible to set all elements on a page to have
tabIndex = -1 when the page loads? Thanks.

--
George Hester
_______________ _______________ ____
I doubt that you do what you want.

You can only control the "tabindex" of elements within your page not the
browser.

http://msdn.microsoft.com/library/de...thor/dhtml/ref
erence/properties/tabindex.asp

You state that I'll " see after the page is finished why that's not good.".

Can you explain "why that's not good"?
Jul 20 '05 #4
Because that will "scare" people. Plus all they have to do is enable the address bar and I'm right back to the same issue.

--
George Hester
_______________ _______________ ____
"McKirahan" <Ne**@McKirahan .com> wrote in message news:cEXHb.5079 17$275.1423025@ attbi_s53...
"George Hester" <he********@hot mail.com> wrote in message
news:7p******** ***********@twi ster.nyroc.rr.c om...
Actually I'd like to keep the page the way it is normally. I really don't
want that. You'll see after the page is finished why that's not good. So
I'm wondering if it is possible to set all elements on a page to have
tabIndex = -1 when the page loads? Thanks.

--
George Hester
_______________ _______________ ____


I doubt that you do what you want.

You can only control the "tabindex" of elements within your page not the
browser.

http://msdn.microsoft.com/library/de...thor/dhtml/ref
erence/properties/tabindex.asp



You state that I'll " see after the page is finished why that's not good.".

Can you explain "why that's not good"?

Jul 20 '05 #5
This is what I found but I am unable to get it to work. When the address bar is selected using TAB and the TAB key is pressed again there is nothing firing that I can catch it seems. So it cannot be done?

http://www.faqts.com/knowledge_base/...d/9105/fid/145

--
George Hester
_______________ _______________ ____
"McKirahan" <Ne**@McKirahan .com> wrote in message news:cEXHb.5079 17$275.1423025@ attbi_s53...
"George Hester" <he********@hot mail.com> wrote in message
news:7p******** ***********@twi ster.nyroc.rr.c om...
Actually I'd like to keep the page the way it is normally. I really don't
want that. You'll see after the page is finished why that's not good. So
I'm wondering if it is possible to set all elements on a page to have
tabIndex = -1 when the page loads? Thanks.

--
George Hester
_______________ _______________ ____


I doubt that you do what you want.

You can only control the "tabindex" of elements within your page not the
browser.

http://msdn.microsoft.com/library/de...thor/dhtml/ref
erence/properties/tabindex.asp



You state that I'll " see after the page is finished why that's not good.".

Can you explain "why that's not good"?

Jul 20 '05 #6
George Hester wrote:
The reason why I want to do this is that I will set a form's elements to have a tabIndices. I start out with no tabbing. The page loads the cursor appears in a first Input box and until the user "does something" there is no tabbing. This is specific to Microsoft Internet Explorer 5+. Anyway the issue is that although I set the tabbing order for all the components on the "page," there is one "element" that gets included in the tabbing order and I am NOT setting it. It is the address bar. What element is that? And how can I keep that at tabIndex = -1 so that after I set the tabbing order on the page, the address bar keeps it's nose out of the equation? Using javascript if possible. I'd be happy to show ya'll this page if anyone's interested when it's done and you'll understand why I need to do this. Thanks.

--
George Hester
_______________ _______________ ____


<form>
<input type="text" name="one" tabindex="1">
<input type="text" name="two" tabindex="2">
<input type="text" name="three" tabindex="3">
<input type="text" name="four" tabindex="4" onblur="this.fo rm.elements['one'].focus();">
</form>

Doesn't help if the user hits SHIFT+TAB in the first form element however.

--
| Grant Wagner <gw*****@agrico reunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
* http://devedge.netscape.com/library/...ce/frames.html
* Internet Explorer DOM Reference available at:
* http://msdn.microsoft.com/workshop/a...ence_entry.asp
* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html
Jul 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
3565
by: Bil Muh | last post by:
Esteemede Developers, I would like to Thank All of You in advance for your sincere guidances. I am developing a software using Visual C++ .NET Standard Edition with Windows Form (.NET) template. Briefly -------------------------------------------------------------------------------------------- I need to create dynamically some controls on the forms, and display these
0
1214
by: Rudy Ko | last post by:
Hi, All: I'm populating database records into a panel controls and want to render that panel into a HtmlTextWriter which will creating a word document. Do you know how to insert a page break between each records? Thank you for the help. Below is my code: Response.AddHeader("Content-Disposition", "attachment;
1
6364
by: Rachel Suddeth | last post by:
I have an form where the whole display is a tab control (well, that plus a status bar.) I want to set the focus to the first TextBox on the first TabPage when it loads. I tried to put that into the FormLoad event, but the form still comes up with the focus on the tab for the first tab page. Anyone know how to do this? Here is what I tried (but simplified)... ----------------
5
18308
by: John Bradley | last post by:
Toooo tired to look this one up. I have data that I need to acces in a small program. The data is accessable from an ASP webpage that I created myself. If I need to see data from record #25, I just open http://mydomain.com/datapage.asp?recnum=25. I would like to read this data directly into a variable. I'm sure this is quite easy (as easy as Fileopen), but I just can't seem to find it.
1
1539
by: Captain Dondo | last post by:
I am not really experienced in Javascript so bear with me.... I am working with an embedded platform; no mouse, no keyboard. Just up, down, left, right keys and +/- keys for incrementing/decrementing the vaules in the form. So my website consists of forms... Each form has a number of columns and rows. I am generating each page using a php script and some templates. Because the exact layout of each page can change based on customer...
7
2406
by: GaryDean | last post by:
In my old 1.1 apps the default was MS_POSITIONING="GridLayout" and Textboxes and labels and such always had POSITION: absolute; and I never had any distortion when the page was rendered. Life was good. now in 2.0 I'm using the default placeholder and putting a table in the placeholder and putting controls in the cells in the table. "the way it is supposed to be done" I have a textbox in a table that is defined as follows... <td...
0
6499
by: sandy | last post by:
hello,,,,,,,,, i am creating login page using Perl/CGI facing prob... able to connect DB but from there facing prob If u have related code of login page in Perl please send me on sandip.bhosale@gmail.com please help me i am using MySQL as DB user name:root password:root database name:ITS
3
4088
by: Slawomir | last post by:
Hello. Simple question about webforms: How to hide true address of website ? To this day a used "Server.Transfer()" to redirect to another page. In sql server I have a table with data like this: id adress 1 default.aspx 2 news.aspx 3 news.aspx?mpid=2&id=23 4 news.aspx?mpid=1
9
7533
by: adweaver | last post by:
Hello All, I'm new to the world of php. I've just had a site designed for me by a company, and I'm now trying to manage and grow it, so it will suit my needs. The site was built in a folder called mysite.com/test. I coppied this folder a number of times, so I now have mysite.com/test2, mysite.com/test3 etc. Each folder acts as its own landing page. they setup an interface where we can control the upsells presented to the customer;...
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10213
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9040
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.