[jQuery] bgiframe update, sneak peak

[jQuery] bgiframe update, sneak peak

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.
Notice that if you don't pass anything it acts just like it did
before, which is usually enough for most situations. However, there
are a few situations where having more control would be really nice.
So, I've made it possible to manually pass a top and left, width and
height and the src of the iframe. On the test page I demo several
different usages and the settings I passed to the bgiframe method.
One of the bigger things that makes this nice is that you can now use
other values other than pixels by manually passing in the values. You
can also pass your own expression() too. I still highly suggest using
the 'auto' settings because that automatically adjust the top, left,
width and height properties as the elements changes. However, you can
very easily hook into the iframe and change its properties as the
element changes in advanced situations by selecting the element,
$('iframe.bgiframe',scope).doWhatYouNeedToIt().
I'm going to be doing some more testing and hopefully push it into SVN
soon. BTW I've tagged the previous version of the bgiframe plugin
here: http://dev.jquery.com/browser/tags/plugins/bgiframe/1.0/bgiframe.js?format=txt
--
Brandon Aaron