Vlad_spy90 0 Raportează post Postat Septembrie 6, 2009 am urmatorul script: function showlayer(layer){ var myLayer = document.getElementById(layer).style.display; if(myLayer=="none"){ document.getElementById(layer).style.display="block"; } else { document.getElementById(layer).style.display="none"; } } si html: <a href='#' onclick="java script:showlayer('submeniu1')">SELF-PORTRAIT</a> <a href='#' onclick="java script:showlayer('submeniu2')">THE OBJECT</a> <a href='#' onclick="java script:showlayer('submeniu3')">STUDIES FOR THE CHANGE</a> vreau ca in momentul cand un div este visibil, si deschid alt div, cel visibil sa devine hidden. adica in momentul de fata pot sa le deschid pe toate odata. Partajează acest post Link spre post Distribuie pe alte site-uri
radu84 0 Raportează post Postat Septembrie 8, 2009 http://www.google.com/#hl=en&safe=acti...660c8c9034aa934 Partajează acest post Link spre post Distribuie pe alte site-uri