From: p d. t. <pdo...@an...> - 2003-10-17 16:57:17
|
Please post to the squirrelmail-plugins mailing list next time. This is off topic for the devel list... > The reason the focus doesn't work on replies for gecko-based browsers is > because of the following script error. > > "Can't move focus to the control because it is invisible, not enabled, or > of a type that does not except the focus" You have to reach into the iframe differently. If you have the quicksave plugin, you can look at how I access the iframe differently in IE/Gecko... aw, heck, here it is: // IE // if ($browser == 'Explorer' && $browserVersion >= 5.5) echo 'if ( document.frames[0].document.body ) QuickSave_cookie_shove("body=" + escape(document.frames[0].document.body.innerHTML), expiration); '; // Gecko // else if ($browser == 'Gecko' && $browserVersion >= 20030624) echo 'if ( document.getElementsByTagName("iframe").item(0).contentDocument.body ) QuickSave_cookie_shove("body=" + escape(document.getElementsByTagName("iframe").item(0).contentDocument.b ody.innerHTML), expiration);'; Thanks for working on this! - Paul |