Hi, I really want to get into jQuery first of all.
I have a site im making, ove a balloon is clicked on it floats up and then goes to the targeted page. However they seem to bash into each other.
<script type="text/javascript">
$(document).ready(function(){
$("a.balloon-nav").click(function(event){
var target = $(this).attr("href");
var zIndex = $(this).css("z-index");
$(this).attr("href", "#").css("z-index", "100");
$(this).animate({ top: "-500px" }, 1000, function() {
$(this).css("z-index", zIndex);
window.location=target;
alert("foo");
});
});
});
</script>
http://www.special4you.co.uk/event-organiser-nottingham/events-organser-weddings-parties.php
is the link to the page.
I also would like to know the use of "event" and what "Propagation" means. If anyone could help it would be much appreciated.