[jQuery] Documentation in non greek?

[jQuery] Documentation in non greek?

Sean, you are the man! :)
Works like a well oiled machine!
Wanna swap brains? :)
Thanks ALOT!
>From: sunsean <littlecooldude@gmail.com>
>Reply-To: "jQuery Discussion." <discuss@jquery.com>
>To: "jQuery Discussion." <discuss@jquery.com>
>Subject: Re: [jQuery] Documentation in non greek?
>Date: Fri, 23 Jun 2006 13:26:07 -0500
>
>O! I see, try this:
>
>$(document).ready(function(){
> $("a.expand").toggle(function(){
> $(".expandme",this.parentNode).slideDown("slow");
> },function(){
> $(".expandme",this.parentNode).slideUp("slow");
> });
>$(".expandme").hide();
>});
>
>I switched the two function around, and added a line to hide them by
>default. Let me know if you're still having troubles.
>
>~Sean
>
>On 6/23/06, il Luminate <il_luminate@hotmail.com> wrote:
> >
> > Hi Sean,
> >
> > Well I am using FF (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4)
> > Gecko/20060608)
> > and I have to click on link <a class="expand">More info>></a> twice to
>be
> > able to show the hidden


> > And after the second click it works fine with just 1 click until I
>reload
> > the page...
> >
> > Puzzled...
> >
> >
> > >From: sunsean <littlecooldude@gmail.com>
> > >Reply-To: "jQuery Discussion." <discuss@jquery.com>
> > >To: "jQuery Discussion." <discuss@jquery.com>
> > >Subject: Re: [jQuery] Documentation in non greek?
> > >Date: Fri, 23 Jun 2006 12:58:01 -0500
> > >
> > >Um... I take that back (click doesn't take two functions)... the
> > >.toggle() should work. I even tested it. What sort of problem are you
> > >having?
> > >
> > >~Sean
> > >
> > >On 6/23/06, sunsean <littlecooldude@gmail.com> wrote:
> > > > Putting your code into a seperate js file is more than possible, I
> > > > highly recommend it. Consider perhaps trying this:
> > > >
> > > > $(document).ready(function(){
> > > > $("a.expand").click(function(){
> > > > $(".expandme",this.parentNode).slideUp("slow");
> > > > },function(){
> > > > $(".expandme",this.parentNode).slideDown("slow");
> > > > });
> > > > });
> > > >
> > > > ~Sean
> > > >
> > > > On 6/23/06, il Luminate <il_luminate@hotmail.com> wrote:
> > > > > Hi again,
> > > > > I have tried to follow this what you guys have written butt now it
>is
> > >even
> > > > > more in greek.
> > > > > First of all is there some kind of wiki or documentation for us
>NON
> > > > > programmers?
> > > > > Second I am still having problems with the dubble click issue..
> > > > >
> > > > > <code>
> > > > > <script type="text/javascript">
> > > > > $(document).ready(function(){
> > > > > $("a.expand").toggle(function(){
> > > > > $(".expandme",this.parentNode).slideUp("slow");
> > > > > },function(){
> > > > > $(".expandme",this.parentNode).slideDown("slow");
> > > > > });
> > > > > });
> > > > > </script>
> > > > > <body>
> > > > > <div>
> > > > >

Some text goes in here


> > > > > <p class="expandme">Lots of text


























































> > > > > <a class="expand">More info>></a>
> > > > > </div>
> > > > >
> > > > > <div>
> > > > >

Some text goes in here


> > > > > <p class="expandme">Lots of text
> > > > > <a class="expand">More info>></a>
> > > > > </div>
> > > > >
> > > > > <div>
> > > > >

Some text goes in here


> > > > > <p class="expandme">Lots of text
> > > > > <a class="expand">More info>></a>
> > > > > </div>
> > > > > </body>
> > > > > </html>
> > > > > </code>
> > > > >
> > > > > And in stylesheet I have what Klaus wrote:
> > > > >
> > > > > <code>
> > > > > .expandme {
> > > > > display: none;
> > > > > }
> > > > > </code>
> > > > >
> > > > > Also instead of writeing everything in the html document, is is
> > >possible to
> > > > > write everything in an external file like somefile.js? Just to
>keep it
> > >nice
> > > > > and tidy :) And do not laugh becuase I am a total n00b.
> > > > >
> > > > > Take care all
> > > > >
> > > > >
> > > > > >From: "Sam Collett" <sam.collett@gmail.com>
> > > > > >Reply-To: "jQuery Discussion." <discuss@jquery.com>
> > > > > >To: "jQuery Discussion." <discuss@jquery.com>
> > > > > >Subject: Re: [jQuery] Documentation in non greek?
> > > > > >Date: Fri, 23 Jun 2006 15:52:07 +0100
> > > > > >
> > > > > >Yes, because you only have to wait for head to load, not the
>whole
> > > > > >page. So much quicker. I think it will run before jquery.js has
>been
> > > > > >downloaded as well (not on a slow enough connection to test
>that).
> > > > > >
> > > > > >On 23/06/06, Klaus Hartl <klaus.hartl@stilbuero.de> wrote:
> > > > > > > ah, very smart! that way it is even faster than hiding all on
> > > > > > > document.ready I assume?
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Sam Collett schrieb:
> > > > > > > > On 23/06/06, Klaus Hartl <klaus.hartl@stilbuero.de>