[jQuery] div select and change it's css
Hey guys,
Wondered if anyone could point me i the right direction setting up an
effect.
Lets say I have many divs all laid out like so...
<div id="section" class="section1"> Stuff </div>
<div id="section" class="section2"> Stuff </div>
<div id="section" class="section3"> Stuff </div>
<div id="section" class="section4"> Stuff </div>
<div id="section" class="section5"> Stuff </div>
I want to be able to click inside a div above and change it's css
style.
BUT, change all the others back to the default. That way only one
appears selected at a time.
Changing the css appears to be simple, but 'defauting' all the others
at the same time is my dilemma?