[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] javascript with 5.5.2


"Sales Dept" <suppressed> wrote:
> In IC 5.5.2 I'm trying to add my own drop down javascript menu in place of 
> the comon menu.
> I can't figure out where and how to place it, I had no problems with earlier 
> 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.
> <script type='text/javascript' src="js/script1.js"></script>
> 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.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    suppressed
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.