Suppose,
I want to give reference of the css and some js file in my custom web part and it is stored in my custom folder of the master page directory.
Then just need to add the links as below:
For CSS :
<link rel="stylesheet" type="text/css" href="/_catalogs/masterpage/[foldername]/[filename]"/>
For js File:
<script type="text/javascript" src="/_catalogs/masterpage//[foldername]/[filename]"></script>
I want to give reference of the css and some js file in my custom web part and it is stored in my custom folder of the master page directory.
Then just need to add the links as below:
For CSS :
<link rel="stylesheet" type="text/css" href="/_catalogs/masterpage/[foldername]/[filename]"/>
For js File:
<script type="text/javascript" src="/_catalogs/masterpage//[foldername]/[filename]"></script>
No comments:
Post a Comment