THE FUNCTION
<script language="JavaScript">
<!--
function popUp(URL,wwidth,wheight) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "',
'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width="
+ wwidth + ",height=" + wheight + ",left = 75,top = 75');");
}
//-->
</script>
THE LINK
<a href="javascript:popUp('pop.cfm,300,300')">Click me</a>
----- Original Message -----
From: "Howard Owens" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, February 08, 2003 5:24 PM
Subject: Okay, that settles it, I'm definitely having problems...anyone
else? Q inside...
> To your question ...
>
> Yes, JavaScript ... there's plenty of scripts out on the net that will
show you how to do a popup. Just make it a onClick event.
>
> Most of the pops work something like this:
>
> function popup(URL, windowvars) {
> details of the function here
> }
>
> Then your link --
>
> onClick="('http://somesite.com/answer.cfm?answer_id=#answer_id#',
'250,250')"
>
> HTH
>
> H.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4