homepage Welcome to WebmasterWorld Guest from 54.205.14.21
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Browsers / Opera Browser Usage and Support
Forum Library, Charter, Moderator: open

Opera Browser Usage and Support Forum

    
Opera 9.02, tabindex on elements with display:none not working
IE and FF working fine
mupo




msg:3185212
 4:15 pm on Dec 11, 2006 (gmt 0)

Hello,

i have for example 10 input elements type="image" with tabindex from 1 to 10.

Set some of them to display:none and Opera 9.02 stops tabbing at these elements. You can not get to higher tabindexes.
IE and FF are working fine.

Is this a bug or a feature ;-)
Does someone knows a workaround?

Thank you!
mupo

CODE:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>tabindex with display:none in Opera 9.02 buggy?</title>
</head>
<body>
<input tabindex="1" type="image" src="example.gif">
<input tabindex="2" type="image" src="example.gif">
<input tabindex="3" type="image" src="example.gif">
<input tabindex="4" style="display:none" type="image" src="example.gif">
<input tabindex="5" type="image" src="example.gif">
<input tabindex="6" style="display:none" type="image" src="example.gif">
<input tabindex="7" type="image" src="example.gif">
<input tabindex="8" style="display:none" type="image" src="example.gif">
<input tabindex="9" type="image" src="example.gif">
<input tabindex="10" style="display:none" type="image" src="example.gif">
</body>
</html>

 

encyclo




msg:3200443
 2:03 am on Dec 27, 2006 (gmt 0)

It's a feature - Opera removes elements styled with
display:none; completely out of the DOM, which leads to the kind of problems you are experiencing. Here's an earlier thread on a very similar issue:

[webmasterworld.com...]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Browsers / Opera Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved