Click to See Complete Forum and Search --> : onMouseOut code error
doedewas
11-03-2003, 09:38 PM
I made a nav bar with rollovers in dreamweaver - but don't know anything about javascript. For some reason there is an error in the code, resulting in text instead of a graphic link. After comparing with other buttons, I see that the code for the missing image is incomplete after onMouseOut compared to the other ones. The reference to the image source is incomplete and starts with the r of var.
Does anyone know the cause of this error?
Thanks
page with error (http://www.yoga-and-massage.com/indexnw.htm)
I found no errors, except that the linked pages do not exsist.
What was the error text, which link caused the error and which browser did you use?
doedewas
11-04-2003, 07:18 AM
Thanks for your reply.
The massage link (that you don't see) is replaced by code on the page (IE6&Netscape). I know the code is different from the code of other links in the same nav bar. But this is the code on the generated page in IE, not on the original code that DW created.
Whereas the previous link's code is:
.....onMouseOut="MM_nbGroup('out')"><img src="..." etc etc onload="var SymTmpWinOpen = window.open; etc etc;>
The code for the wrong display reads:
.....onMouseOut="MM_nbGroup('out')">r SymTmpWinOpen = window.open; ; window.open etc etc;>
Before the "r" should have been:[<img src etc etc onload="va]
I think I am going to create that nav bar one more time to see if it comes out different.
Doedewas
Gollum
11-04-2003, 07:31 AM
Hmm, I'm not seeing the problems you are talking about.
The only thing I can see that is wrong is that your two images for the massage link - images/navbar_03.gif and images/navbar_ovr_03.gif - are identical. If you changed the second one to highlight the text then it should all work.
Are you sure you're not caching the page? try forcing a full download - <ctrl>-F5 on IE should do it.