> -----Original Message----- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: October 5, 2004 3:52 PM > To: [EMAIL PROTECTED] > Subject: RE: [PHP] why this doesn't work as an external file but does > internally? > [snip] > And the web has these JavaScript lists! Quaint, no? [/snip]
If you look closely, it's tied in with PHP. But thanks your help! [snip] > Anyhow, to make this work you will need to generate your JavaScript code > with PHP. [/snip] If that was true then why does this work: img1off = new Image(); img1off.src = "<?php echo $base_url; ?>Graphics/home_off.gif"; I certainly didn't generate it with PHP and it was included as an external file. Thanks! A -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php