View Single Post
Old 06-23-2009, 10:29 AM   #2 (permalink)
Runar
The Contributor
 
Runar's Avatar
 
Join Date: Nov 2008
Location: Norway
Posts: 58
Thanks: 20
Runar is on a distinguished road
Default

The following code is using toggle effect and is not tested, but I believe it should work:

HTML Code:
<script type="text/javascript">
$(document).ready(function(){
    $('#hidefixtures').click(function(){
        $('#fixtures').toggle();
    });
});
</script>
You can also make it appear/disappear during an animation, adding a speed to the toggle() function:

HTML Code:
$('#fixtures').toggle('slow');
Let me know if it works the way intended.


Yours, Runar
Send a message via MSN to Runar
Runar is offline  
Reply With Quote