I had to go searching for the script in the js file

   $("#toonalleseizoenen").toggle(function(){
$("#alleseizoenen").animate({ height: 'hide', opacity: 'hide' }, 'slow');
   },function(){
$("#alleseizoenen").animate({ height: 'show', opacity: 'show' }, 'fast');
   });

You're using toggle (and as far as I know it's in an incorrect manner ? )

$("#toonalleseizoenen").click(function() {
   $("#alleseizoenen").toggle();
}

http://docs.jquery.com/Effects/toggle

L

SamV wrote:
Hi all,

when clicking an item on my website, it has to expand so you see some
more options (links). Now, when I want it to appear, I have to click
it twice, after I clicked it twice, it works perfectly with one
click..

Anyone who can help me out here? You can find the code on:
http://www.spurtersite.aclebbeke.be/spurters.php
Beneath "Tijden" >> "Toon alles"

Thx!
------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.21/2252 - Release Date: 07/21/09 05:58:00


Reply via email to