<pre lang="Javascript"> <script type="text/javascript"> $(document).ready(function Ocultar() { //Oculta-Aparece-Derecha $('#toggle-right').toggle(function Ocultar1() { //Derecha $('#right-sidebar').animate({ width: "850px", backgroundColor: "#ffffff" }, 400); $('#button-right-sidebar').animate({ right: "850px" }); }, function () { $('#right-sidebar').animate({ width: "0px", backgroundColor: "#00000" }, 400); $('#button-right-sidebar').animate({ right: "0px" }); }); $('#toggle_medidas').toggle(function () { //Derecha $('#medidas').animate({ width: "90px", backgroundColor: "#ffffff" }, 400); //$('#botonMedidas').animate({ left: }); }, function () { $('#medidas').animate({ display: "none", width: "0px", backgroundColor: "#00000" }, 400); //$('#botonMedidas').animate({ left: }); }); }); </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)