Help with php custom popup
- by user329394
Hi i have create a custom popup using javascript to use in PHP file. thw popup will appear when user click My Special Website i need to change the title header. Can help me how to do it??
//function:
function myPopup() {
window.open( "<?=$CFG->wwwroot.'/example.php';?>" ,"myWindow", " height = 300, width = 600, statusbar=0, scrollbars=0,resizable=0, location=0,status=0, directories=0, menubar =0, toolbar =0 , left = 262,top = 234" ) }
// call:
<a href="#" onclick="myPopup() " >My Special WebSite </a> <span class="style1">*</span>
See my sample page: