Hi Dave,
> I don't think that's quite what you're after. If you're dealing with
> a bunch of links, you probably want to take a look at
> http://icant.co.uk/sandbox/eventdelegation/
[cut]
Thank you for your clear and helpfully code and suggest, I have learned
something new :)
--
Massimiliano
Massimiliano Marini wrote:
Hi Sean,
You're on the right track. To only show one at a time, simply store
the last one open in a variable and close it before opening the new
one, here's an example:
Thank you for your help, your suggest have inspired me and I've writed
this code, I don't know i
Hi Sean,
> You're on the right track. To only show one at a time, simply store
> the last one open in a variable and close it before opening the new
> one, here's an example:
Thank you for your help, your suggest have inspired me and I've writed
this code, I don't know if have sense or not, but
On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
No need to store anything in a variable. That gets murky. Just hide
them all via a selection on class and then show the one you want after
that. Then you need not remember anything about state.
That takes more processing time, and for
No need to store anything in a variable. That gets murky. Just hide
them all via a selection on class and then show the one you want after
that. Then you need not remember anything about state.
-khoker
On Apr 26, 10:49 am, "Sean Catchpole" <[EMAIL PROTECTED]>
wrote:
> You're on the right t
You're on the right track. To only show one at a time, simply store
the last one open in a variable and close it before opening the new
one, here's an example:
var currOpen;
$("scTopNavList a").click(function(){
if(currOpen) currOpen.hide("fast");
currOpen = $(this.href);
currOpen.show(
One of the problems is that LI tags don't really make good candidates for
showing and hiding like you're trying.
Another problem is that in your code is that you're trying to show/hide an A
tag which is an inline tag. You'd be better off changing your code to
something like this:
Pippo
7 matches
Mail list logo