?
Solved

Bypass Item and Continue Loading Web Page

Posted on 2014-07-25
1
Medium Priority
?
347 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:Nathan Riley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 58

Accepted Solution

by:
Gary earned 2000 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

Create CentOS 7 Newton Packstack Running Keystone

A bug was filed against RDO for the installation of Keystone v3. This guide is designed to walk you through the configuration for using Keystone v3 with Packstack. You will accomplish this using various repos and the Answers file.

Question has a verified solution.

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

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

743 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