Add those lines between head tag.
<script type="text/javascript">
function newPopup(url) {
popupWindow = window.open(
url,'popUpWindow','height=350,width=800,left=10,top=10,resizable=no,scrollbars=yes,toolbar=no,menubar=no,location=no,directories=no,status=no')
}
</script>
Create a form inside body tag.
<?php
print "<form action=\"JavaScript:newPopup('comment.php');\" method=\"POST\">";
print "<input type=\"hidden\" name=\"rnum\" value=\" $ac_no\">";
print "<td><input type=\"image\" id=\"enter\" name=\"submit\" src=\"images/comment.gif\">";
print "</td>";
print "</form>";
?>
Create a simple html or php page which you want to be popped out.
Enjoy your pop out window having all editable properties[height=350,width=800,left=10,top=10,resizable=no,scrollbars=yes,toolbar=no,menubar=no,location=no,directories=no,status=no].
Server side coding,ASP,ActiveVFP,CSP,Server-Side ANSI C, ColdFusion, CGI, Erlang with Linux, Yaws, Mnesia, Erlang, Grails (framework) Java, Perl, PHP, Python, e.g. Django (web framework), Real Studio Web Edition, Ruby, e.g. Ruby on Rails, Smalltalk e.g. Seaside, AIDA/Web, SSJS Server-Side JavaScript, e.g. Aptana Jaxer, Mozilla Rhino, WebDNA,Websphere ,.NET and .NET MVC Frameworks.
Monday, April 29, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment