Posted by Jon Slaughter on 04/15/07 17:58
Is it possible to do something like assign to an attribute
SomeClass.SomeAttribute? If not it should be?
I have two spots where I use the same value and they have to be the same
value at all times. Basically I have to use two divs that have the same
width but one is transparent with a higher z-order and the other supplies
the background color with a lower z order(while something sits inbetween).
In any case, I have to set the width to the same value but I'd rather just
keep it in one spot. Would be nice if I could just use
width:OtherClass.width; instead of later on forgetting that I had two spots
and end up only changing one.
Thanks,
Jon
Navigation:
[Reply to this message]
|