Re: [jQuery] return false

2007-03-24 Thread Sebastián V . Würtz
would still fire like a normal link. Alternatively, you could use another element (like a span, styled like an anchor) to achieve the same effect. On Mar 24, 8:30 am, Sebastián V. Würtz <[EMAIL PROTECTED]> wrote: > I have a html like this > > > > cat1 >

[jQuery] return false

2007-03-23 Thread Sebastián V . Würtz
I have a html like this cat1 ... The html $('#list a').each(function(i){ $(this).click(function(event){ $("#list").fadeOut("slow").load(this.href); $("#list").fadeIn("slow");return false; }) When i click in 1 option the "list" hi

Re: [jQuery] get element inside a div simple question

2007-03-02 Thread Sebastián V . Würtz
Ok, this is how my final (?) code look I think it have too many if, a function for make the same thing could help but at least it work and perfectly $("#toc").addClass("toc derecha"); $("#toc").prepend('Tabla de contenidos<\/h2><\/ul>'); counter = 1; $('*','#main_content').each(function() {