I am creating a childtheme of thematic and I have a couple of div’s that I want to slide into the page. It works if I do not include the WordPress jquery file but If I include it this now breaks. I am a bit confused as why?

The script is:

$(window).load(function(){
$("div.home-sidebar, div.draw-logo")
.css("margin-left",-$(this).width())
.animate({
    marginLeft:0
}, 4000);
$("div.menu-links")
.css("margin-top",-$(this).width())
.animate({
    marginTop:0
}, 5000);
});

Read more here: javascript onload slide in


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, ,

Wordpress related questions and answers: