Javascript for Categories Plugin
Posted: Mon Aug 01, 2011 7:37 am
Hi,
my categories sidebar plugin is getting more and more crowded (and it will grow further in the future). So I am looking for ways to reduce the length of the plugin and make it easier to understand (is there really no word for "übersichtlicher"?).
So my questions:
* In general what would you suggest to make this better from a design perspective?
* One thing I thought of was using javascript to hide the subcategories until clicked. Does this sound like a good idea?
* I am pretty sure I am not the first one who has done this, so can anyone recommend me some code examples for that?
Thanks,
Daniel
my categories sidebar plugin is getting more and more crowded (and it will grow further in the future). So I am looking for ways to reduce the length of the plugin and make it easier to understand (is there really no word for "übersichtlicher"?).
So my questions:
* In general what would you suggest to make this better from a design perspective?
* One thing I thought of was using javascript to hide the subcategories until clicked. Does this sound like a good idea?
* I am pretty sure I am not the first one who has done this, so can anyone recommend me some code examples for that?
Thanks,
Daniel