Home

Tuesday, January 10, 2012

How to show and hide div tag using Jquery

<script type="text/javascript">//<![CDATA[
$(window).load(function(){
//$('#song_click').mouseover(function()
$('#song_click').click(function()
{
    $("#song_panel").animate({width:'toggle'},500);      
});
});//]]>
</script>
<div style="display: none;" id="song_panel">
   Test
</div>
<div id="song_click"></div>

No comments:

Post a Comment

rathoddhirendra.blogspot.com-Google pagerank and Worth