might want to make one more modification to that link:
<a href="##" class="small"
onclick="window.open('PrivateInfo.cfm?id=#form.councilMemberID#',
'Rating', 'width=550,height=170,left=150,top=200,toolbar=0,status=0');
return false;">Edit</a>
added the pound sign into the href (doubled up to escape it) and added
a 'return false' to the onclick event. the latter will just ensure
that the browser window that receives the click event doesn't try to
follow the link (in this case, reload the page).
oh, also enclosed the open() method's arguments into single quotes so
the onclick value can be enclosed in double quotes :)
On 4/5/07, Bruce Sorge <[EMAIL PROTECTED]> wrote:
> I figured it out. My hyperlink was written wrong. I had:
>
> (<a href="PrivateInfo.cfm?id=#Form.CouncilMemberID#" class="small" onclick=
> window.open("PrivateInfo.cfm
> ?id=#Form.CouncilMemberID#","Ratting","width=550,height=170,left=150,top=200,toolbar=0,status=0,");>Edit</a>)
>
> when it should have been:
>
> (<a href="" class="small" onclick=window.open("PrivateInfo.cfm
> ?id=#Form.CouncilMemberID#","Ratting","width=550,height=170,left=150,top=200,toolbar=0,status=0,");>Edit</a>)
>
>
>
> On 4/5/07, Charlie Griefer <[EMAIL PROTECTED]> wrote:
> >
> > the link that opens the window... is it being opened via javascript or
> > just via a target="_blank" attribute?
> >
> > if it's not being opened by javascript, then it won't be recognized as
> > the "opener" by javascript.
> >
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2
Build sales & marketing dashboard RIAâs for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274634
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4