Sounds great Brandon. My only thought is that currently your plugin  
is nice and light which is  great for such a useful utility plugin.  
Wouldn't adding all these features bump up the size to almost 200%?

On the other hand I'm sure you have weighed the pros and cons of this  
so... awesome!

Joel.

On 14/03/2007, at 12:45 AM, Brandon Aaron wrote:
> I'm thinking about changing the name of offsetTop to top and
> offsetLeft to left. I think it would be less confusing, less typing
> and more representing of what they really are. :)
>
> --
> Brandon Aaron
>
> On 3/13/07, Brandon Aaron <[EMAIL PROTECTED]> wrote:
>> Reading this has inspired me to update the bgiframe plugin. I'm going
>> to have an options hash that can be passed in. The options will be:
>>
>> * offsetTop: auto || specific value
>> * offsetLeft: auto || specific value
>> * width: auto || specific value
>> * height: auto || specific value
>> * zIndex: -1 || specific value
>> * tabIndex: -1 || specific value
>> * src: 'javascript:false;' || specific value
>> * className: 'bgiframe' || specific value
>>
>> The offsetTop and offsetLeft are automatically calculated as the
>> border's width and height (depending on top or left). If you pass  
>> in a
>> value for the offsetTop and offsetLeft, then the expressions used to
>> calculate borders will not be included. Same applies for the width  
>> and
>> height options.
>>
>> This will make the plugin more reusable across other plugins and
>> sites. So instead of commenting out the expressions, you could just
>> manually set and offsetTop and offsetLeft values for your particular
>> situation.
>>
>> Feature/enhancement requests?
>>
>> Hopefully I can have something ready today but that depends on  
>> work. :)
>>
>> --
>> Brandon Aaron


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

Reply via email to