Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript hide/show slider kills mp3 player

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #24524
    landonwisely
    Member

    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:

    Code:
    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});
    }

    http://landonwisely.com/wp-includes/js/ … ototype.js
    http://landonwisely.com/wp-includes/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.

    Code:

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

    Thanks!
    Landon

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.