Outlook 2007 Signature

  • Thread starter Thread starter Bern
  • Start date Start date
B

Bern

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">
<tr><td><img src="http://vnweb.hwwilsonweb.com/hww/images/wweb.jpg"></td>
<td><input type="text" name="searchbox" value="" size="30"
onKeyPress="javscript:return handleKeyPress(event);"></td>
<td><input type="button" value="Search" onclick="javascript:if(doSearch())
{document.searchForm.submit()};"></td>
</tr></table></form>
</BODY>
</HTML>
 
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.
 
Back
Top