|
JQuery put text into a div onclick
Hi guys I learn how to let blink links with fading onclick.
But now I would like to put text and pictures in a page div when I click on a link without load again the page. How can I script it?
This is my noob script for links:
<script type="text/javascript">
$("a").click(function(event){
event.preventDefault();
$(this).fadeOut("slow");
$(this).fadeIn("slow");
});
</script>
|