Good day Zen Cart users!

Recently, I inquired on this forum about embedding JavaScripts into PHP files.

Dr. Byte's Reply:



If you need to add javascript to your site for some reason, it belongs somewhere in the template logic, not in the core intelligence of the overall site.
http://www.zen-cart.com/forum/showthread.php?p=681116

OK...I understand that to keep the code neat and sensible, I should keep everything in its place.

I was wondering, though....

Some pages have an HTML area, such as product info pages, as well as the various EZPages and info pages.

Some JavaScripts seem to only work when embedded within an HTML area on the cart, and do not work when executed as JavaScript .JS files.

So, what I was wondering...as the Footer appears on every page of the cart , and since not all pages have an HTML area, is there a way to make the Footer an 'html area', instead of merely being echo'ed PHP code?

A related question: How are the pages featuring an area with an 'HTML area' handled?
It isn't through a PHP echo statement, I am guessing...

As always, any help would be greatly appreciated.

Donn