Connect to divio-data
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
/(youtu(?:\.be|be\.com)\/(?:.*v(?:\/|=)|(?:.*\/)?)([\w'-]+))/i | |
Tested examples: | |
http://www.youtube.com/user/Scobleizer#p/u/1/1p3vcRhsYGo | |
http://www.youtube.com/watch?v=cKZDdG9FTKY&feature=channel | |
http://www.youtube.com/watch?v=yZ-K7nCVnBI&playnext_from=TL&videos=osPknwzXEas&feature=sub | |
http://www.youtube.com/ytscreeningroom?v=NRHVzbJVx8I | |
http://www.youtube.com/user/SilkRoadTheatre#p/a/u/2/6dwqZw0j_jY | |
http://youtu.be/6dwqZw0j_jY | |
http://www.youtube.com/watch?v=6dwqZw0j_jY&feature=youtu.be |
(replaces "Master Template")
The Online Styleguide
is a uniformed compendium for project managers, web publisher, designers or developers of how to maintain, update or further develop a website. It gives an insight of formatting, use of space and components accross the online presence. It is devided into three essential parts.
1.1 Typography
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
// allow toolbar items to be visible on small screen sizes | |
$('.cms_toolbar').height(60).find('.cms_toolbar-right').css('display', 'block !important'); |
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
var FeatureGallery = new Class(Cl.Gallery); | |
FeatureGallery.extend({ | |
'move': function (index, direction) { | |
this.parent(index, direction); | |
$(window).trigger('resize'); | |
} | |
}); | |
new FeatureGallery('#gallery_{{ instance.id }}', { | |
'timeout': parseInt('{{ instance.timeout }}') * 1000, |
OlderNewer