Hello, I want to delay showing all of my links on my page for a few seconds until all the animation I am doing is done. I was wondering if there was a way I could delay placing them using javascript. In other words I want them to not show up for a few seconds.

Initially attach a styleclass to all the links on your page which will keep them hidden using the display / visibility CSS property.

Attach an event handler to the onload event listener which would make these links visible only after the entire page has loaded, by virtue of the onload handler not being fired till the entire page is loaded, and hence your animations, unless you are employing lazy loading.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.