No, they're jquery core functions.  The fact that you're using Superfish
may complicate the use of .load and .empty for this purpose.

However, just use the .empty, then .load on whatever container you have
for the Superfish menu and see if it repopulates quickly enough and in the
manner that you desire.

I use the .empty and .load method mainly for dynamic menus.

hth,

Rick

-----Original Message-----
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of JC
Sent: Tuesday, July 21, 2009 2:48 PM
To: jQuery (English)
Subject: [jQuery] Re: Superfish How to programatically unexpand menus.


Is the .load and .empty superfish plugin methods?

On Jul 21, 6:59 am, "Rick Faircloth" <r...@whitestonemedia.com> wrote:
> What I do is use .load in the success section of my ajax function to
reload
> my menu.  I ".empty" it first, then immediately ".load" it again...
>
> -----Original Message-----
> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
>
> Behalf Of JC
> Sent: Tuesday, July 21, 2009 1:13 AM
> To: jQuery (English)
> Subject: [jQuery] Superfish How to programatically unexpand menus.
>
> I notice,
> when someone tabs through with the keyboard, and presses enter on a
> link, it triggers the click event on that link (which is good) but
> then the menu stays open.. In my case, I'm not directing the user to a
> new page, just loading up ajax content, so the menus just hang there
> open.. I want to close them after a click/pressing enter..
> Does anyone know of a way to do this? Or should this go with my gripes
> about keyboard navigation.

Reply via email to