[jQuery] Re: Do something when id of clicked anchor is home

2009-08-23 Thread StefanCandan
K, I got it. Changed paragraphs to divs tho. $(document).ready(function(){ $("li").hide() $("p.subtitle").hide() $("p.copy").hide() $("div[name!=home][class=body]").hide() var $i=500; $("li:eq(0)").show($i, function(event){ // use callee s

[jQuery] Re: Jquery + ExtJS 3.0

2009-08-23 Thread Steven Yang
try switching the order of to

[jQuery] Re: preventDefault

2009-08-23 Thread Hans
Thanks, James! the :has() selector did not work on the 'if' statement, but you put me on the right track. the code now looks like this: $('ul#hoofdNavigatieLijst > li > ul > li:has("ul") > a ').click (function(event) { event.preventDefault(); }); and it

[jQuery] Re: Prepending different content to an element

2009-08-23 Thread jannewmarch
I worked it out. i wanted to add an image into the url, and the image url depended on the url itself. i.e. I wanted to change defg into defg I did it by $("td").each(function(i) { url = $(this).children("a") text = url.text()

[jQuery] Re: Jquery + ExtJS 3.0

2009-08-23 Thread mikfig
http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> ... ... ...