This is a multi-part message in MIME format.

------=_NextPart_000_001F_01BFAEA1.784356F0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm having trouble passing a parameter on with a Java code new window =
function.  I know this is a really basic question but I'm just learning =
Java... any help would be really appreciated.

 I've got this in the head of the page:

<script language=3D"JavaScript">
function productwindow()
{product=3Dwindow.open("products/1detailtemplate.cfm","Product_Detail","l=
ocation,menubar,height=3D500,width=3D500");
}
</script>

and this inside my query:

<a href=3D"javascript:productwindow()">
#Product#</a>

which works fine, but of course I need to pass the variable =
?Code=3D#Code# along with the search string to the 1detailtemplate.cfm =
page for it to work.=20

Thank you very much!

Britta

------=_NextPart_000_001F_01BFAEA1.784356F0
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'm having trouble passing a parameter =
on with a=20
Java code new window function.&nbsp; I know this is a really basic =
question but=20
I'm just learning Java... any help would be really =
appreciated.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;<U>I've got this in the head of =
the=20
page:</U></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;script =
language=3D"JavaScript"&gt;<BR>function=20
productwindow()</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>{product=3Dwindow.open("products/1detailtemplate.cfm","Product_D=
etail","location,menubar,height=3D500,width=3D500");<BR>}<BR>&lt;/script&=
gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><U>and this inside my =
query:</U></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;a=20
href=3D"javascript:productwindow()"&gt;<BR>#Product#&lt;/a&gt;</FONT></DI=
V>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>which works fine, but of course I need =
to pass the=20
variable ?Code=3D#Code# along with the search string to the =
1detailtemplate.cfm=20
page for it to work.&nbsp;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thank you very much!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Britta</FONT></DIV></BODY></HTML>

------=_NextPart_000_001F_01BFAEA1.784356F0--

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to