|
|
|
@ -20,6 +20,7 @@ |
|
|
|
|
'borderStyle' : 'solid', |
|
|
|
|
'toggleTextOn' : 'Disable Rich-text', |
|
|
|
|
'toggleTextOff' : 'Enable Rich-text', |
|
|
|
|
'plugins' : {}, |
|
|
|
|
'rtl' : false |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
@ -36,6 +37,11 @@ |
|
|
|
|
$.extend( settings, options ); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var pluginParams = ''; |
|
|
|
|
for(var option in settings.plugins) { |
|
|
|
|
pluginParams += '&' + option + '=' + settings.plugins[option] |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var iFrameLink = '<iframe id="'+epframeId; |
|
|
|
|
iFrameLink = iFrameLink +'" name="' + epframeId; |
|
|
|
|
iFrameLink = iFrameLink +'" src="' + settings.host+settings.baseUrl+settings.padId; |
|
|
|
@ -52,6 +58,7 @@ |
|
|
|
|
iFrameLink = iFrameLink + '&hideQRCode=' + settings.hideQRCode; |
|
|
|
|
iFrameLink = iFrameLink + '&alwaysShowChat=' + settings.alwaysShowChat; |
|
|
|
|
iFrameLink = iFrameLink + '&rtl=' + settings.rtl; |
|
|
|
|
iFrameLink = iFrameLink + pluginParams; |
|
|
|
|
iFrameLink = iFrameLink +'" style="border:' + settings.border; |
|
|
|
|
iFrameLink = iFrameLink +'; border-style:' + settings.borderStyle; |
|
|
|
|
iFrameLink = iFrameLink +';" width="' + '100%';//settings.width;
|
|
|
|
|