@{
Style.Include("jquery-ui.min.css")
}
put the jquery-ui.min.css file in your MyModule/Styles/ folder:
MyModule/Styles/jquery-ui.min.css
the rendered HTML will look like this:
<link href="/Modules/MyModule/Styles/jquery-ui.min.css" rel="stylesheet" type="text/css" />
thanks to Adding jquery ui themes Question for help.
UPDATE 20140610
orchard has a jQuery module already, so all i actually had to do was this:
@{
Style.Require("jQueryUI").AtHead();
Script.Require("jQueryUI").AtHead();
}
thanks to Nicholas Mayne
No comments:
Post a Comment