search for: styleprop

Displaying 1 result from an estimated 1 matches for "styleprop".

Did you mean: stylepp
2005 Aug 31
4
Element.show - element.style.display=''''
...#39;'); element.style.display = ''block''; alert(element.id+'' : element.style.display [''+element.style.display+''] getStyle() [''+getStyle(element,''display'')+'']''); } }, function getStyle(el,styleProp) { var x = $(el); if (x.currentStyle) var y = eval(''x.currentStyle.'' + styleProp); else if (document.defaultView.getComputedStyle) var y = document.defaultView.getComputedStyle(x,null).getPropertyValue(styleProp); return y; } [/prototype.js] ----------------------------...