javascript - How do i make so the div's overlap with eachother? -
how make when press button instead of div dropping under div the maybe 'home' div disappear when fire other show hidden div ?
here's javascript:
jquery(document).ready(function () { jquery('#hideshow2').live('click', function (event) { jquery('#content2').toggle('show'); }); });
pretty easy..... see fiddle. http://jsfiddle.net/rcfvx/
jquery(document).ready(function () { jquery('#homebtn').click(function (event) { jquery('#one').toggle(); jquery('#two').toggle(); }); });
Comments
Post a Comment