-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I try two ways but didn't work
first way
<zscript language="javascript">
function test(){
window.open("http://www.google.com","123","height=200,width=400")
}
</zscript>
<fisheye ... onClick="javascript:test()"/>
it say ReferenceError: "window" is not defined.
=============================================
second way
<script type="text/javascript">
function test(){
window.open("http://www.google.com","sss","height=200,width=400")
}
</script>
<fisheye ... action="onclick:test()"/>
no action
Thanks a lot.
It can work.
Asked: 2010-07-01 23:13:31 +0800
Seen: 1,242 times
Last updated: Jul 02 '10