Solved

Bypass Item and Continue Loading Web Page

Posted on 2014-07-25
1
336 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
[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 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

733 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