Quantcast
Channel: Programmers Heaven Forums RSS Feed
Viewing all articles
Browse latest Browse all 2703

Displaying Div from a list box

$
0
0
Hello Guys... Can you help me a bit on this one

I have a list box which contains 5 items.. I want to display the corresponding div when each item is selected at the same time hiding the other Divs..

Here are my codes:


<div id="drpTreatment">
  <select name="Treatment" size="5" class="AbsWrap" >
    <option>Thai Massage</option>
    <option>Scrub</option>
    <option>Facials</option>
    <option>Stone Massage</option>
    <option>Relaxation</option>
  </select>
</div> 

<div id="thaimassage">The best thing about Thai massage is that, like yoga you get flexibility, inner organ massage, oxygenation of the blood and quieting of the mind. Through deep muscle stretching, joint release and emphasis on the breath, Thai massage offers many of the same benefits as
yoga</div>

		<div id="facial">A facial is a spa therapy that leaves your skin cleaner, softer, younger, and truly transformed. Your skin is the body’s largest organ and a direct reflection of internal wellbeing. Facials can clear clogged pores, quench parched skin and remove dead cells.</div>
       
       <div id="scrub">Body treatments are essentially a facial for your whole body. It is just as important to cleanse, exfoliate, and hydrate the skin on your body as it is the skin of your face.</div>  
       
       <div id="stone">The stones are used in two ways during the massage. One is to impart heat onto the body by laying stones under the client with a layer of fabric between the client and stone (a sheet or towel) and/or on top of the client, again upon a towel. Stone layout typically will be along both sides of the spine, or along the chakra centers on top and baseball sized stones would be placed in the hands.</div>
       
       <div id="relaxation">It feels good and it is beneficial to your health. When muscles are stressed, they block oxygen and nutrients, leading to inflammation that builds up toxins in the muscle tissue. A deep-tissue massage helps loosen muscle tissues, release toxins from muscles and get blood and oxygen circulating properly</div>


Something like when you select Thai Massage, you get the information on the Thai massage... This goes on the the rest


Viewing all articles
Browse latest Browse all 2703

Trending Articles