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
try switching the order of
to
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
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()
http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
...
...
...