Hmm Didnt realize that would do the trick.  Because IE use an active x object
and IE7 does not. I admit Im not the javascript expert. Thanks for pointing
that out.

// This is only for IE6
if ( !($.browser.msie && typeof XMLHttpRequest == 'function') )  
return this;

And yes I do hope they add in a method to check a browser version. I believe
there is a plugin that adds that capability but It would be nice if it was
just native to jquery.



thumblewend wrote:
> 
> On 18/03/2007, at 3:10 PM, John W wrote:
>> Hey guys this is great stuff. Joel your menu works a lot better now  
>> under IE6
>> and Brandon thanks for making Bgiframe updates.  One thing I was  
>> wondering,
>> since IE7 doesnt really suffer from the same issue as IE6 perhaps  
>> there is a
>> way not to fire the bgiframe for IE7. There isnt really a reason  
>> to  have
>> the iframe with IE7 or maybe Im wrong?
>>
>> Too bad with with $.browser you cant specify the browser version  
>> only the
>> type. Hint hint for a jquery update.
> 
> Thanks John.
> Regarding excluding IE7 - the bgIframe already does that with these  
> lines:
> 
> // This is only for IE6
> if ( !($.browser.msie && typeof XMLHttpRequest == 'function') )  
> return this;
> 
> I was reading the archive of the dev list the other day and saw talk  
> about introducing $.browser.msie6. I didn't find what the resolution  
> of the thread was. Does anyone reading this know what was decided?
> 
> Joel.
> 
> 
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/bgiframe-update%2C-sneak-peak-tf3402941.html#a9537223
Sent from the JQuery mailing list archive at Nabble.com.


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

Reply via email to