By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,857 Members | 1,768 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,857 IT Pros & Developers. It's quick & easy.

Safari: hidden IFRAME getting tab focus

100+
P: 101
Hi,

I have a page. There is a section 'sidebar' where bulleted text is there. Just after first bullet there is a hidden IFRAME. That go visible on clicking of that bullet text.

My problem is with Safari Browser in Mac and WindowsXP.

When we press the tab after first bullet link instead of going to next bulleted text the focus goes to the hidden IFRAME. How can I avoid the focus to hidden IFRAME.

I tried both visibility:hidden and display:none still it is getting focus in Safari

Please help
Oct 31 '08 #1
Share this Question
Share on Google+
6 Replies


Expert 100+
P: 397
I have a page.
That's nice. I have a red pencil box.

I'll trade you my red pencil box for a clickable link to your page.
Oct 31 '08 #2

100+
P: 101
That's nice. I have a red pencil box.

I'll trade you my red pencil box for a clickable link to your page.
Please help to solve this issue
Oct 31 '08 #3

Expert 100+
P: 397
Please help to solve this issue
Insufficient information. Provide a clickable link to the page/question/problem in your post to this forum.
Oct 31 '08 #4

100+
P: 101
Insufficient information. Provide a clickable link to the page/question/problem in your post to this forum.
Here is the sample code that have the same issue in Safari.
I am using Winodws XP Safari 3.1.2 version
[PHP]
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<title>Safari Iframe Testing</title>
</head>
<body>
<input type="text"/>
<input type="text"/>
<a href="">Some Link 1</a>
<iframe style="display:none"></iframe>
<a href="">Some Link 2</a>
<a href="">Some Link 3</a>
</body>
</html>[/PHP]


if I uses tabindex="-1" in iframe that resolve the issue. will it be a suitable tweak?
Oct 31 '08 #5

Expert 100+
P: 397
Message deleted as I had second thoughts regarding a suggestion I proposed for the issue.
Oct 31 '08 #6

100+
P: 101
Message deleted as I had second thoughts regarding a suggestion I proposed for the issue.
Please tell me the solution
Nov 5 '08 #7

Post your reply

Sign in to post your reply or Sign up for a free account.