ich hab die Lösung:
eval("contentobj.style."+lt+" = pos");
Das ist keine Lösung.
eval ist evil!
und auch hier nicht nötig.
contentobj.style[lt] = pos + 'px';
Struppi.
ich hab die Lösung:
eval("contentobj.style."+lt+" = pos");
Das ist keine Lösung.
eval ist evil!
und auch hier nicht nötig.
contentobj.style[lt] = pos + 'px';
Struppi.