3
I have three menus, when I click on each one, it leaves a div that was like display:none
as display:block
. What is happening is that your clicking on Menu 1 and then on Menu 2, it is adding a div at the bottom of the other.
Jquery is like this:
$( "#dadosTecnicos" ).click(function() {
$( "#mostrarDadosTecnicos" ).fadeToggle( 'fast', function() {});
});
$( "#galeria" ).click(function() {
$( "#mostrarGaleria" ).fadeToggle( 'fast', function() {});
});
$( "#downloads" ).click(function() {
$( "#mostrarDownload" ).fadeToggle( 'fast', function() {});
});
For example: by clicking on id
data he shows the div mostrarDadosTecnicos
if after I click on galeria
, the mostrarGaleria
will stay under mostrarDadosTecnicos
.
Example in Jsfiddle
Could you do it on http://jsfiddle.net/
– Silvio Andorinha
Of course. It looks like this: http://jsfiddle.net/felipestoker/2NNe8/
– Felipe Viero Goulart