Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dreavweaver's Rollover Image Code

Status
Not open for further replies.

eclipse33

Programmer
Joined
Apr 13, 2001
Messages
94
Location
CA
I have created a navigation bar with some rollover images using the "insert rollover image" code in Dreamweaver. It works perfect on the original page I put it on BUT...when I copy all the rollover code to another page in my site the rollovers no longer work. Also when I hover over the button the error - Object expected (popup) appears. Any ideas?
 
Here is the generated code

<BODY......onLoad=&quot;MM_preloadImages('../images/home_button_down.gif')&quot;>



<A HREF=&quot;main.html&quot; onMouseOut=&quot;MM_swapImgRestore()&quot; onMouseOver=&quot;MM_swapImage('Home1','','../images/home_button_down.gif',2)&quot;>
 
I noticed the same problem when copying and pasting the jump menu code. The way I fixed it was that each time I entered the code in the new page, I double clicked the relevent entry in the Behaviors Box (Shit+F3), then clicked OK with altering the behavior. It worked. Don't know if rollovers have the same feature. Worth a try!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top