[jQuery] Re: show hidden div on click

2008-07-16 Thread neuron
Thanks for the help everyone- it works! :) Now, some tweaking... I have several divisions that I want to show in this manner, so how do I make the code a general rule as opposed to a specific order to show #overview? For example, how would I show #contact without writing a new script snippet? I wo

[jQuery] Re: show hidden div on click

2008-07-14 Thread Smith, Allex
Here is how I would approach this: JavaScript $(document).ready(function(){ $('.fadein').click(function(){ // Make the id overview show $('#overview').show('slow'); // override default a behavior

[jQuery] Re: show hidden div on click

2008-07-14 Thread Kevin Pepperman
without seeing all your code... The main thing I see wrong here is you are calling your fadin() function with an unneeded argument that is also a string that is not encased by quotes. The argument is not required for your function at all-- So try this: Overview If you DO need the argument for

[jQuery] Re: show hidden div on click

2008-07-14 Thread Giovanni Battista Lenoci
David J Bauer ha scritto: Note that in the CSS I have visibility as hidden: is that a problem? Use display:none :-) bye -- gianiaz.net - web solutions p.le bertacchi 66, 23100 sondrio (so) - italy +39 347 7196482