Marks
|
| Posted: 12/18/2002, 9:33 AM |
|
I have an image link that I would like to change when the event onmouseover is fired. I have made the components in fireworks, dropped the functions MM_findobj, MM_swapImage and MM_swap image restore in the head section in HTML view. The image links are dynamically generated from the db. I have tried to add the onmouseover event on the HTML page in the tag but nothing seems to work. Further, in CCS in the Properties box under Format, Events, how do I put a javascript into the text area of that event? What is the syntax? I tried "alert("Event Fired")" just as a troubleshooting check, with quotes, without quotes, single quotes, etc, and CCS just mangles the javascripts. Any suggestions? Clues? Help?
|
|
|
 |
Marks
|
| Posted: 12/19/2002, 6:43 PM |
|
I try doing trouble shooting in MS Front page then past the HTML into the header / footer section of the CC page once it works. I'm yet to fail on this.
|
|
|
 |
RonB
|
| Posted: 12/20/2002, 4:06 AM |
|
CCS does horrible things to javascript in the body section. try putting the commands in a function and put it in the head section. In the body just call the function you created. This almost always work. Seems a simple onclick="myfunction()" doesn't get mangled and code in the head section is left intact by ccs.
Ron
|
|
|
 |
|