Basically…i have a jquery command
<script type="text/javascript">
$(document).ready(function() {
$('body').css('cursor', 'pointer');
$('body').click(function(event) {
if (event.target == event.currentTarget)
window.open('http://www.google.dk');
});
$('div#gk-wrapper').hover(function() {
$('body').css('cursor', 'auto');
}, function() {
$('body').css('cursor', 'pointer');
});
});
</script>
Which should work fine considering JAComment loads jquery 1.4.2 ….but it doesnt….it only works when i add this line of code right above it <
script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
Why is it that this happens??…what can i do to make my line of code work?