0

External javascript

Hi guys, I m new to yahoo kontx framework. I have this line that links to an external javascript source....

<script type='text/JavaScript' src='someUrl.com'></script>

I was wondering if i put this in the widget tag of main.TV, will any other files that is dependant on it still works?

If not, where should I put that line of code or how?

It will be helpful to provide an example.

Thanks in advance.

by
3 Replies
  • No external javscript support...
    0
  • Hi Thanks for the reply............ Just asking if using XMLHttpRequest() helps to solve this problem in anyway?
    0
  • QUOTE (vivibreak @ Mar 17 2011, 05:14 PM) <{POST_SNAPBACK}>
    Hi Thanks for the reply............ Just asking if using XMLHttpRequest() helps to solve this problem in anyway?

    No external resources can be downloaded. And xhr won't solve that because eval is disallowed.

    If you have your own JavaScript library or helper module that you want to use you could include that in your widget, but I think the framework will provide you with everything you need.
    0

Recent Posts

in Getting Started / Beginners - Yahoo! TV Widgets