:: HOME :: GET EMAIL UPDATES :: Misc re: me :: Links :: Rachel on Facebook :: EMAIL :: | |
2004-12-02 9:33 PM Scriptastic Mood: Frustrated Read/Post Comments (4) |
Okay, so I've at least identified what part of the script is causing problems:
//*** MAIN BUTTONS FUNCTIONS ***// // PRELOAD MAIN MENU BUTTON IMAGES function preload() { for ( x=0; x buttonUp.src = buttonFolder + upSources[x]; buttonOver = new Image(); buttonOver.src = buttonFolder + overSources[x]; } } // SET MOUSEOVER BUTTON function setOverImg(But, ID) { document.getElementById('button' + But + ID).src = buttonFolder + overSources[But-1]; } // SET MOUSEOUT BUTTON function setOutImg(But, ID) { document.getElementById('button' + But + ID).src = buttonFolder + upSources[But-1]; } See, I got this nifty menu done up for me at www.buttongenerator.com but, since I've got a lot of buttons throughout my site, I didn't want to use their generic names of "button1up.png", etc. I thought I'd gotten all the references cleaned up, but something just ain't working because the dynamic switch between the static and mouseover images results in a broken image link. I'm just learning scripting, so I really don't know what each of the elements in the above scri[t actually refers to. Any ideas? (The page in question is Wild Sphere: The Chronicle (usually part of a frameset.) :P Read/Post Comments (4) Previous Entry :: Next Entry Back to Top |
:: HOME :: GET EMAIL UPDATES :: Misc re: me :: Links :: Rachel on Facebook :: EMAIL :: |
© 2001-2010 JournalScape.com. All rights reserved. All content rights reserved by the author. custsupport@journalscape.com |