Forum Moderators: open
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>
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...]