Changeset 4596 for temp/trunk
- Timestamp:
- 2006/09/10 21:14:02 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/js/layout_design.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/js/layout_design.js
r4595 r4596 113 113 */ 114 114 115 if (typeof(elm.attributes.getNamedItem(attrname)) != 'object'){ 116 val = ""; 117 if((typeof ScriptEngineMajorVersion)=='function') 118 { 119 if( Math.floor(ScriptEngineMajorVersion()) == 5 && 120 navigator.userAgent.indexOf("Win")!=-1) //win-e5Âбþ 115 // if (typeof(elm.attributes.getNamedItem(attrname)) != 'object') 116 { 117 val = ""; 118 if((typeof ScriptEngineMajorVersion)=='function') 119 { 120 if( Math.floor(ScriptEngineMajorVersion()) == 5 && 121 navigator.userAgent.indexOf("Win")!=-1) //win-e5Âбþ 122 { 123 val = elm.attributes.item(attrname) 124 } 125 else 121 126 { 122 val = elm.attributes.item(attrname) 123 } 124 else 125 { 127 val = elm.attributes.getNamedItem(attrname) 128 } 129 } else { 126 130 val = elm.attributes.getNamedItem(attrname) 127 131 } 128 } else { 129 val = elm.attributes.getNamedItem(attrname) 130 } 131 132 alert(elm.attributes[ attrname ].nodeValue+"/"+val.value); 133 134 return val.value; 132 133 alert(elm.attributes[ attrname ].nodeValue+"/"+val.value); 134 135 return val.value; 135 136 } 136 137 }
Note: See TracChangeset
for help on using the changeset viewer.
