http://mundo-games.com/foro/
Lo de la columna... Quiero que si vos haces un click en ver columna se guarda un cookie y qe cada ves qe entres al sitio se vea segun la cookie (Abierta o oculta)
Se entiende?
Código javascript:
Ver original
<script type="text/javascript"> function cookies() { if(document.cookie == "sinbarra") { document.getElementById("right-side").style.width = "850px"; } if(document.cookie == "conbarra") { document.getElementById("right-side").style.width = "590px"; } }; $(function() { $("#mostrar").click(function(event) { event.preventDefault(); tamanio = document.getElementById("right-side").style.width if(tamanio == "590px") { document.cookie="sinbarra"; document.getElementById("right-side").style.width = "850px"; } if(tamanio == "850px") { document.cookie="conbarra"; document.getElementById("right-side").style.width = "590px"; } $("#left-side").slideToggle(); }); }); </script>
Eso intente hacer pero no tubo resultado :(
Necesito Ayuda