Tabbing in IFrames: IE 6

R

Ryan Stewart

Using IE 6... When focus is within an IFrame and you press Tab, it tends to
move the focus to the next component after the IFrame rather than to the
next one within it. Is there some way to overcome this? I tried setting the
IFrame's tabIndex to -1, but that only seems to work when it feels like it.
As much as I would like to do so, removing the IFrame is not an option at
this time, so I don't need that suggestion. Although if you have any
constructive advice or helpful links on how to get IFrame-like behavior
(loading a page within a page) in another, more cross-browser compatible
way, it could be useful in the future.
 
M

mscir

Ryan said:
Using IE 6... When focus is within an IFrame and you press Tab, it tends to
move the focus to the next component after the IFrame rather than to the
next one within it. Is there some way to overcome this? I tried setting the
IFrame's tabIndex to -1, but that only seems to work when it feels like it.
As much as I would like to do so, removing the IFrame is not an option at
this time, so I don't need that suggestion. Although if you have any
constructive advice or helpful links on how to get IFrame-like behavior
(loading a page within a page) in another, more cross-browser compatible
way, it could be useful in the future.

Ryan,

I loaded an iframe into IE6, Netscape 7.1, and tab worked fine in both
browsers, selecting successive items in the page loaded into the iframe
(code below).

How about you post your code so I can try to replicate the problem?

<body>
<P>
<IFRAME SRC="http://www.google.com" WIDTH="80%" HEIGHT=400></IFRAME>
<IFRAME SRC="http://www.atomz.com" WIDTH="20%" HEIGHT=400></IFRAME>
</P>
</body>

Mike
 
R

Ryan Stewart

Toby A Inkster said:

But could you have something like the following (fixed width font
needed) :

|-------------------------------------------|
| |
| some content |
| |
| |------------------------------| |
| | | |
| more | | |
| content | | |
| | the DIV | |
| | | |
| | | |
| | | |
| | | |
| |------------------------------| |
| |
|-------------------------------------------|

Some links in the other content would load a new page into the div,
preferably without refreshing the entire page. This is a JSP project,
btw, and I'm quite familiar with includes and such. Is this at all
possible or am I dreaming?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top