Unfortunately, I need to click the itself. I've tried every
which way to avoid it, but the UI I'm creating requires it. 8|
On Sep 10, 11:09 am, ryanstreet <[EMAIL PROTECTED]>
wrote:
> perhaps, if you are looking to have an element shown for an indefinite
> period of time, perhaps just using show
perhaps, if you are looking to have an element shown for an indefinite
period of time, perhaps just using show() and hide() are more up your
alley.
So instead of toggle for a div, use show and hide elements. That way,
you don't have to write super functions and whatnot. That is the joy
of Jquer
Unfortunately, adding "return false" to the link inside the "toggle"
doesn't stop the toggling. The "return false" just cancels the
default behavior of the link (i.e. the href), but I need to cancel the
default behavior of the parent "toggle" . :\
On Sep 9, 6:45 pm, FrenchiINLA <[EMAIL PROTECTED
to make id simple i add an 'notoggle' id to your link you can use the
following code:
$('#toggle').click(function() { alert('toggle'); });
$('#notoggle').click(function() { alert('No Toggle'); return
false; }); or if you don't want use id for the link $('#toggle a')
instead of $('#
4 matches
Mail list logo