开发者

show and hide DIVS at a given time

开发者 https://www.devze.com 2023-02-23 05:48 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消