I have a div and inside it i want to display 3 texts one at a time. Like windows 8 metro theme. I have three divs like this :
<div id='a'> Text 1</div>
<div id='b'> Text 2</div>
<div id='c'> Text 3</div>
and another main div which wraps all these. I want to display one div at a time inside the wrapper without any occurrence of the event from bottom to top and the new one slides over the other.
PS: i have seen how to do it using image and css. But i want to display the text through html not image, is there any way of doing this using jquery? Thank you.
A basic example: http://jsfiddle.net/rNcNA/
HTML:
JavaScript: