4
I’m creating an element for a personal website, and I’d like that element "
<div>" is open/closed when clicked on a button.
Is a <div> containing some country flags to change language.
I think that function could be used .slide jQuery to create this effect.
But I only know the basics in jQuery.
Thanks in advance :)
Obs: The div to be opened is this:
<div id="paises">Aqui ficará as bandeiras</div>
That’s exactly what I was looking for! Thank you. Now I’m just going to change this
<button>and that<div>you didn’t put the id. But it turned out great!– Alexandre Lopes
how do I change the speed of
.slide?– Alexandre Lopes
Slow:
.slideToggle("slow"), or to get too slow:.slideToggle(10000)or to blow up the browser:.slideToggle(100000000)!– Zuul
To make it quick:
.slideToggle("fast")or.slideToggle(200)!– Zuul