![]() |
unordered list replace bullet by image according to level, if last level text as link
Good day to you all,
I was wondering if there is a way to change the the look of wach level of a list. Ex: Last level, text = link 1st level, has 1 image instead of bullet and text in bold 2nd level as another image as bullet and text in bold 3rd level, if not last level, as another image as bullet and text in bold\ Here is where I'm now : PHP Code:
|
css Code:
You can nest CSS rules as deep as you nest the HTML. |
What I really tried to obtain is :
Folder that has folder in them use one icon Folder that has files it them use another icon Can I do it ? |
Not the cleanest
But this should work:
PHP Code:
Also, it is not checking for files existing, only directories, but you should be able to figure that out if you need it. If not, let me know :-) |
| All times are GMT. The time now is 11:12 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0