What is the best/easiest way to make the playlist coming out of the view a numbered list?
:O)
TIA!
Override theme_jplayer_item_list in your template.php
pwaterz
Many Thanks
:o)
I shall have a crack at that.
Update - I decided to do it all via CSS as I am not sure if the jplayer javascript needs to find an ul.
For the record I did it this way :-
I changed the css so that the list style type is changed to decimal ( ie I did not override the type of list from ul to ol )
when I did it the crux of it was :-
div.jp-playlist ul {
list-style-type: decimal;
}
You may also need this to override the "current" FIRST selector
div.jp-type-playlist div.jp-playlist li.jp-playlist-current {
Comments
Comment #1
pwaterz commentedOverride theme_jplayer_item_list in your template.php
Comment #2
greg.b commentedpwaterz
Many Thanks
:o)
I shall have a crack at that.
Comment #3
greg.b commentedUpdate - I decided to do it all via CSS as I am not sure if the jplayer javascript needs to find an ul.
Comment #4
pwaterz commentedComment #5
greg.b commentedFor the record I did it this way :-
I changed the css so that the list style type is changed to decimal ( ie I did not override the type of list from ul to ol )
when I did it the crux of it was :-
div.jp-playlist ul {
list-style-type: decimal;
}
You may also need this to override the "current" FIRST selector
div.jp-type-playlist div.jp-playlist li.jp-playlist-current {
list-style-type: decimal;
}