SimonTheSponge
Programmer
A bit new to Javascript so forgive me if this is a silly question
Can you create custom properties on a DOM object. I have a layer that I wish to create an array property for which I will then assign various other child layers into eg
PopupObject=PopupFrame.style ;
PopupObject.Children = new array[3] ;
PopupObject.Children[1] = Popupchild1.style ;
PopupObject.Children[2] = Popupchild2.style ;
PopupObject.Children[3] = Popupchild3.style ;
so I can manipulate other layers through a reference to this one PopupFrame ?
Thanks
Can you create custom properties on a DOM object. I have a layer that I wish to create an array property for which I will then assign various other child layers into eg
PopupObject=PopupFrame.style ;
PopupObject.Children = new array[3] ;
PopupObject.Children[1] = Popupchild1.style ;
PopupObject.Children[2] = Popupchild2.style ;
PopupObject.Children[3] = Popupchild3.style ;
so I can manipulate other layers through a reference to this one PopupFrame ?
Thanks