maiofair.blogg.se

Webex swf viewer
Webex swf viewer







Reload(json) //show prompt for 5s if exists then reload.

webex swf viewer

Success(json) #show prompt then redirect to json.jumpUrl if url existsĮrror(json) //show prompt then redirect to json.jumpUrl if url exists. Redirect(json) #show prompt redirect to json.jumpUrl delay by lay*1000 Script(json) #on json.status=1 trigger json.script Sessionname: 'PHPSESSID' # cross domain ajax need to get session token from cookieĪjaxparam: 'isAjax' # cross domain ajax needs this HTTP param to declare whether ajax request or not Swfinstallpath: 'expressInstall.swf' #flash swf auto installer path, only div.loadswf needed LastDialogHandle:handle #pop dialog handle,iframe use the parent to close $.webex.util common utilities $.webex functions and consts $.webex.ĬreateDialog('html'|'url'|'iframe',expired,callback="string"|function(json))Īutocompile:false #autorun $('body').compile() or notĬrossdomainserver:' ' #jsonp cross domain server script path $.tting basic global settings, set before compile. $.webex.ajax will auto detect your request domain whether cross or not. If you need ajax crossdomain, you can replace origin jqeury ajax $.ajax with $.webex.ajax and replace $.load with $.ajaxload, and put jsonp.php on your server(only for php server nowaday, or you can write an jsonp server script yourself). If you need to use you own dialog, please overload the functions $.webex.CreateDialog and $.webex.CloseDialog

webex swf viewer

If you need float dialog, this frame invoked a third party dialog for default The core js is compile.js, all functions pack in the $.webex scope. That's a comfort way to make one webpage ajaxable. dialog and so on will auto trigger ajax post, ajax load(auto cross-domain) or show dialog. DOM elements includes class attribution like. This framework depends on jQuery 1.4+, only need $('body').compile() to run.









Webex swf viewer