RE: [PHP-DB] javascipt window

2002-02-10 Thread Beau Lebens

Mike, you have a conflict with your different quote-styles, have a look at
the source code when you output that and you will see what i mean, you need
to do something like this;

echo td ALIGN=\CENTER\a
href=\javascript:launchwin('$row[5].htm','newwindow','height=480,width=640'
);\.$format./a/td/tr;

HTH

Beau

// -Original Message-
// From: Mike [mailto:[EMAIL PROTECTED]]
// Sent: Monday, 11 February 2002 11:39 AM
// To: [EMAIL PROTECTED]
// Subject: [PHP-DB] javascipt window
// 
// 
// I am wondering why the following will not launch a window 
// using javascript.
// I have tried escaping the Html  at various points with no success:
// 
// echo td ALIGN='CENTER'a
// href='javascript:launchwin('$row[5].htm','newwindow','height=
// 480,width=640')
// '.$format./a/td/tr;
// 
// the href works fine when I am linking to a normal page.
// Thanks for any help.
// --
// Mike
// 
// 
// 
// -- 
// PHP Database Mailing List (http://www.php.net/)
// To unsubscribe, visit: http://www.php.net/unsub.php
// 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] javascipt window

2002-02-10 Thread Mike

Hi,
Thanks, that worked fine
Mike
Beau Lebens [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Mike, you have a conflict with your different quote-styles, have a look at
 the source code when you output that and you will see what i mean, you
need
 to do something like this;

 echo td ALIGN=\CENTER\a

href=\javascript:launchwin('$row[5].htm','newwindow','height=480,width=640'
 );\.$format./a/td/tr;

 HTH

 Beau

 // -Original Message-
 // From: Mike [mailto:[EMAIL PROTECTED]]
 // Sent: Monday, 11 February 2002 11:39 AM
 // To: [EMAIL PROTECTED]
 // Subject: [PHP-DB] javascipt window
 //
 //
 // I am wondering why the following will not launch a window
 // using javascript.
 // I have tried escaping the Html  at various points with no success:
 //
 // echo td ALIGN='CENTER'a
 // href='javascript:launchwin('$row[5].htm','newwindow','height=
 // 480,width=640')
 // '.$format./a/td/tr;
 //
 // the href works fine when I am linking to a normal page.
 // Thanks for any help.
 // --
 // Mike
 //
 //
 //
 // --
 // PHP Database Mailing List (http://www.php.net/)
 // To unsubscribe, visit: http://www.php.net/unsub.php
 //



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php