Open main menu

CDOT Wiki β

Changes

Mozilla.dev.tech.xul

2 bytes added, 23:01, 10 November 2006
m
[http://groups.google.com/group/mozilla.dev.tech.xul/browse_thread/thread/95da86a0014e6ae4/89995304ae2089a3#89995304ae2089a3 Are XUL attributes integers?]
=== [http://groups.google.com/group/mozilla.dev.tech.xul/browse_thread/thread/95da86a0014e6ae4/89995304ae2089a3#89995304ae2089a3 Are XUL attributes integers?] ===
:Attributs such as left="100" or top="200" look as if they're integers but they are actually handled as strings.:To use them as integers use JavaScript's [http://www.w3schools.com/jsref/jsref_parseInt.asp parseInt()] function.
=== [http://groups.google.com/group/mozilla.dev.tech.xul/browse_thread/thread/ed8140804433a206/a347e9844466abf2#a347e9844466abf2 Using the "icon" attribute on a button] ===
1
edit