I was wondering if it's possible to add a JavaScript to the 'application_top.php file?
I have a few little scripts I've tried this with, and not really knowing PHP at all, and not knowing Java much better, I've gotten terrible results.
Mostly error messages....
I did get one script to work, but the site text was all mis-sized after that, until I took the script out of the application_top.php file.
I know the " (double quote) is messing things up, but I did escape the char using \ and the script still didn't work.
I tried using the echo statement in the application_top.php file, and nothing except the most basic printing to the screen worked at all.
Is it possible to mix a JavaScript into a PHP file, or am I way off?
If so, then can echo be used to execute a script in this manner?
Is the application_top.php page a good place to place a small script that I intend to have active on all pages?
This is my new 1.3.8 install....just set it up this week.
New databases, no addons....yet.
PS Has anyone ever added Javascript to a ZC php file?




