Re: javascipt window

From: Date: Mon, 11 Feb 2002 09:02:00 +0000
Subject: Re: javascipt window
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-16779@lists.php.net to get a copy of this message
Hi, Thanks, that worked fine Mike "Beau Lebens" <B.Lebens@curtin.edu.au> wrote in message news:A2B098B4E624D511BED900508BB92A5701CA4E5D@exmsb02.curtin.edu.au... > 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 > //

« previous php.db (#16779) next »