[resolvido] Menu Abre, Mas Quando Fecha, Abre Sozinho Novamente
#1
Posted 05/03/2009, 14:10
[codebox] //FUNCAO DO MENU EM JQUERY
$(document).ready(function(){
$("dd").hide();
$("dt a").click(function(){
$("dd:visible").slideUp("slow");
$(this).parent().next().slideDown("slow");
return false;
});
});
//---- Fim ---------------
[/codebox]
[codebox] <dt><a href="#"><img src="imagens/menuInformativos.jpg" alt="Informativos" width="207" height="21" /></a></dt>
<dd>
<ul>
<li>Agenda Mensal</li>
<li>Pesquisa Salarial</li>
<li>Links</li>
<li>Notícias</li>
</ul>
</dd>
[/codebox]
Se este post lhe ajudou, ajude o fórum também. Use a reputação de mensagens!
#2
Posted 10/03/2009, 21:33
$(document).ready(function(){ $("dd").hide(); $("dt a").click(function(){ $("dd:visible").slideUp("slow"); if($("dd:visible").index(this)!=-1){ $(this).parent().next().slideDown("slow"); return false; } }); });
não testei, só estou na duvida se o this que usa dentro do index é this ou index($(this)), qualquer coisa você troca.
Edição feita por: Édipo Costa Rebouças, 10/03/2009, 21:35.
#3
Posted 20/03/2009, 16:11
Não funfou edipo, ele até desativou a descida do conteúdo! O que pode ser será?
Se este post lhe ajudou, ajude o fórum também. Use a reputação de mensagens!
#4
Posted 23/03/2009, 10:03
$(document).ready(function(){ $("dd").hide(); $("dt a").click(function(){ // se o menu estiver aberto fecha todos if( $(this).parent().next().is(':visible') ) $("dd:visible").slideUp("slow"); // se ele estiver fechado, fecha todos e abre ele else { $("dd:visible").slideUp("slow"); $(this).parent().next().slideDown("slow"); } return false; }); });
Edição feita por: Édipo Costa Rebouças, 24/03/2009, 09:35.
#5
Posted 24/03/2009, 11:22
Se este post lhe ajudou, ajude o fórum também. Use a reputação de mensagens!
#6
Posted 20/09/2017, 17:25
Xtane cialis Cialis 5 Mg Tabletten
Support Canadianpharmsupport
Generico Levitra In Rete <a href=http://cialtobuy.com>cialis</a> Is Doxycycline The Same As Amoxicillin
Cephalexin Treating Colds cialis Prix Cialis Belgique
Acquista Cialis Levitra Online Purchase
Acheter Cialis Sur Internet France <a href=http://cialtobuy.com>online pharmacy</a> Mail Order Doryx Overseas
#7
Posted 22/09/2017, 23:04
Propecia Steiner cialis buy online Tramadol
Viagra E Stimolanti Nolvadex Dosage For Gyno Viagra Delivered In Ontario Canada
Bentyl 20mg How To Buy <a href=http://cialtobuy.com>cialis buy online</a> Baclofene Strasbourg
Cheap Retin A buy cialis Cialis Munchen
Farmacie Online Italiane Isotretinoin find Cytotec Sterilet
Original Viagra Online Bestellen <a href=http://cialtobuy.com>cialis</a> Cialis 20mg Filmtabletten 8 Stuck
#8
Posted 28/09/2017, 03:00
Zenegra 100 Mg Tablets Green Tea And Amoxicillin generic cialis Zithromax Overnight Shipping Order Cialis Online In Canada Reviews Dividere Compresse Cialis
Cephalexin Treatment Uti Differenze Cialis Levitra cialis price Balding Propecia Hair Loss Treatment
#9
Posted 04/10/2017, 13:29
Fish Amoxicillin viagra Ed Pills At Walmart Kamagra Belgio Viagra 8 Stuck
Cephalexin Product cialis buy online Ph Of Amoxicillin Generic Viagra From Usa
#10
Posted 05/10/2017, 21:45
Viagra Pharmacie Marseille Zithromax How Fast Does It Work viagra Cialis 10 Mg Effets Indesirables Secure Medical
#11
Posted 08/10/2017, 02:24
Prostata Viagra Is 25mg Viagra Enough Prix Viagra Pfizer Pharmacie En Merignac viagra vs cialis vs levitra Tadalis Sx Acheter Dutasteride
#12
Posted 12/10/2017, 10:35
Order Doxycycline No Prescription Real Generic Doryx Medication Amex Overseas buy viagra online Buy Vagria Priligy Dapoxetine 60 Mg Dexahasone
Methylprednisolone Urinary Infection cialis Toddler Ear Infections Amoxicillin And Augmentin Dramamine Buy Australia
Propecia Sirve Sin Para Que Sirve La Viagra Yahoo Levitra Online Paypal viagra Prevacid Purchase Online Kamagra Without Prescription Propecia Valor Farmacia
#13
Posted 14/10/2017, 13:46
Tadalafil 20 Mg Buy Direct From India Viagra Daily Dosage Acheter Viagra Sans Ordonnance Au Canada generic levitra online pharmacy Dapoxetine For Sale In Australia
Buy Kamagra In London Cialis Sirve Para Durar Mas Viagra Deutschland Shop cialis buy online Tadalafil Generic On Line Buy Clomid Online Comprar Cialis En Miami
Nolvadex Generique viagra Amoxil Dosing Chart Mg Kg
#14
Posted 20/10/2017, 22:42
Cheapest Price For Viagra best price on levitra Buy Tadacip Cipla Priligy Generico Senza Ricetta
Comprar Levitra Professional cialis online Pilule Pour Avorter Cytotec Mifegyne Where To Buy Viagra For Men
Cephalexin Severe Side Effects viagra Prezzo Viagra 100 Cephalexin And Cramping Doxycyclin 200mg
#15
Posted 22/10/2017, 12:34
Lioresal France Veterinary Prescription Antiobiotics Cephalexin viagra online prescription Prednisone Over Counter In Costa Rica Prescription Free Viagra Australia
Cialis Rezeptfrei Bestellen Finasterida Generico Comprar Propecia Buy Propecia No Prescription Online buy viagra Baclofen 10mg Discount Bentyl Where To Buy Secure Ordering Store Cost Of Viagra At Cvs
Buy Silagra 50 Mg Pyridium From Mexico Real Dutasteride In Internet Virginia Beach viagra online Viagra Rezeptfrei Cialis Online Pharmacy Beta Blocker Buy Metronidazole 400 Mg Tablets Uk
Viagra Deutsche Apotheke Clomid Jeux De Cartes Dosage Amount For Amoxicillin For Uti generic cialis Tretinoin Gel .1 For Sale Generico De Cialis
Medications Without Presciptions online pharmacy Prezzo Cialis 5 Mg Compresse
Cialis Osterreich Preis Cialis Super Active Plus 50 Gel Oral Kamagra Paypal levitra from canada Suhagra Made By Cipla Kamagra Jelly 100mg Strasbourg
Viagra Pfizer Presentacion viagra Kamagra 200 Mg
0 user(s) are reading this topic
0 membro(s), 0 visitante(s) e 0 membros anônimo(s)