- Code: Select all
https://yourreflector.indigodomo.net/com.yourplugin.id/path/to/file.css
A common file layout would be:
- Code: Select all
Resources
css
EventLog.css
js
prototype.js
tablekit.js
Then, in your HTML, you would reference them:
- Code: Select all
<link rel="stylesheet" type="text/css" href="/com.yourplugin.id/css/EventLog.css">
<script type="text/javascript" src="/com.yourplugin.id/js/prototype.js"></script>
<script type="text/javascript" src="/com.yourplugin.id/js/tablekit.js"></script>
You can also serve static content from your plugin, but you don't really need to do that since everything in the Resources directory is available for free.