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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -