Ok, so this works fine for IE & NS (thanks to help from here):
<script language="JavaScript">
<!--
function openWindow(url, name) {
popupWin = window.open(url, name,
"resizable,location,scrollbars,width=500,height=500,innerWidth=500,innerHeight=500,left=75,top=75");
}
//-->
</script>
But there's one leeetle problem with the HREF:
<A
HREF="javascript:openWindow('/PRIVACY/INDEX.CFM/IN.#VARIABLES.INIT#/CD.#VARIABLES.CFI#/CN.#VARIABLES.CFT#',
'Privacy_Policy');">Privacy</A>
which is basically maintaining state by passing CFID/CFTOKEN in the URL.
The above JS version of the HREF sets a new sesssion (sets a new
CFID/CFTOKEN pair), whereas the plain ole HTTP version does not:
<A
HREF=/PRIVACY/INDEX.CFM/IN.#VARIABLES.INIT#/CD.#VARIABLES.CFI#/CN.#VARIABLES.CFT#
TARGET="_blank">Privacy</A>
Any suggestions?
best, paul
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists