Drag & Drop In Html
Hi there I'm writing a little calculator for exercise. There is no logic yet. Still I wanted to allow the user to drag the calculator around the browser. So I nested my Calculator
Solution 1:
You have a syntax error on line 56. Use null
instead of nul
. You probably want to use a JS syntax checker such as JSLint.
Then, line 66, you probably want to call dragInit
function, so you should write <body onload="dragInit()">
with parentheses (not braces, thanks Lightness Races in Orbit ;)
Post a Comment for "Drag & Drop In Html"