Delay placing links

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved
Reply

Join Date: Feb 2007
Posts: 72
Reputation: adaykin is an unknown quantity at this point 
Solved Threads: 0
adaykin adaykin is offline Offline
Junior Poster in Training

Delay placing links

 
0
  #1
Apr 23rd, 2008
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.
My Website <-- check out my site!
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,581
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 461
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: Delay placing links

 
0
  #2
Apr 23rd, 2008
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.
I don't accept change; I don't deserve to live.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC