[thelist] ColdFusion and Javascript
Ewing, Christopher
cewing at mooremedical.com
Tue Oct 9 10:27:40 CDT 2001
We get no cold fusion or Javascript errors. When the page is run
standalone, the menu (with drop downs) works fine.
When it is called via a CFinclude, it doesn't work - no errors, it just
doesn't work.
-----Original Message-----
From: Raymond Camden [mailto:jedimaster at macromedia.com]
Sent: Tuesday, October 09, 2001 11:30 AM
To: thelist at lists.evolt.org
Subject: RE: [thelist] ColdFusion and Javascript
>
> I'm trying to add a javascript menu system to a cold fusion
> site. When I view the page containing the links and
> javascript by itself, it works fine.
>
> If I include the files inside another page, they stop
> working. As a test, I stripped all content out of the
> "outer" page, so it only contained HEAD, TITLE, and BODY
> tags. The include still doesn't work.
What do you mean? Do you get CF errors? Do you get JS errors? Do you get
no errors but not the expected results?
> My outer page, menu page, and scripts are all in the same directory.
>
> It appears to be an issue with CF. We're using CF5 server.
I noticed in the code below...
> HM_PG_FontColorOver = "#63639C";
> HM_PG_BGColor = "#63639C";
> HM_PG_BGColorOver = "#CECEFF";
These items need to be escaped. If you have CFOUTPUTs around the
CFINCLUDE, or inside of it, CF will 'trip' on the # sign. You will need
to change it to ##.
=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
Email : jedimaster at macromedia.com
Yahoo IM : morpheus
"My ally is the Force, and a powerful ally it is." - Yoda
---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !
More information about the thelist
mailing list