Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
External JS and CSS Files
#6
Hi there,

there must be some mistake somewhere in your code and/or application.

Any external reference to any file must be set like this:

/assets/myjs.min.js

This will work for *any* project or application type, including ISAPI.

The slash in front of the path means that the file path is relative to the ROOT folder of the application, i.e. the wwwroot folder that should be created under your application folder.

So, inside wwwroot folder you add another folder named assets and then save your file to that folder.

This behavior is explained in the "Absolute and Relative paths" section of this document:

https://docs.atozed.com/Docs.dll/develop...20XIV.html
Reply


Messages In This Thread
External JS and CSS Files - by baxing - 04-01-2023, 04:51 PM
RE: External JS and CSS Files - by baxing - 04-03-2023, 06:11 AM
RE: External JS and CSS Files - by brsoft - 04-04-2023, 07:12 AM
RE: External JS and CSS Files - by baxing - 04-04-2023, 09:29 AM
RE: External JS and CSS Files - by brsoft - 04-05-2023, 06:59 AM
RE: External JS and CSS Files - by Alexandre Machado - 04-07-2023, 12:39 AM
RE: External JS and CSS Files - by baxing - 04-07-2023, 05:08 AM
RE: External JS and CSS Files - by baxing - 04-08-2023, 07:09 AM
RE: External JS and CSS Files - by baxing - 04-10-2023, 03:54 AM
RE: External JS and CSS Files - by baxing - 04-10-2023, 07:17 AM
RE: External JS and CSS Files - by baxing - 04-25-2023, 05:22 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)