pouncer Posted June 26, 2007 Share Posted June 26, 2007 function pop_window(url) { var popit = window.open(url,'console','width=800,height=600,scrollbars=yes'); } then.. within php i have $content .= "<tr><td align=\"center\"><a href=\"javascript:pop_window('$image')\"><img src=\"$image\" width=\"115\" height=\"100\" border=\"0\"></a>"; when the window opens, it contains the URL as the title. I want to change this title to 'screenshots' Link to comment https://forums.phpfreaks.com/topic/57301-window-title/ Share on other sites More sharing options...
tarun Posted June 26, 2007 Share Posted June 26, 2007 Just Have The <title> and </title> Tags For The Page That Your Opening... Thnx, Tarun Link to comment https://forums.phpfreaks.com/topic/57301-window-title/#findComment-283440 Share on other sites More sharing options...
JasonLewis Posted June 27, 2007 Share Posted June 27, 2007 i am not sure how to avoid this either. if you enter for example, My Title in between the title tags then the title would appear like this: http://www.sitename.com - My Title weird... Link to comment https://forums.phpfreaks.com/topic/57301-window-title/#findComment-283858 Share on other sites More sharing options...
tarun Posted June 28, 2007 Share Posted June 28, 2007 Hmmmm... What Brower Are You Using Because It Doesn't Happen To Me Link to comment https://forums.phpfreaks.com/topic/57301-window-title/#findComment-285078 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.