Encerrado

Javascript By-pass if slow to load

I am currently using a piece of Javascript on a page to call another server/host for a RSS news feed. The other server (call it [url removed, login to view]) has had some connectivity problems lately. Therefore, the piece javascript that calls the slow server has been bogging down the page load. The feed the Javascript is important but not a critical part of the page functionality. Below is the piece of javascript code.

---------------

<script language="javascript" src="[url removed, login to view];t=1&url=http%3A%2F%[url removed, login to view]%2Fnews%3Fsvnum%3D10%26as_scoring%3Dr%26hl%3Den%26ned%3Dus%26ie%3DUTF-8%26q%3DMilwaukee%2BBrewers%26output%3Drss&n=10&w=368&ifbg=000000&border=FF0000&textbg=F0F0F0&d=1"> </script>

--------

Basically, I want to add something to this code so that if the call to the other server ([url removed, login to view]) takes too long then just bypass the script all together...but allow the rest of the page to load. I'd like to be able to specify how long to wait for the other server to respond in either seconds or mili-seconds. I'm guessing this is fairly simple.

Please respond quckly as I need this done asap.

Habilidades: Javascript

Ver mais: ff0000, so slow, if js, server load, load php, border, php page load, javascript url php, load page javascript, script src, google javascript code, amp javascript, call url script, javascript done, page javascript, javascript rest call simple, javascript amp, script call url, rest call javascript, script load, javascript php url, piece code, simple rest call javascript, javascript page load, page google asap

Acerca do Empregador:
( 0 comentários ) orlando, United States

ID do Projeto: #135523

5 freelancers estão ofertando em média $71 para este trabalho

Georgia

I can help you. The thing is not as easy as you think.

$90 USD em 1 dia
(26 Comentários)
6.6
norvin4u

Hi , I am intrested in it .i can do it ASAP. regards,

$45 USD em 1 dia
(2 Comentários)
2.5
anand123software

Hi, I would be interested in taking up this Project. Let me know if you are interested in working with me. Regards Anand

$75 USD in 2 dias
(0 Comentários)
0.0
ubica

hello. please more information. regards

$70 USD em 1 dia
(0 Comentários)
0.0
softtechprovider

choose to complete you task

$75 USD in 2 dias
(0 Comentários)
0.0