Here’s how you can create dynamic popups with JavaScript:
<script language=”javascript”>
function popupusersetails( udetails ) {
var dynamwin = window.open(“”,”userdetails”,”width=300,height=300,scrollbars=1,resizable=1″);
var html = “<html><head></head><body><p>”+ udetails +”</p>.</body></html>”;
dynamwin.document.open();
dynamwin.document.write( html );
dynamwin.document.close();
}
</script>
<a onclick=”popupusersetails( ‘Tim’ );” href=”javascript:void(0);”>Click here to see my details</a>

