Not able to display javascript from a website

  • 4 Replies
  • 7581 Views

0 Members and 1 Guest are viewing this topic.

*

Offline sirikit

  • Newbie
  • *
  • 4
  • 0
Not able to display javascript from a website
« on: February 07, 2012, 01:01:09 PM »
We want to display a countdown clock in Magicinfo that is based on javascript. Link: http://dev.flytoget.nxc.no/Departure-Counters/Fra-Oslo-Sentralstasjon
We have copied the URL into the edition author and published it to the Samsung screen. The player won't display numbers counting down. See attached scrrenshot.
It works fine in IE standalone.

Is there som issue with javascript running inside the player?  ???

*

Offline INCAA

  • Major Guru
  • **
  • 12
  • 0
Re: Not able to display javascript from a website
« Reply #1 on: February 10, 2012, 06:23:38 PM »
Have you tried to save a copy of the url's index document to your desktop and give any server/web based references an absolute value ("http://www." vs. "/info") then load the page to your MagicInfo I premium server as content? 

When I looked at your url, it took a while for the numbers to load in.  Maybe also look at the refresh rate?

Not sure if that would make a difference but it wouldn't take long to test. 

*

Offline sirikit

  • Newbie
  • *
  • 4
  • 0
Re: Not able to display javascript from a website
« Reply #2 on: February 15, 2012, 08:37:58 AM »
Thanks for answer. Where do I find server/web based that reference to /info?

*

Offline INCAA

  • Major Guru
  • **
  • 12
  • 0
Re: Not able to display javascript from a website
« Reply #3 on: February 16, 2012, 08:49:51 PM »
 :D Don't call it an answer, more of a response.  In your html file that is referencing the .js functions/scripts change them to absolute references that reference the entire location of the the .js file vs. a local reference.   

So for example use src= "http://www.yourdomain.com/yourfolder/yourfolder/file.js" instead of using src= "/yourfolder/yourfolder/file.js"

Remember, I'm not saying this will work, but its what I would try. 

*

Offline bartabac

  • Newbie
  • *
  • 3
  • 0
Re: Not able to display javascript from a website
« Reply #4 on: March 29, 2012, 03:43:28 PM »
Technic By NOOB.
I use on my serveur MIIP a second serveur on 80port caled TINYWeb.
I create all my web page with Dinamic HTML Editor .
Use Dinamic HTML editor to create local page from this website and insert in you Autho just the way of your webpage.
It work well I used mine like this !!!!
I can use Jsquery and carousel from other Website. ;D