Resize CPV popup onclick code in Chrome and Opera
I am doing CPV and I use a html code to resize my CPV popups to max size:
<html>
<title>Move, Resize</title>
<body bgcolor="#FFFFFF">
<script language="JavaScript">
function movesize()
{
window.moveTo(0,0)
window.resizeTo(screen.availWidth,screen.availHeig ht);
}
-->
</script>
<br>
Click <a href="javascript:movesize();">here</a> to test.
</body>
</html>
And It is working good when I use it onclick on img, BUT only in IE and Firefox. It doesnt work in Chrome and Opera. So guys how to solve the resize problem in this browsers please give the solution!
Please use English language in your Signature.