Help with php custom popup

Posted by user329394 on Stack Overflow See other posts from Stack Overflow or by user329394
Published on 2010-06-02T03:50:30Z Indexed on 2010/06/02 3:53 UTC
Read the original article Hit count: 160

Filed under:

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:

© Stack Overflow or respective owner

Related posts about php