document.body = null

document.body = null

Hi
 
I'm working with a Joomla site where I have included jQuery in order to have the basket follow the user as he/she scrolls down the screen.
 
Since Joomla/Virtuemart also uses mootolls I'ce understood that there are som potential conflicts here.
 
I believe that I have tried adressing these issues by using this code in a script element in the header:
 if (typeof jQuery != 'undefined') {

(function($) {

$(window).scroll(function () {

    handleBasketPos();

});

$(window).resize(function () {

handleBasketPos();

});

$(document).ready(handleBasketPos());

})(jQuery);

}

 

If I include this code I get a document.body is null error.
I should mention that jQuery.noConflict() have also been called.
 
Now I would also like to add the posibility to do rounded borders/corners in IE and is using a jQuery plugin for this.

(function($) {$('.rounded').corner();})(jQuery)

(function($) {$('.roundedcorner').corner();})(jQuery)
I have attempted to add the aboe 2 lines of code, but - as expected i guess - my problem did not go away :-)
 
The site is www.koedoggroent.dk
 
and at present the above lines are not included.