How to create this selector
<p>I want create a selector like this on clicking on a div it must show other options like in image and after selecting another option it must show the selected value in div.</p>

<p><img src="http://i.stack.imgur.com/bgDHs.jpg" alt="enter image description here"></p>

<p>this image is from  <a href="http://translate.google.com/#sk/en/" rel="nofollow">Google translator</a></p>
