Apologies for bringing up more queries regarding the same situation, but here it goes:
Although my text is top-notch and images are perfectly placed, I am looking to prevent the jquery slide method from running when the images are clicked (as those clicks are reserved for other functions). Is there a way to execute the slide function only when the 'block' to the left of the images is clicked?
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">
</script>
<script>
$(document).ready(function(){
$("#flip").click(function(){
$("#panel").slideToggle("slow");
});
});
</script>
<body>
<div id="flip">
<div id="flipBox"><p>Click to slide the panel down or up</p></div>
<img class="ux" src="http://placekitten.com/32/32" alt="complete" height="32" width="32" align="right" />
<img class="ux" src="http://placekitten.com/32/32" alt="add" height="32" width="32" align="right" />
<img class="ux" src="http://placekitten.com/32/32" alt="edit" height="32" width="32" align="right" />
<img class="ux" src="http://placekitten.com/32/32" alt="remove" height="32" width="32" align="right" />
</div>
<div id="panel">Hello world!</div>
</body>
For reference, here's the link to the jfiddle: http://jsfiddle.net/rvAPk/
I greatly appreciate the expertise of the community on SO! Thank you, everyone!
-AJ