Changeset 4489 for temp/trunk/html
- Timestamp:
- 2006/09/10 19:23:13 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/js/layout_design.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/js/layout_design.js
r4446 r4489 107 107 // Ãͤò¼èÆÀ 108 108 function getAttrValue ( elm, attrname ) { 109 //alert(elm.nodeValue);110 111 //alert(typeof(elm.attributes[ attrname ]));112 113 //alert(elm.attributes[ attrname ].nodeValue);114 115 109 if (typeof(elm.attributes[ attrname ]) != 'undefined') { 116 110 return elm.attributes[ attrname ].nodeValue; 117 111 } 118 119 112 } 120 113 … … 127 120 function getX ( elm ) { 128 121 // return parseInt(elm.style.left); 122 alert(elm.offsetLeft); 129 123 return parseInt(elm.offsetLeft); 124 130 125 } 131 126
Note: See TracChangeset
for help on using the changeset viewer.
