> Please do not top-post, thanks. Oops, apologies. > Put the javascript in <script> tags as you've done, but put them near > the bottom of the page (compose_bottom hook) and they will be executed > as soon as they are placed on the page. You can override the onload > event, but there should be no need. It worked! Many thanks for your help. So I have now written my first Squirrelmail plug-in and ... just because I was on a roll I wrote another one that works in the same way - it uses fortune to add a "fortune cookie" to the end of the message. There used to be such a plug-in but I haven't been able to find it. I used sigtag in the interim, but sigtag doesn't use fortune. Would other people perhaps be interested in my plug-in efforts? Regards Jannetta -- ================================== Web site: http://www.jannetta.com Email: jannetta@xxxxxxxxxxx =================================== Random Thought: Yet another idiot suffering from diarrhea of the mouth and constipation of the brain ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users