This is a job for 

<@LITERAL>

Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm 
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm


-----Original Message-----
From: Fogelson, Steve [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 02, 2003 2:57 PM
To: Witango User Group (E-mail)
Subject: Witango-Talk: JavaScript as a Variable

Is their a way to assign Javascript to a variable? IE:

<@assign local$OtherHeader value="

<script language="javascript">
<!--
function newWindow(CatID) {
  popupWindow = window.open("<@var domain$CGI><@var
domain$RootPath>searchapc.taf?Cat_ID=" + CatID +
"&<@userreferenceargument>", "newWin", "toolbar=yes, scrollbars=yes,
resizable=yes, menubar=yes, status=yes, directories=yes, location=yes,
width=700, height=500, screenX=0, screenY=0")
}
// -->
</script>

">

The problem I see are all the special characters <, >, ", ', etc. Anyone
do
this and find a way around it?

Thanks in advance 

Steve Fogelson
Internet Commerce Solutions
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to