Okay so I did some testing with this idea and if the element has a
background color on it, the iframe will show above it. You can see the
result on my test page.

--
Brandon Aaron

On 3/17/07, Brandon Aaron <[EMAIL PROTECTED]> wrote:
> Hey Joel,
>
> Thanks for the information! It is true that the iframe is behind the
> element it is called on by setting the z-index to -1 and by where it
> is inserted into the DOM. The only time the iframe should show through
> is if a child element (of the element that has the bgiframe method
> called on it) has an opacity of less then 1 on it. I believe I will
> take out setting the opacity by default (since in most cases it
> doesn't matter) and add an option to include it.
>
> --
> Brandon Aaron
>
> On 3/17/07, Joel Birch <[EMAIL PROTECTED]> wrote:
> > On 15/03/2007, at 2:41 AM, Brandon Aaron wrote:
> > > Okay ... I've got a sneak peak of the new bgiframe plugin here:
> > > http://brandon.jquery.com/plugins/_bgiframe/test/
> > >
> > > This discussion started in the recent suckerfish plugin thread ...
> > > basically they ran into an issue where the expressions used by the
> > > bgiframe plugin slow down animations in IE6. This has been brought up
> > > before. Hopefully the flexibility provided by the new settings will
> > > help solve this problem and a few others.
> >
> > Hi Brandon,
> >
> > If you recall, the addition of an iframe to the superfish submenus
> > interfered with the animations in IE6. You can see this in action on
> > my demo page. However, I have found that if I delete this...
> >
> > filter:Alpha(Opacity=\'0\');
> >
> > ...from your plugin, all the animations work perfectly as per real
> > browsers, and the submenus still stay above the select elements. I do
> > realise it's possible that this only happens to be a good option in
> > my case because I am adding the bgiframe solution only on hover (I
> > would remove them on 'hoverOut' too), therefore I don't need to make
> > the iframes invisible (I don't see the iframes even though I removed
> > that line - I take it the iframe is behind the submenu?).
> >
> > Would it be possible to add an option to your plugin so that the
> > opacity is not applied? That way developers have the option of
> > dynamically applying and removing the iframe, allowing animations to
> > work on the element the iframe is attached to.
> >
> > No rush of course - its the weekend :)
> >
> > Cheers
> > Joel Birch.
> >
> > _______________________________________________
> > jQuery mailing list
> > discuss@jquery.com
> > http://jquery.com/discuss/
> >
>

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to