I have read the documentation on IPluginStaticJS interface and am in the process of implementing it but without success so far. I'm actually confused by its usage and would be grateful if additional info could be provided for following questions:
Is it possible to include non .js files inside public string StaticJSFiles() method? If I specify all files inside my static folder/subfolders here, would the js files be able to access other files using relative path?
How exactly do I access the files once they are defined inside the implementation class. If I add js/custom_message.js file to the array of files, how do I access this file, say for example using a URL?
Is there any way to access a file inside the static folder of a plugin using a direct URL? Right now I use http://server/fogbugz/default.asp?pg=pgPluginStatic&ixPlugin=37&sFilename=fileName to refer these. But when using this notation it seems files cannot access other files in the same directory tree using relative path.
I would be very grateful if you could help me with the above. Thanks in advance.