This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NB: The SiteCollection is Created automatically. If you try to make the collection first | |
an Exception will be thrown; "The Site Collection Already Exists". | |
NB: You don't need the -HostHeaderWebApplication parameter if the site being restored, share | |
the same name as the web application. | |
### Backup | |
Backup-SPSite http://s-hqs-spdev/sites/branding/ -Path C:\COLLECTIONS\Branding.bak –UseSqlSnapshot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function($) { | |
BindBrowserStyles($); | |
BindTopNav($); | |
BindBodySpans($); | |
}); | |
/* | |
specific browsers may require specific fixes | |
*/ | |
function BindBrowserStyles($) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*bootstrap 3 resets for SharePoint*/ | |
/*border-box causes many issues with SP*/ | |
*, *:before, *:after { | |
-webkit-box-sizing: content-box; | |
-moz-box-sizing: content-box; | |
box-sizing: content-box; | |
} | |
/*reset elements that B3 is expecting to be border-box*/ | |
* [class^="col-"], * [class^="col-"]:before, * [class^="col-"]:after, | |
.container, .container:before, .container:after, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function(){ | |
var setArea = $('#loadarea'), | |
loadNum = 1, // 読み込む個数 | |
loadTxt = 'Now Loading...', // Loading中の表示テキスト | |
fadeSpeed = 500; // フェードスピード | |
var onclickStr; | |
var txt; | |
$.ajax({ | |
url: "/[your site]/_api/web/lists/getbytitle('test')/items?$select=*", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('head').append($('<link rel="stylesheet">').attr('href', 'http://twitter.github.com/bootstrap/assets/css/bootstrap.css')); | |
$.getScript('http://twitter.github.com/bootstrap/assets/js/bootstrap-transition.js', function() { | |
$.getScript('http://twitter.github.com/bootstrap/assets/js/bootstrap-collapse.js', function() { | |
var $collapse = $('<div class="accordion">'); | |
var $tplHead = $('<div class="accordion-heading"><a class="accordion-toggle" data-toggle="collapse">'); | |
var $tplBody = $('<div class="accordion-body collapse"><div class="accordion-inner">'); | |
$('.s4-ba .s4-wpTopTable:has([webpartid])').each(function(i) { | |
var $wp = $(this); | |
var $content = $wp.find('[webpartid]'); | |
var $head = $tplHead.clone(); |