Ah, Brilliant!
That works in IE6 and FF2
I need to make sure it works in IE7 as well. Can I take the same
statment: top: $.browser.msie ? 100 : -60 ,
and make it specific to IE6? so is: top: $.browser.msie6 ? 100 : -60,
going to work?
Thanks!
On May 20, 2:04 pm, Mike <[EMAIL PROTECTED]> wrote:
> > Thanks for this. I played around and can't find any docs to explain it
> > specifically...
>
> > This is the code I'm working with:
>
> > $.tooltip = {
> > blocked: false,
> > defaults: {
> > delay: 200,
> > showURL: true,
> > extraClass: "",
> > top: -60,
> > left: 15,
> > id: "tooltip"
> > },
>
> > Would this become:
>
> > $.tooltip = {
> > blocked: false,
> > defaults: {
> > delay: 200,
> > showURL: true,
> > extraClass: "",
> > top: $.browser.ie ? 100 : -60
> > left: 15,
> > id: "tooltip"
> > },
>
> > Sorry for the confusion... I've looked at the syntax of javascript
> > before today...
>
> > Brian
>
> Jörn meant to write this:
>
> top: $.browser.msie ? 100 : -60