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.
Any help would be greatly appreciated. Again, this is for sure not my strong suit, so go easy on me.
Thanks!
Landon