Help with php custom popup
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??
//functi开发者_高级运维on:
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:
If the title is being served from the PHP page, you need to add the <title>My Title</title>
to the page.
精彩评论