Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   Outlook 2007 Signature (http://www.outlookbanter.com/outlook-using-forms/95484-outlook-2007-signature.html)

Bern September 30th 09 05:06 PM

Outlook 2007 Signature
 
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

Sue Mosher [MVP][_3_] September 30th 09 05:35 PM

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






All times are GMT +1. The time now is 11:26 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com