detalles en totales empezando alta de material
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
|
||||
|
||||
|
||||
<body>
|
||||
|
||||
<p>Demonstrate fadeToggle() with different speed parameters.</p>
|
||||
|
||||
<button>Click to fade in/out boxes</button><br><br>
|
||||
|
||||
<div id="div1" style="width:80px;height:80px;background-color:red;">
|
||||
<br>
|
||||
<div id="div2" style="width:80px;height:80px;background-color:green;"></div>
|
||||
<br>
|
||||
<div id="div3" style="width:80px;height:80px;background-color:blue;"></div>
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$("button").click(function(){
|
||||
$("#div1").fadeToggle();
|
||||
$("#div2").fadeToggle("slow");
|
||||
$("#div3").fadeToggle(3000);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user