hi a1anm,

if it's a CSS property, you can always determine that without relying
on the deprecated $.browser object...

$(function() {
        // Check for the property you are interested in. Will be a
Boolean value
        var opera = typeof $("body")[0].style["OperaOnlyCSSProp"] ===
"undefined";

        if (opera) {
                // do something
        }
});

On Sep 22, 9:31 pm, a1anm <alanmoor...@gmail.com> wrote:
> it's a css property so I'm not sure if checking to see if it is
> supported if possible.  The link you posted did the trick though.
> thanks.
>
> On Sep 22, 9:37 pm, MorningZ <morni...@gmail.com> wrote:
>
> > While it's recommended to look for features/support more than actual
> > browser type, jQuery.browser is still in the library
>
> >http://docs.jquery.com/Utilities/jQuery.browser
>
> > On Sep 22, 9:25 pm, a1anm <alanmoor...@gmail.com> wrote:
>
> > > Hi,
>
> > > I would like to output the followin content if the browser isn't
> > > opera:
>
> > >                 <ul id="navigation">
> > >                         <li class="homelink" 
> > > onclick="homeSlide()">home</li>
> > >                         <li class="aboutlink" 
> > > onclick="aboutSlide()">about</li>
> > >                         <li class="portfoliolink" onclick="portfolioSlide
> > > ()">portfolio</li>
> > >                         <li class="serviceslink" 
> > > onclick="servicesSlide()">services</
> > > li>
> > >                         <li class="contactlink" 
> > > onclick="contactSlide()">contact</
> > > li>
> > >                         </ul>
>
> > > If the browser is opera I would like to output something slightly
> > > different.
>
> > > How would I do this?
>
> > > Thanks!

Reply via email to