unless your application is in wwwroot, you will need to include the
application name in any paths
eg myApp/css/basics.js

do a cfDump of  #application.url.webroot# to see what is stored in there.


On Wed, 30 Jun 2004 10:27:46 +1000, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> 
> 
> 
> Geoff: Thank you for your contribution:
> 
> The script tag that attempts to include the JS is wrapped in CFOUTPUT
> tags.
> Good point about the method names � and I will follow that through. But�
> 
> Gary: Thank you for your contribution:
> 
> My choice of words was not the best. I did not specifically mean the link
> tag.
> I am including the Javascript using the following tag:
> 
> <script language="JavaScript" src="/css/basics.js" type="text/javascript"></script>
> 
> I had been trying to include it as
> 
> <script language="JavaScript" src="#application.url.webroot#/css/basics.js" 
> type="text/javascript"></script>
> 
> but removed the #application.url.webroot# to simply things (superstition
> is sometimes a terrible religion ;-) and try to resolve the problems.
> 
> Tim: Thanks for showing some continuing curiosity:
> 'heaps of script problems' means that it is not working, and I am getting
> frustrated :-)
> Basically the script is for a set of drop down menus. I have not written
> the JavaScript - it was generated by other design applications - and I
> admit I am not that cluey with JavaScript (simply because I have not had
> to do much with it as yet).
> However the script does work quite fine elsewhere (when included in other
> web pages). So at the moment it only appears to produce errors when
> included into the FarCry header.
> 
> 
> 
> 
> ---
> You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to