#183 ✓invalid
Andrew Dodson

onLoad glow.net.loadScript(url, opts);

Reported by Andrew Dodson | April 9th, 2010 @ 11:18 AM

the onLoad handler (or any of the others) is not being called

http://www.wlmessenger.net/api/3.7/loader.js?callback={callback}'

... the source is a library, not data, albeit...

"Url of the script. Use "{callback}" in the querystring as the callback name if the data source supports it, then you can use the options below" - http://www.bbc.co.uk/glow/docs/1.7/api/glow.net.shtml

I'm using 1.7

Comments and changes to this ticket

  • Andrew Dodson

    Andrew Dodson April 9th, 2010 @ 11:20 AM

        <script type="text/javascript" src="./glow/core.js"></script>
    <script type="text/javascript">
    glow.net.loadScript('http://www.wlmessenger.net/api/3.7/loader.js?jsoncallback={callback}', {
      useCache : true,
      onLoad: function(){
        alert(';loaded;');
     }});
    </script>
    
  • Jake Archibald

    Jake Archibald April 9th, 2010 @ 11:31 AM

    • Tag cleared.
    • State changed from “new” to “invalid”
    • Assigned user cleared.

    Hi, the URL you're using doesn't support {callback} so we can't track when the script has loaded. The script will load, but you won't be told about it. More discussion on this http://groups.google.com/group/glow-users/msg/12c11d2749040f9d

    We can't detect when a plain ol' script file loads due to Safari 2. There's no way we can detect a script loading in that browser :(

    Cheers,
    Jake.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A JavaScript Library

Shared Ticket Bins

Pages