| | |
open popup without using function
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
PHP Syntax (Toggle Plain Text)
<html> <head></head> <body> <?php print "<script type='text/javascript'>"; print "window.open='http://www.examples.com/page.html','new_window1','status=1,scrollbars=1,resizable=0,menu=no,width=320,height=220'"; print "</script>"; ?> </body> </html>
Not able to open popup.Is this correct code.
Try this.
php Syntax (Toggle Plain Text)
<html> <head> </head> <body> <?php print "<script type='text/javascript'>"; print "window.open('http://www.examples.com/page.html','new_window1','status=1,scrollbars=1,resizable=0,menu=no,width=320,height=220');"; print "</script>"; ?> </body> </html>
Ignorance is definitely not bliss!
*PM asking for help will be ignored*
*PM asking for help will be ignored*
![]() |
Similar Threads
- Popup window on button click (ASP.NET)
- Would like to pass two parameters to a function that is outside of a web page. (JavaScript / DHTML / AJAX)
- How to open a popup page automatically? (HTML and CSS)
- Bogus error msg and browser popup (Viruses, Spyware and other Nasties)
- Major Popup Problem (Viruses, Spyware and other Nasties)
- new popup window, chromeless / no scrolls? (JavaScript / DHTML / AJAX)
- urgent-how to pass multiple values to the parent form (ASP)
- urgent-how to pass multiple values to the parent form (HTML and CSS)
- Internet Explorer won't load, cannot open search (Viruses, Spyware and other Nasties)
Other Threads in the PHP Forum
- Previous Thread: PHP Variables through Checkboxes
- Next Thread: Mysql to PHP
Views: 2390 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary broken cakephp checkbox class cms code cron curl database date directory display download dynamic echo email error errors file files folder form forms function functions google href htaccess html if...loop image include insert integration ip java javascript joomla jquery limit link login loop mail menu methods mlm mod_rewrite multiple mysql oop parse paypal pdf php problem query radio random recursion recursive regex remote script search select server sessions shot sms soap source space speed sql structure syntax system table tutorial update updates upload url validation validator variable vbulletin video web xml youtube






