Timer on dropdown


Please have a look at my script:

How does I set a timer, so the dropdown is shown after 1 second when mouseover "dwopdown" text?
Jesper ChristensenProgrammerAsked:
Who is Participating?
Atique AnsariCommented:
I have changed your CSS a little and added the jquery code. Now it shows the drop down after one second.

Please go to below URL for the same.

Let me know if you need more help.

Luis PérezSoftware Architect in .NetCommented:
I think you can't do this based only on CSS, if you want your 1 second delay you must do it with javascript.

To set a delay is easy with the setTimeout function,

window.setTimeout("myFunction(myparams)", 1000) //1 second delay

But then you must not use exclusively css (set display:block on hover).

Hope that helps.
Jesper ChristensenProgrammerAuthor Commented:
Hi Roland.
I know the timeout function, but I don´t see how to integrate a jquery in the script.

I know it´s not possible only with css, that´s why I posted the question in the Javascript category :)
Jesper ChristensenProgrammerAuthor Commented:
Thank you very much :)
Atique AnsariCommented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.