RE: [PHP-DB] javascipt window
| From: | Beau Lebens | Date: | Mon, 11 Feb 2002 02:40:58 +0000 |
| Subject: | RE: [PHP-DB] javascipt window | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-16778@lists.php.net to get a copy of this message | ||
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:mkinzie@tuxedojunction.ca]
// Sent: Monday, 11 February 2002 11:39 AM
// To: php-db@lists.php.net
// 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
//