No worries! Glad you got it figured out and sorry I wasn't able to get back
to you sooner. :)
--
Brandon Aaron

On Sat, Nov 15, 2008 at 2:39 PM, n00bert <[EMAIL PROTECTED]> wrote:

>
> Got it sorted. ie doesn't like the selector. Now using a different
> method, but still with livequery. Sorry to have bothered you Brandon,
> and thanks for such a powerful plugin.
>
> Sameer
>
> On Nov 14, 9:50 pm, n00bert <[EMAIL PROTECTED]> wrote:
> > Hi Brandon,
> >
> > I've tried changing this code:
> >
> > $('#mainMenu ul li ul li a[href$="' + href + '"]').triggerHandler
> > ('click');
> >
> > to:
> >
> > $('#mainMenu ul li ul li a:first').triggerHandler('click');
> >
> > in order to see if it was the selector that's causing the problem. It
> > seems it is. The second line of code works as expected in ie6 and ie7.
> >
> > Is there another way of selecting a link with a href that matches the
> > clicked link's href?
> >
> > Thanks,
> >
> > Sameer
> >
> > On Nov 14, 3:31 pm, n00bert <[EMAIL PROTECTED]> wrote:
> >
> > > Hi Brandon,
> >
> > > no errors in ie at all. I've uploaded the site I'm working on
> athttp://rosiespencer.co.ukWhenit loads, click a small thumb. The menu
> > > should slide down and the contents of #content are replaced via ajax.
> > > Some larger thumbs appear. This is where it breaks in ie. In other
> > > browsers if you click one of the bigger thumbs, #content is replaced
> > > as expected.
> >
> > > Thanks again for your help,
> >
> > > Sameer
> >
> > > On Nov 14, 2:23 pm, "Brandon Aaron" <[EMAIL PROTECTED]> wrote:
> >
> > > > On Thu, Nov 13, 2008 at 10:26 PM, n00bert <[EMAIL PROTECTED]>
> wrote:
> >
> > > > > Hi Brandon,
> >
> > > > > I put an alert in like so:
> >
> > > > > $('#content div.thumb a').livequery('click', function(e) {
> > > > >         alert ('clicked');
> > > > >         e.preventDefault();
> > > > >        var href = $(this).attr('href');
> > > > >        $('#mainMenu ul li ul li a[href$="' + href +
> '"]').triggerHandler
> > > > > ('click');
> > > > >        return false;
> > > > > });
> >
> > > > > Safari, Firefox and Opera all show the alert when clicked. ie6 and
> ie7
> > > > > do not. In firebug, there are no errors. Any clues?
> >
> > > > But are there any errors in IE?
> >
> > > > --
> > > > Brandon Aaron
>

Reply via email to