Solved

Bypass Item and Continue Loading Web Page

Posted on 2014-07-25
1
322 Views
Last Modified: 2014-07-25
http://forums.starcitizenbase.com/

On this page in the right sidebar I load a UTC time from a 3rd party site. Sometimes the response times are slow from the 3rd party.  When this happens my page is waiting on the response before it loads the page.  Is there any way to continue loading the page?
0
Comment
Question by:N R
1 Comment
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
Comment Utility
Remove the src from the iframe
Give the iframe an id e.g. id="clock" - we could just use iframe to target but best to have an identifier

Add this jquery
$(function() {
$("#clock").attr("src","http://www.thetimenow.com/clock/utc/universal_coordinated_time?t=n&embed=1&text=10&textdate=15&format=24&digitalclock=36&analogclock=60&letter_spacing=-2&bordersize=0&bordercolor=BCE2F7&bgcolor=232323&colorloc=FFFFFF&colordigital=FFFFFF&colordate=FFFFFF&styleloc=normal&styledigital=normal&styledate=normal&right=0")
})

Open in new window

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The viewer will learn how to count occurrences of each item in an array.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now