if you could help me out with this I would be really grateful!
I have 10 small pieces of text. I’d like each to fade in and then out in sequence. As each piece of text reaches full opacity, I want a bell sound to play. Once all ten texts have displayed i’d like the last one to stop and remain static.
I’d also like that when the user moves the mouse or uses the keyboard for the message “start again” to appear and for the sequence of 10 messages to begin again.
Is this possible in jquery?
You can accomplish this easiest if you utilize the jQuery sound plugin and .fadeIn()
Javascript:
HTML:
CSS:
If your IDs are not of the form “text1”, then you can put them in an array to access or find some other logical way to increment your count.