Wednesday, February 24, 2010

Communities and Collections in collapsable treelist, plus graphical webui.strength

Also in my dump of visual changes that may or may not be going anywhere is the Communities and Collection page with a jQuery treelist that is expandable and collapsable. As well as changing the default for webui.strengths.show to instead of showing a number, to show a little strength meter from Google Charts.




This is the snippet of code that shows the pretty little image.

out.println("<img src=\"http://chart.apis.google.com/chart?cht=bhs&chs=25x13&chco=4d89f9&chds=0,50&chd=t:" + ic.getCount(comms[k]) + "\" />");

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.