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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHTML Object Moving

Status
Not open for further replies.

elfanddot

Programmer
Feb 21, 2002
28
US
i found a bit of code on the web, yet it is declairing error on page. i've isolated the code to
document.all.image1.style.pixelLeft=400;
image1 is image1 (the image/object name) because of a previouse document.images[1].name="image1";

the actuall code appears as
...
if(document.layers)
{...}
else if (document.all)
{
eval('document.all.'+image.named+'.style.pixelLeft='+image.xx);
...
}
else if (document.getElementById)
{...}
...

do any of you know what is wrong with this picture? if it can't be done, someone is trying
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top