I'm building a Web Part for SharePoint 2010 and I would like to add a simple modal.
I've registered the external js script as follows:
ScriptLink.Register(this.Page, "js/jquery-1.5.min.js", true);
ScriptLink.Register(this.Page, "js/jquery.simplemodal-1.4.1.js", true);
Somehow I'm getting that a message saying that the file was not found, because it's looking at 1033/_layouts
directory, or something like that.
So, my question is: how could I reference an external JavaScript file from my webpart, without placing them at that directory?