06-23-2009, 10:29 AM
|
#2 (permalink)
|
|
The Contributor
Join Date: Nov 2008
Location: Norway
Posts: 58
Thanks: 20
|
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
|
|
|