Created by: Chochita
hello everyone, I need your help plz ! I used active class in my code to show a block (search)......., But the problem i don't how can I change the text of div when the div isn't active. I explain more i should change the text of div from "Chercher votre hôtel" to "Hôtels" when the div not active !! This is my code :
<section id="recherche">
<div class="recherche">
<div class="container">
<div class="menu_recherche"
id="menu_recherche">
<divclass="men ong_hotel
active">
<imgclass="icon_hotel" src="images/icon_hotel.png"
alt=""/>
<div class="titre_hotel">Chercher vôtre hôtel</div>
</div>
<div
class="men ong_vol">
<img
class="icon_vol" src="images/icon_vol.png" alt=""/>
<div
class="titre_vol">Vol</div>
</div>
<div
class="men ong_voyage">
<img
class="icon_voyage" src="images/icon_voyage.png" alt=""/>
<div
class="titre_voyage">Voyage</div>
</div>
<div
class="men ong_Activites">
<img
class="icon_Activites" src="images/icon_Activites.png" alt=""/>
<div
class="titre_Activites">Activités</div>
</div>
<div
class="clear"></div>
</div>
</div>
</div>
</section>