<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" src="/demo/slide/jquery.js"></script> <script type="text/javascript"> $(document).ready(function() {
$("p").hide();
$("h2").click(function() {
$("p").slideToggle("slow");
});
});
* {
margin:0;
padding:0;
background:#FEFCF1;
}
#container {
width:472px;
margin:0 auto;
font:11px tahoma, verdana, sans-seriff;
color:#908673;
line-height:15px;
}
ul {
list-style:none;
}
li p{
padding:4px;
}
Jakiś tam tekst. Jakiś tam tekst. Jakiś tam tekst. Jakiś tam tekst. Jakiś tam tekst.
Jak dodać do tego kodu jQuery ciasteczka?
Ten post edytował PiotrN 10.05.2010, 13:18:27