How do i use ACTIVE.HTML.IMG
How do i use ACTIVE.HTML.IMG
can somone give me an example on how to added the image file name.
can somone give me an example on how to added the image file name.
David D.
May 15,
var image = new Active.HTML.IMG;
image.setAttribute("SRC","./images/d1.jpg");
image.setStyle('width', 75);
image.setStyle('height','20');
image.setEvent("onmouseover", "this.src='./images/d2.jpg'");
image.setEvent("onmouseout", "this.src='./images/d1.jpg'");
image.setEvent("onclick",function (src){ alert("downloading file"); });
obj.setColumnTemplate(image,1);
This topic is archived.
ActiveWidgets is a javascript library for creating user interfaces. It offers excellent performance for complex screens while staying simple, compact and easy to learn. Deployed by thousands of commercial customers in more than 70 countries worldwide.
Copyright © ActiveWidgets 2021