[Proto-Scripty] Re: getStyle z-index

2011-08-13 Thread kstubs
Thanks for the feedback. I was just curious if different properties of an element have a default value or not. I like the use of max(). Karl.. -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To view this discussion on the web

[Proto-Scripty] Re: getStyle z-index

2011-08-12 Thread shubhojoy
You use the camel case to get the z-index like so: myElementZ = $(myElement).getStyle(zIndex); Also, sometimes it can be a pain to realize that myElementZ is not an integer. So, a parseInt(myElementZ) should guarantee that it can be used for further calculations. Not sure why you want to obtain