Replace $dolar sign.

This commit is contained in:
Paulo Gustavo Veiga
2014-02-17 10:11:58 -03:00
parent 6a5eb910b5
commit ac50c6633c
16 changed files with 383 additions and 57 deletions

View File

@@ -70,9 +70,9 @@
textot = text;
overflowWorkspace.addItAsChildTo($(owner));
overflowWorkspace.addItAsChildTo(document.id(owner));
var parent = $(owner);
var parent = document.id(owner);
var span = document.createElement("span");
span.setAttribute("id", "textoHTML" + iesimo);
var textsize = text.offsetWidth;
@@ -129,7 +129,7 @@
</table>
<span>Text to Inspect: </span><input type="text" id="iesimo">
<input type="button" value="Inspect"
onclick="alert(document.getElementById('textoHTML'+$('iesimo').value).offsetWidth);">
onclick="alert(document.getElementById('textoHTML'+document.id('iesimo').value).offsetWidth);">
<input type="button" value="Zoom In" onclick="zoomIn()">
</body>
</html>