About this user

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed 

loadVars (from debugger.lzx)

// description of your code here

    <method name='checkServerResponse'>
      &lt;![CDATA[&lt;![CDATA[
        var loadobj = new LoadVars();
        loadobj.onData = this.checkServerResponseHandler;
        var reqstr =  LzBrowser.toAbsoluteURL( "__dbgprobe.lzx?lzt=stat", false );
        loadobj.sendAndLoad(reqstr , loadobj, "POST" );
      ]>
    method>

    
      <![CDATA[<![CDATA[
      // NB: This is a callback handler, and 'this' will be bound to some LoadVars object, not to Debug
      if (src == undefined) {
        Debug.freshLine();  
        Debug.addHTMLText('<font color="#FF8800">Debugger cannot contact LPS server, switching to SOLO mode.</font>\n');
        Debug.setAttribute('solo_mode', true);
      }
      ]>
    method>
« Newer Snippets
Older Snippets »
1 total  XML / RSS feed