troubleshooting Question

Hide HTML navigation bar for 20 seconds

Avatar of birwin
birwinFlag for Canada asked on
2 Comments1 Solution970 ViewsLast Modified:
I need a Javascript to hide an HTML navigation bar for about 20 seconds. I have found code to fade in an image or a single link, but nothing to handle a block of code.

I have a script for a training program. It creates a standard "Google like" Prev 1 2 3 4 5 Next navigation.
The HTML code has links and images (for the Prev and Next buttons). The page has several other Javascripts on it for the menu and a scroller.

The training is rewarded and the user's viewing of the pages is tracked. The pages use scrolling divs, so to read the page takes about 30 seconds. Some staff just quickly click the next button repeatedly, without taking the time to read the pages. I want to hide the navigation bar until they have taken the time to read the content.

The best solution would be if I could put the HTML in a container (div or span) and have that container fade in after x seconds. I am using PHP and Javascript.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros