Changeset 4576 for temp/trunk/html
- Timestamp:
- 2006/09/10 20:51:04 (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
r4575 r4576 107 107 // Ãͤò¼èÆÀ 108 108 function getAttrValue ( elm, attrname ) { 109 /* 109 110 if (typeof(elm.attributes[ attrname ]) != 'undefined') { 110 111 return elm.attributes[ attrname ].nodeValue; 111 112 } 113 */ 114 val = ""; 115 if((typeof ScriptEngineMajorVersion)=='function') 116 { 117 if( Math.floor(ScriptEngineMajorVersion()) == 5 && 118 navigator.userAgent.indexOf("Win")!=-1) //win-e5Âбþ 119 { 120 val = elm.attributes.item(attrname) 121 } 122 else 123 { 124 val = elm.attributes.getNamedItem(attrname) 125 } 126 } else { 127 val = elm.attributes.getNamedItem(attrname) 128 } 129 130 alert(elm.attributes[ attrname ].nodeValue+"/"+val.value); 131 132 return val.value; 112 133 } 113 134
Note: See TracChangeset
for help on using the changeset viewer.
