Timeline for Relative path of loaded javascript
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 4, 2011 at 3:51 | vote | accept | Jeff | ||
| Sep 4, 2011 at 3:48 | comment | added | Jeff | Thanks, that makes sense. I wanted to make the plugin more re-usable in that the loaded scripts would always be relative to the location of the plugin (same level or sub-dir). If the plugin is going to load non-js scripting files (.cfm in my case), then I suppose I can always make that an option to the plugin. Just as re-usable, but one more option to set. It would be nice to have a default if a path is not specified, but then it's the same problem, I would want the default to be relative to the plugin.js location. I will try looping through the script elements to see if I can set that. | |
| Sep 3, 2011 at 22:02 | history | answered | Darin Dimitrov | CC BY-SA 3.0 |