void Window_onload() { new taust().ToBackground(Native.Document.body.style); Native.Document.body.style.overflow = IStyle.OverflowEnum.hidden; Native.Document.body.Clear(); Native.Document.oncontextmenu += Native.DisabledEventHandler; Laev x = new Laev(); x.Animate(400, Native.Document.body.clientWidth, 400); x.Attach(); Sadam s = new Sadam(); s.Attach(-80, 450, 500); Meri m = new Meri(); m.Attach(500); Kast k = new Kast(); k.MoveTo(150, 435); k.Attach(); }
public void Attach() { Native.Document.body.appendChild(pilt); pilt.style.SetLocation(ViewWidth, 400); k.Attach(); }