I think you need to use single quoes for the embedded script code because otherwise you end up with an invalid event hook.
Further you don't need to eval that code - you can directly access the parent window and its properties.
+++ Rick ---
I have this code on the page that is shown inside the Iframe of the wwhoverpanel and i am attaching the attributes to the cancel button in order to be able to close the hover panel.
This code works in all the browsers IE6+ and Safari and Firefox 2 but for some reason fails in Firefox 3 and the page just refreshes with a Javascript error (see below the error it generates in firebug) and the hoverpanel does not close.
function eval must be called directly, and not by way of a function of another name
[Break on this error] window.parent.eval("RecentPanel.hide();");
| Rick Strahl West Wind Technologies Where do you want to surf today? | Reader Version: 5.0 |