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!

moveBy(x,y)

Status
Not open for further replies.

kimera

MIS
Nov 6, 2000
15
CH
can anybody tell me how I can move a <div>-layer with the moveBy(x,y) method?

I'd like to know how it's done in a function

e.g.

function MoveLayer()

{
document.MyLayer.moveBy(x,y) (is that correct?)
}

thanks, I appreciate any constructive hint and help.

brayan
 
i think moveBy() is a method of the window object.... i'm not positive though....

yep... just checked, its a method of the window object. you can't use it to move layers. luciddream@subdimension.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top