Solved

Bypass Item and Continue Loading Web Page

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article discusses how to implement server side field validation and display customized error messages to the client.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

717 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