A quick example Harp app that uses the correct title for your blog in the correct place.
The App
app/
|- _harp.json
|- _layout.ejs
|- index.ejs
|+ posts/
|- _data.json
Bootstrap 3 - Carousel/Slider Collection | |
Article: http://sevenx.de/blog | |
Demo: http://sevenx.de/demo/bootstrap-carousel | |
Working Examples (inline Styles, CDN Scripts) | |
- minimal Bootstrap Markup changes | |
- minimal CSS Styles | |
- minimal jQuery |
A quick example Harp app that uses the correct title for your blog in the correct place.
The App
app/
|- _harp.json
|- _layout.ejs
|- index.ejs
|+ posts/
|- _data.json
<style> | |
.gr {background-color: rgba(0, 128, 0, 0.20);} | |
.rd {background-color: rgba(255, 0, 0, 0.20);} | |
.bl {background-color: rgba(0, 0, 255, 0.30);} | |
.fl {display: flex;} | |
.fg {flex-grow: 1;} | |
.fdc {flex-direction: column;} | |
.asc {align-self: center;} | |
</style> |
angular.element("[name='" + $scope.editProfForm.$name + "']").find('.ng-invalid:visible:first').focus(); |
function findFirstInvalid(form){ | |
for(var key in form){ | |
if(key.indexOf("$") !== 0){ | |
if(form[key].$invalid){ | |
return key; | |
} | |
} | |
} | |
} |
currentTime = new Date(); | |
time = currentTime.getTime(); | |
hours = currentTime.getHours(); | |
//////////////////////////////////// | |
var today = new Date(); | |
var dd = today.getDate(); | |
var mm = today.getMonth()+1; //January is 0! | |
var yyyy = today.getFullYear(); | |
if(dd<10) { |
function toObject(arr) { | |
var rv = {}; | |
for (var i = 0; i < arr.length; ++i){ | |
if (arr[i] !== undefined) { | |
rv[i] = arr[i]; | |
} | |
} | |
return rv; | |
} | |
vm.filterList = toObject(data.letters); |
hs.capitalizeSentence = function(string){ | |
var words = string.split(' '); | |
for (i = 0; i < words.length; i++){ | |
words[i] = words[i].charAt(0).toUpperCase()+ words[i].slice(1); | |
} | |
return words.join(' '); | |
}; |
/* | |
Based on: | |
1. http://stephen.io/mediaqueries | |
2. https://css-tricks.com/snippets/css/media-queries-for-standard-devices/ | |
*/ | |
/* iPhone 6 in portrait & landscape */ | |
@media only screen | |
and (min-device-width : 375px) | |
and (max-device-width : 667px) { |
$(document).ready(function(){(adsbygoogle = window.adsbygoogle || []).push({})}) | |
or | |
setTimeout(function(){(adsbygoogle = window.adsbygoogle || []).push({})}, 1000); |