Scroll bar

Kaz's Avatar

Kaz

22 Mar, 2011 03:02 AM

Is there a way to add a scrollbar to the "ol.flower_soundplaylist" div. I'd like to have a lot of tracks so it would make sense for the playlist. Thanks

  1. Support Staff 1 Posted by Jesse von Doom on 22 Mar, 2011 03:06 AM

    Jesse von Doom's Avatar

    Yeah if you just crack into the CSS and set a height you can use
    overflow:auto to make it scrollable. Here's a little more:

    http://www.w3schools.com/css/pr_pos_overflow.asp

    -- Oh and dont forget to set !important on both of those styles so it
    overrides the default.

    j

  2. 2 Posted by Kaz on 22 Mar, 2011 03:09 AM

    Kaz's Avatar

    I meant a custom scollbar. Is there a way without diving into the flower_soundplaylist.js file? thx

  3. Support Staff 3 Posted by Jesse von Doom on 22 Mar, 2011 03:12 AM

    Jesse von Doom's Avatar

    There's nothing built-in for a custom scrollbar, no. But the playlist
    is all standard HTML/CSS so you could code one or use a plugin without
    any trouble.

    j

  4. 4 Posted by Kaz on 22 Mar, 2011 03:21 AM

    Kaz's Avatar

    OK cool, What file is the html in? I thought it was all in the flower_soundplaylist.js. Not much of a JS guy. I could make one if I could get to the html.

  5. Support Staff 5 Posted by Jesse von Doom on 22 Mar, 2011 03:23 AM

    Jesse von Doom's Avatar

    It's created in the JS and injected into the DOM, so yeah it's part of
    flower_soundplaylist.js — do a search for "createElement" and you'll
    see it.

    j

  6. Tracy closed this discussion on 17 Mar, 2015 05:02 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac