I'm trying to modify the fck_link.js code so it will generated onmouseover/onmouseout code instead of popup (onclick - window.open...) code. Basically I need it to generate this type of code: <a href="javascript:;" onmouseover="popup('2','<img src="path from editor" width="width of image" height="height of image">,'15','0') onmouseout="popup('1')">view image</a>
I think I have everything figured out except for changes needed in the regEx functions and how to add the onmouseout to <a> tag. Does anyone have any ideas for those? I'm a regEx noob so any help is greatly appreciated.
Thanks in advance for any and all help.
I think I have everything figured out except for changes needed in the regEx functions and how to add the onmouseout to <a> tag. Does anyone have any ideas for those? I'm a regEx noob so any help is greatly appreciated.
Thanks in advance for any and all help.
Re: Change popup code to onmouseover
I have evrything else (or so it seems), but when saving it seems to get a little mangled. I am thinking it is because the above mentioned functions aren't correct.