peter at pajamian.dhs.org
Wed Mar 12 23:35:40 EST 2008
On 03/12/2008 09:28 PM, Sales Dept wrote:
> ----- Original Message ----- From: "Kevin Walsh" <kevin at cursor.biz>
> To: <interchange-users at icdevgroup.org>
> Sent: Wednesday, March 12, 2008 12:36 PM
>> "Sales Dept" <sstreich at hughes.net> wrote:
>>> place of
>>> the comon menu.
>>> I can't figure out where and how to place it, I had no problems with
>>> versions but with the changes to 5.5.2 I can't get it functioning.
>>> When I use include the whole script shows up.
>>> When I add the following nothing shows or depending on where I put it
>>> I get
>>> a page js/script1.js.html not found.
>>> My js folder is in the catalog root.
>> There's your problem. The directory specified in the "src" is
>> not relative to your website's home. If you wanted that then
>> you'd have used src="[area href='js/script1.js']".
>> As racke said, it's probably better that you put your JS under
>> your Apache DocumentRoot instead.
> I moved the script to the apache root folder and still received the same
> error Sorry, the page (js/script1.js) was not found. I then tried the
> </script> again the same error.
Note that it needs to begin with a / to make it an absolute path.
More information about the interchange-users