diff --git a/client.js b/client.js index 899c17a6..1e93b8cc 100644 --- a/client.js +++ b/client.js @@ -50,7 +50,8 @@ var CloudClient = { * seting up in init() */ HEIGHT :0, - MIN_ONE_PANEL_WIDTH :1155 + MIN_ONE_PANEL_WIDTH :1155, + OLD_BROWSER :false }; /* @@ -302,13 +303,29 @@ CloudClient.Util = (function(){ * образом: {src: ' ',func: '', id: '', element: '', inner: ''} * все параметры опциональны */ - this.cssSet = function(pParams_o){ - pParams_o.name = 'style'; - pParams_o.parent = pParams_o.parent || document.head; - return this.anyload(pParams_o); + this.cssSet = (CloudCommander.OLD_BROWSER)? + /* if browser is old - make in diferen way */ + function(pParams_o){ + var lElement = '