russianmadcity Posted April 20, 2004 Posted April 20, 2004 hi2all i was talking about my problem in this topic: Unable To Access Files In Cgi-bin i came to the conclusion that the only way to add external javascript to your php page is <? include () ?>. Regular html <script src=""></script> - doesn't work. am i right? Quote
TCH-Don Posted April 20, 2004 Posted April 20, 2004 (edited) When you drop out of php try <script LANGUAGE="javascript" TYPE="text/javascript" SRC="scrolling.js"> or while in php <?php print( '<script LANGUAGE="javascript" TYPE="text/javascript" SRC="scrolling.js">' ); ?> Edited April 20, 2004 by TCH-Don Quote
russianmadcity Posted April 21, 2004 Author Posted April 21, 2004 woooot it works, i had errors in different code, there was no problem with js. thanx much Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.