View Single Post
  #1  
Old September 30th 09, 05:35 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default Outlook 2007 Signature

Forget about using this or any other widget in a signature. Outlook doesn't
allow code to run in received messages. Many other mail programs probably
don't either. It's a security issue.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Bern" wrote in message
...
I've copied HTML code for a Widget into Notepad, however, unable to copy
and
past into my signature. Has large red X in search box and image
distorted.
The path is included in the following. Copies to my Desktop OK. Any
ideas?
HTML
BODY
script language='javascript'
function doSearch(){var theForm = document.searchForm;theForm.query.value
=
theForm.def.value;if(theForm.query.value == "" && theForm.searchbox.value
==
""){alert("Please enter a term to search");return
false;}else{if(theForm.query.value != "" && theForm.searchbox.value !=
""){theForm.query.value = theForm.query.value + " and " +
theForm.searchbox.value;}else if(theForm.searchbox.value !=
""){theForm.query.value = theForm.query.value +
theForm.searchbox.value;}}return true;}
function handleKeyPress(eve){var key=eve.keyCode || eve.which;if
(key==13){return doSearch();}}
/script
form action="http://vnweb.hwwilsonweb.com/hww/jumpstart.jhtml"
method="get"
name="searchForm" target="win2"
input type="hidden" name="prod" value="OMNIFT"/
input type="hidden" name="query" value=""/
input type="hidden" name="def" value=""/table cellspacing="2"
cellpadding="2" style="border:1px solid#000000;background:#FF3333"
trtdimg src="http://vnweb.hwwilsonweb.com/hww/images/wweb.jpg"/td
tdinput type="text" name="searchbox" value="" size="30"
onKeyPress="javscript:return handleKeyPress(event);"/td
tdinput type="button" value="Search" onclick="javascript:if(doSearch())
{document.searchForm.submit()};"/td
/tr/table/form
/BODY
/HTML




Ads