Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script won't function

Status
Not open for further replies.

bugsy007

Programmer
Feb 6, 2001
3
CH
IN MY SCRIPT I HAVE THIS COMMAND

document.all["lay"].style.pixeltop = 100;
document.all["lay"].style.pixelleft = 100;

BUT I TRY :

document.all.["lay"].style.pixeltop = 100;
document.all.["lay"].style.pixelleft = 100;

AND I RE TRY:

document.all["lay"].style.top = 100;
document.all["lay"].style.left = 100;


NORMALY THIS MOVE TO 100PX BOTTOM AND 100PX RIGHT
**************** FRENCH*********************************


Pourquoi ce con merde
dans mon script (JavaScript) J'ai l'intruction suivante :
document.all["lay"].style.pixeltop = 100;
document.all["lay"].style.pixelleft = 100;

Mais jai aussi essayer :

document.all.["lay"].style.pixeltop = 100;
document.all.["lay"].style.pixelleft = 100;

et sa aussi:

document.all["lay"].style.top = 100;
document.all["lay"].style.left = 100;

ce qui devrai me faire un deplacement de 100 pixel ver le bas et 100 pixel ver la
droite et ce connard ne fait rien du tout
 
There may some other problem, but these things must be capitalized as below in bold to work correctly:

pixelTop
pixelLeft jared@aauser.com -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top