Add depth classes - how to use?

Amir Simantov - May 20, 2009 - 09:02
Project:Better Select
Version:6.x-1.0-beta2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Thanks for the handy module! I did not understand what gives the "depth classes" option and how it might be used. I checked it and did not see any influence on the output. Should there be some extra configuration following checking this option?

Amir

#1

Mark Theunissen - May 20, 2009 - 09:06

After checking this box, some extra processing is done to calculate the depth of the items. You won't see anything change visually, but if you take a look at the HTML source, you will see that the items have those extra classes. You can then use CSS to style them however you like (maybe by making them bold, for example).

Hope that helps!

#2

Amir Simantov - May 24, 2009 - 20:45

Thanks Mark, I will give it a try!

 
 

Drupal is a registered trademark of Dries Buytaert.