No veo la jQuery en el sitio que está señalando, y espero que esto es lo que desean. Tuvo que trabajar en éste por un minuto

Didnt ver fácilmente por ahí en cualquier lugar...
EDIT: OK, yo veo los resúmenes de ahora, y sí, esto debe hacer usted.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
$(document).ready(function(){
$("span").click(function () {
$("p").each(function() {
vis = $(this).css("visibility");
if(vis == "visible") {
$(this).fadeOut('slow',function() {
$(this).css("visibility","hidden");
});
} else {
$(this).css("visibility","visible");
$(this).fadeIn('slow');
}
});
});
});
</script>
<style>
p { width:400px; }
</style>
</head>
<body>
<span>Toggle</span>
<p>
This is the paragraph to end all paragraphs. You
should feel <em>lucky</em> to have seen such a paragraph in
your life. Congratulations!
</p>
</body>
</html>
-
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <script src="http://code.jquery.com/jquery-latest.js"></script>
-
- <script>
- $(document).ready(function(){
-
- $("span").click(function () {
- $("p").each(function() {
- vis = $(this).css("visibility");
- if(vis == "visible") {
- $(this).fadeOut('slow',function() {
- $(this).css("visibility","hidden");
- });
- } else {
- $(this).css("visibility","visible");
- $(this).fadeIn('slow');
- }
- });
- });
- });
- </script>
- <style>
- p { width:400px; }
- </style>
- </head>
- <body>
- <span>Toggle</span>
- <p>
- This is the paragraph to end all paragraphs. You
- should feel <em>lucky</em> to have seen such a paragraph in
- your life. Congratulations!
- </p>
- </body>
- </html>
-
Establecer la visibilidad dentro y fuera no es especialmente requerida por el jQuery, pero proporciona un indicador para conocer el estado actual del párrafo. Sólo sé que este control de todos los párrafos de la página - si usted desea conseguir específicos, dar su punto de identidad o el grupo de los apartados una determinada clase CSS vacío y utilizar estos mecanismos en el selector de jQuery en lugar de p.
I'd love to change the world, but they won't give me the source code.