show and hide DIVS at a given time
I'm in big trouble, I'm creating a multiple choice questionnaire, where each issue is a DIV, I need a javascript that apart from the DIVS roll at a given time, the screen shows the seconds this time, the problem is that every question must have a time different, eg the No. 1 already has 10 sec开发者_运维知识库onds to question No. 2 is 15 seconds, for example, can anyone help me?
I suggest you to use setTimeout
Jquery's function, playing with getElementById('yourid').style.display = "none";
Here's an Example I made for you.
精彩评论