You can right click and click View Source to see the source code of the
page, just search around untill you find a div with the class of
"contentToChange", and inside of that, a 'p' with the class 'firstparagraph'

On 5/10/07, c19h28o2 <[EMAIL PROTECTED]> wrote:


Hi,

On the jquery live examples site
http://www.jquery.com/Tutorials:Live_Examples_of_jQuery
example B - which is 2 buttons which slide some text into and out of a
paragragh.

The code for the example is...

$("div.contentToChange p.firstparagraph:hidden").slideDown("slow");
$("div.contentToChange p.firstparagraph:visible").slideUp("slow");

I wanted to know how how this was setup on the HTML side?

Thanks


Reply via email to