[jQuery] UPDATED - possibility complicated color coding question, now with example...
Okay...
I started a test page so that I can see if I can get this working.
http://commadelimited.com/travian/maptest.html
This moves on the suggestion that applying multiple fake classes can be used
as placeholders for the real classes.
So if you load up that page, you'll see some fake data. What I want to
happen is when someone clicks the color by population button, jQuery loops
through all divs searching for any class which begins with a p+number (right
now: 25,50,75,100), then replaces that with pLev + number.
The same thing should happen with the color by total village button. Based
on someone else's sugestion, it looks like $().each() would be the method I
want, but how can I, in one line, grab all possibilities of p+number?
Anyone have ideas on this?
<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
andy@icglink.com
615.370.1530 x737
--------------//--------->
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/