Solved

Bypass Item and Continue Loading Web Page

Posted on 2014-07-25
1
331 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
ID: 40220276
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

776 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