[jQuery] bgiframe & superfish
I've been implementing a menu with the superfish menu, and have been
troubleshooting IE (as usual). I'm using the bgiframe plugin as
prescribed in the superfish documentation.
$(document).ready(function(){
$("ul.nav")
.superfish({
animation : { opacity:"show", height:"show" }
})
.find(">li:has(ul)")
.mouseover(function(){
$("ul", this).bgIframe({opacity:false});
})
.find("a")
.focus(function(){
$("ul", $(".nav>li:has(ul)")).bgIframe({opacity:false});
});
});
When I use IE's DOM Explorer to look at the menu, I notice that
bgiframe is placing the iframe inside the UL, like this
<ul class="sfHover">
<iframe class="bgiframe"></iframe>
<li></li>
<li></li>
</ul>
Isn't that invalid? Shouldn't the iframe be wrapping the UL?
it just doesn't look right - am I crazy?
rolfsf