<html>
<head>
<script type="text/javascript" src="js/jquery-1.3.2.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("div").toggle(
function () {
$(this).css({"color":"blue"});
},
function () {
$(this).css({"color":"red"});
},
function () {
$(this).css({"color":"yellow"});
}
);
});
</script>
</head>
<body>
<body>
<div>header 1</div>
</body>
</html>
|