I am using the HV Menu script ...
HV Menu Script
I am trying to use the rollover function designated in the script. It's got a nifty feature that let's you replace the "text" in a menu with an image, and a rollover image (ie, as in buttons). I need this to accomodate my design, which is why I selected the script!
Well, I got the rollover feature to work, by following the sample:
Menu1=new Array("rollover:Image1.jpg:Image2.jpg","/book/query.html","",0,48,211);
This works *peachy* as long as the pages, images and the js are all in the same directory. However, as soon as I move the images into their respective graphics directory, or I move a page into a subdirectory, the images all break.
I've tried referencing the graphics directory in the code, but it doesnt seem to work; for example:
Menu1=new Array("rollover:'/images/Image1.jpg':'/images/Image2.jpg'","/book/query.html","",0,48,211);
... but this does not work![]()
Any ideas? I'd really like to incorporate this feature, but the site I am working on is huge, and we must organize pages, images, etc, into subdirectories.
Any help, would be greatly appreciated![]()



Reply With Quote


Bookmarks