I would like to know how to use on a VML element the fonction onmouseover. My element is dynamic.
Here is a piece of the code, there is only this part missing to make it work. I will use the onmouseover
on the rect element and when it fire I will assign a variable an ID, the one of the group element.
This will let me drag the whole group, the whole drag and drop should be working it's only the onmouseover that I don't figure out. For the moment I have remove it from the code.
var vm = document.createElement("v:group");
vm.style.position = "absolute";
vm.style.width = this.W + "px";
vm.style.height = this.H + "px";
vm.style.left = this.X + "px";
vm.style.top = this.Y + "px";
vm.style.zIndex = 0
vm.setAttribute("coordsize", this.W + " " + this.H);
var rect = document.createElement("v:rect");
rect.setAttribute("id", this.Name + "_rect1")
vm.style.position = "relative";
rect.style.width = this.W + "px";
rect.style.height = this.H + "px";
rect.style.zIndex = 1
vm = null
rect = null