Home › Forums › JavaScript › How to dynamically size a <ul> with jQuery? › Re: How to dynamically size a with jQuery?
June 23, 2009 at 12:14 am
#59554
akeenlabs
Participant
"Eraser35" wrote:
I see… Though, what’s the purpose for using JavaScript in the link I posted? I don’t understand why that would be necessary then.
As is often the case, the same thing can be accomplished different ways. Maybe the example link was trying to prove a different point or eventually be used for a more sophisticated example. Either way, as is, the example link can be recreated with only CSS. I remember discovering that CSS technique while looking at how Dojo implemented some of its controls; it’s actually pretty neat IMO.