Tag Info

Hot answers tagged

5

I guess you could always use a site collection token in your URL. ~sitecollection URLs and tokens in SharePoint 2013 If that don't work out for you, this blog post has a lot of great examples when working with masterpages and references. Use Site Url in SharePoint Update Try using a scriptlink instead. I'm unsure if encoding is needed thought. Try to ...


4

Here’s the code you should put on your pages: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script type="text/javascript" src="http://path to the script/StickyHeaders_v2.9BETA.js"></script> You can download StickyHeaders_v2.9BETA.js from here


2

I have been using Mavention minifier tool. It is working as expected and you can apply this on the particular files that you wanted. MaventionMinifiedCssFileGenerator - for minifying CSS files MaventionMinifiedJsFileGenerator - for minifying JavaScript files MaventionObfuscatedJsFileGenerator - for minifying and obfuscating JavaScript files are the ...


2

I had the same issue and as you said none of the CSS of Script did work for me as well. So I have to patch something with below script. This should be considered as a last option if you have any other solution available. So if you try this, you will have your issue fixed with below script: var interval = null; //Defines the start interval variable ...


2

If you use file system then during system backup those files will not get backed up. This is the same case with system migration. All files in file system needs to be moved separately. On the other hand if you use libraries then those files will be placed in the content database and will be included in backup as well as system upgrade etc. If you place ...


2

How about using the WebEssentials Extension. Bundling and minifying is just one feature you would get out of it. Others are: A lot of compilers and linters for CSS/JS. Additional Debugging functionality Bundling via XML (CSS/JS/Sprites) Better Intellisense and a lot more just check their homepage Btw. these Tools are added in VS2015 by default and are ...


1

You need to escape periods in your IDs. So your code would be something like this. #Ribbon\.EditingTools\.CPInsert.ms-cui-tabBody { height:78px!important; background-color:green; }


1

Considering you are not interested in the whole document library VS mapped folder discussion, I believe that the main reason for placing branding elements (aka CSS) in the "Styles" mapped folder, instead of the parent, "Layouts" is mainly when you want to use the Themable engine. Whether you want to host your resources in a site or directly reference them ...


1

In the past, I had used the AJAX minifier, http://ajaxmin.codeplex.com/, to bundle and minify my JS and CSS fiels as part of a build action. It worked well. In the end though, I stopped doing it as I wasn't deploying a lot of JS and CSS files. It made real time troubleshooting more difficult and added unneeded complexity to the application, for very ...



Only top voted, non community-wiki answers of a minimum length are eligible