Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Help needed with some jscript Help needed with some jscript
Previous
 
Next
New Post
1/31/2012 7:43 PM
 

Hi guys,

I use a tiny jscript in my main page to show IMAGES transmited from Venice (Italy). That script takes the jpgs from a server every 30 seconds and display it to the webpage. Kinda of a live webcam but not so "live".

See here

But when the server in Venice is down or slow, the whole page is slow or even it doesn't load well.

I want to replace that with Ajax since somebody suggested as a solution. Any ideas how i could do that and if it would help ?

Thanks

 
New Post
1/31/2012 11:59 PM
 

Hi Costa

The Ajax will let the rest of the page load without waiting for the 'webcam' images but you will still get the loading spinner if the other site is down.  Which could be nearly as bad from a visitor perspective.

I'd see if you could find a way to pull the images to the server on a regular basis and then serve them from there. If the source server is down then you end up showing the most recent image. But the visitor experience would be a lot better.

Hth

Antony

 
New Post
2/1/2012 10:38 AM
 
Antony yes, this is what i try to do.

Because right now if the webcam is down, 90% the page has trouble to load or is very slow.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Help needed with some jscript Help needed with some jscript


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out