The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

hide/show slider kills mp3 player

  • # April 7, 2009 at 8:06 pm

    I’m a pretty big n00b where JavaScript is concerned, and I pretty much haven’t done much out of the box with the current wordpress theme I’ve been using. it has a navigation bar slider that uses scriptaculous and a pretty simple looking ‘slide.js’ file:

    function openNav() {
    var targetDiv = $(‘slidebar’);
    new Effect.BlindDown(targetDiv,{duration: 0.5});
    new Effect.Fade(‘openSlidebar’);
    Effect.Appear(‘closeSlidebar’, {delay: 1});
    function closeNav() {
    var targetDiv = $(‘slidebar’);
    new Effect.BlindUp(targetDiv,{duration: 0.5});
    new Effect.Fade(‘closeSlidebar’);
    Effect.Appear(‘openSlidebar’, {delay: 1});
    } … ototype.js … effects.js

    Basically, I’ve dropped a slick + simple mp3 player in the navigation section and want to be able to keep it hidden (without stopping the tunes)..

    if it’s worth anything, here’s the object I’ve embeded.


    Any help would be greatly appreciated. Again, this is for sure not my strong suit, so go easy on me.


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed