Posted by Junios
function getStyle(obj, jsprop, cssprop) {
if (obj.currentStyle) {
return obj.currentStyle[jsprop];
} else if (window.getComputedStyle) {
return document.defaultView.getComputedStyle(obj, null).getPropertyValue(cssprop);
} else {
return null;
}
}
function changeElement() {
var obj = document.getElementById("myAnimalImg");
var ret = getStyle(obj, "top", "top");
alert(ret);
}
Posted by Junios
opengl_header_lib_dll.zip

