Google渠道API不在ie7中工作

时间:2013-07-04 10:07:34

标签: google-app-engine

我在ie7浏览器中遇到google javascript channel api的问题。它没有触发onOpen方法。我正在我的网页上加载talkgadget channel.js文件。

以下是代码:

   // Not firing in production 
   onOpened = function(){ } 
   onMessage = function(){ } 
   // Create google channel 
   var cd_google_channel = new goog.appengine.Channel(channelId); 
   Channel_Socket = cd_google_channel.open(); 
   Channel_Socket.onopen = onOpened;
   Channel_Socket.onmessage = onMessage; 
   Channel_Socket.onerror = onError; 
   Channel_Socket.onclose = onClose;

请就此提出建议。

0 个答案:

没有答案