Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding mouseovers to menu buttons: Which file(s)?


JHouse

Recommended Posts

Hi,

 

First of all, I have searched the forum for awhile about this subject, but as of yet, no luck. I'm sure it's been dealt with here several times though.

 

Okay, I have a mouseover script, and it works fine, however, I don't know where to add the related javascript, nor the ONLOAD="preloadImages();" call. I know where to add the related buttons, just not the javascript and preload stuff.

 

Any help would be appreciated.

 

Thanks.

JHouse

Link to comment
Share on other sites

By the way, the mouseovers will take place at the top of the site, in the header. I know I'm supposed to add the actual buttons in the header.php file, along with their mouseover events, I just don't know where to place the actual javascript, in this case.

 

Thanks.

JHouse

Link to comment
Share on other sites

It's okay, it's okay, don't you guys worry, I got it all figured out now. :D

 

Basically, I just added the javascript to the header, as well as the body tag calling the preload images, and now it works like a champ, on both NS and IE too.

 

You're all off the hook now. I'm sure you'll get some sleep. ;)

JHouse

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...