[jQuery] Re: ie and firefox browser test

2007-10-25 Thread RichUncleSkeleton
> I want to test if the browser is ie or firefox and then set the width > and height of a thickbox differently depending on this. Is this > considered bad practice and if so how might you do it better? If you're setting the width/height based on interface factors such as the width of the scrollb

[jQuery] Re: ie and firefox browser test

2007-10-25 Thread Wizzud
jQuery provides the following booleans jQuery.browser.msie or jQuery.browser.mozilla > > Is this considered bad practice and if so how might you do it better? That really depends on why you're doing it. If you want it to be different then go ahead. If you just can't get it to be the same wi

[jQuery] Re: ie and firefox browser test

2007-10-25 Thread cfdvlpr
Maybe this is best done with server side code such as this in Coldfusion? On Oct 25, 10:48 am, cfdvlpr <[EMAIL PROTECTED]> wrote: > I want to test if the browser is ie or firefox and then set the width > and height of a thickbox differently depending on this. Is this > considered bad practice