Changeset 937 in subversion
- Timestamp:
- Dec 10, 2007 10:24:33 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/js/common.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/js/common.js
r934 r937 4 4 | | 5 5 | This file is part of the RoundCube web development suite | 6 | Copyright (C) 2005-200 6, RoundCube Dev, - Switzerland |6 | Copyright (C) 2005-2007, RoundCube Dev, - Switzerland | 7 7 | Licensed under the GNU GPL | 8 8 | | … … 53 53 this.mz = (this.dom && this.ver>=5); // (this.dom && this.product=='Gecko') 54 54 this.ns = ((this.ver<5 && this.name=='Netscape') || (this.ver>=5 && this.vendor.indexOf('Netscape')>=0)); 55 this.ns4 = (this.ns && parseInt(this.ver)==4);56 55 this.ns6 = (this.ns && parseInt(this.vendver)==6); // (this.mz && this.ns) ? true : false; 57 56 this.ns7 = (this.ns && parseInt(this.vendver)==7); // this.agent.indexOf('Netscape/7')>0); … … 60 59 61 60 this.opera = (window.opera) ? true : false; 62 this.opera5 = (this.opera5 && this.agent.indexOf('Opera 5')>0) ? true : false;63 this.opera6 = (this.opera && this.agent.indexOf('Opera 6')>0) ? true : false;64 this.opera7 = (this.opera && this.agent.indexOf('Opera 7')>0) ? true : false;65 61 66 62 if(this.opera && window.RegExp) … … 81 77 82 78 this.dhtml = ((this.ie4 && this.win) || this.ie5 || this.ie6 || this.ns4 || this.mz); 83 this.layers = this.ns4; // (document.layers);84 this.div = (this.ie4 || this.dom);85 79 this.vml = (this.win && this.ie && this.dom && !this.opera); 86 this.linkborder = (this.ie || this.mz);87 this.rollover = (this.ver>=4 || (this.ns && this.ver>=3)); // (document.images) ? true : false;88 80 this.pngalpha = (this.mz || (this.opera && this.vendver>=6) || (this.ie && this.mac && this.vendver>=5) || 89 81 (this.ie && this.win && this.vendver>=5.5) || this.safari);
Note: See TracChangeset
for help on using the changeset viewer.
