Can you scroll in soundplayer?

rpmohn's Avatar

rpmohn

27 Apr, 2011 03:09 PM

Is it possible in the current code to set a limit to the number of items displayed in the soundplayer and be able to scroll through a longer list?
Thanks! -Ross

  1. Support Staff 1 Posted by Jesse von Doom on 29 Apr, 2011 06:23 AM

    Jesse von Doom's Avatar

    Hi Ross,

    There's no (easy) way to limit the number of items, but you could set
    a specific height and force it to scroll as it gets longer. Off the
    top of my head the CSS would look something like this:

    div.flower_soundplayer ol {display:block !important;height:200px !
    important;overflow:auto !important;}

    j

  2. rpmohn closed this discussion on 01 May, 2014 06:03 PM.

  3. Jesse von Doom re-opened this discussion on 03 May, 2014 12:22 AM

  4. Support Staff 2 Posted by Jesse von Doom on 03 May, 2014 12:22 AM

    Jesse von Doom's Avatar

    Hi,

    Yeah absolutely. I killed the scroll in our demos but you don't have to. Even the basic players on the main demo page use the standard cashmusic.js library. You can affect any CSS value with cashmusic.js — scroll or no is up to your initial styles.

    j

    ***
    Jesse von Doom
    @jessevondoom

  5. Tracy closed this discussion on 17 Mar, 2015 04:48 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