[Plugin: MP3-jPlayer] List dividers problem
-
I’ve been customising the markup and css for this plugin and have it almost the way I want it as far as layout goes (still got some gfx to do).
However, there is one small but incredibly annoying problem. Some code somewhere is forcing the insertion of list dividers, and top and bottom padding, into the
<li>
elements in the playlist.I have looked all over the place for this, including all stylesheets, js files and php files and still cannot figure it out. Several calls for list dividers have either been removed from the php, or set to zero padding and zero margin and no background. Have searched for element names and ID’s in FF Web Developer. Dividers and padding are still there. Nothing in admin settings or help either.
Could someone who is thoroughly familiar with the backend of this thing please give me a clue here? I do not want anything being forced by obscure bits of code as I am more than happy to tackle the css and markup directly. I just want those dividers and that padding gone.
Current code is this in player-silver.css
/* PLAYLIST */ .listwrap_mp3j {inherit: none; position:absolute; z-index: 500; left: 13px; width: 260px; padding: 0 0 8px 0; margin-top:0; background: #ddd; border-radius: 0 0 6px 6px; box-shadow: 2px 2px 4px #333;} ul.ffs {position: relative; margin: 0 ; padding: 0; list-style:none; background: none; width: 260px; font-family: sans-serif;} ul.ffs li {margin: 0; padding: 0; height: 34px; max-height: 34px; float: left; width: 260px; overflow: hidden;} ul.ffs li a:link, ul.ffs li a:visited {color: #666; display: block; width:244px; margin: 0; padding: 0 8px 0 8px; height: 34px; line-height: 34px;} ul.ffs li a:hover {color: #666; background: #eee; height: 34px; line-height: 34px;}
mp3j_main.php is running this:
// Make playlist $nooplaylist = " <div class=\"listwrap_mp3j\" id=\"L_mp3j_" . $pID . "\"> <ul class=\"ffs\" id=\"UL_mp3j_" . $pID . "\"><li></li></ul> </div>"; // Assemble player $player = "\n <div class=\"wrap-MI\" style=\"" . $floater . $width . "\">" . $title . " <div class=\"jp-innerwrap\"> <div class=\"innerx\"></div> <div class=\"innertab\"></div>\n <div class=\"jp-interface\"" . $height . "> <div id=\"T_mp3j_" . $pID . "\" class=\"player-track-title" . $addclass . "\"" . $Tpad . "></div> <div id=\"C_mp3j_" . $pID . "\" class=\"player-artist" . $addclass . "\"></div> <div class=\"MIsliderVolume\" id=\"vol_mp3j_" . $pID . "\"></div> <div class=\"bars_holder\"> <div class=\"loadMI_mp3j\" id=\"load_mp3j_" . $pID . "\"></div> <div class=\"posbarMI_mp3j\" id=\"posbar_mp3j_" . $pID . "\"></div> </div> <div class=\"transport-MI\">" . $play_h . $stop_h . $prevnext . "</div> <div id=\"P-Time-MI_" . $pID . "\" class=\"jp-play-time\"></div> <div id=\"T-Time-MI_" . $pID . "\" class=\"jp-total-time\"></div> <div id=\"statusMI_" . $pID . "\" class=\"statusMI" . $addclass . "\"></div> <div class=\"playlist-toggle-MI" . $addclass . "\" id=\"playlist-toggle_" . $pID. "\" onclick=\"javascript:MI_toggleplaylist('', " . $pID . ");\">Playlist</div> </div> </div> " . $nooplaylist . " </div>\n";
Unfortunately this is only on local host at the moment so I cannot link to a live example. However, there is a screenshot here: Link to shot
ETA: I’ll get an online copy sorted as soon as I have time, and can also pastebin as much code as necessary if that will help.
- The topic ‘[Plugin: MP3-jPlayer] List dividers problem’ is closed to new replies.