This is a simple list of visual design languages that are available to the public.
This file contains 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
.previous:has(+ .next) {} |
This file contains 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 () { | |
displayCssInfoFor(); | |
})(); | |
// A simple helper to display the CSS properties of an element at runtime. | |
// Use: | |
// By defualt, displays the color of the previous sibiling. | |
// <span data-properties-for></span> | |
// Specify element | |
// <span data-properties-for='{"element": "selector"}'></span> |
This file contains 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
@*Experimental, I'm still fairly new to Umbraco there could be an API avialbe for this already. | |
This was inspired by http://cultiv.nl/blog/razor-vs-base-to-output-json-in-umbraco/ | |
If there is a better way please let me know via twitter @EdCharbeneau | |
Add this template to your Umbraco site and any content can be called via Ajax using | |
/mySite/contentPath/?alttemplate=AsJson | |
Return value will be { propertyAlias : value } | |
Ex: { "personAlias" : "John Doe", "id" : 1002 } | |
*@ |
This file contains 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
<!-- Windows Phone 8 and Internet Explorer 10 | |
Internet Explorer 10 doesn't differentiate device width from viewport width, | |
and thus doesn't properly apply the media queries in Bootstrap's CSS. | |
To address this, you can optionally include the following CSS and JavaScript | |
to work around this problem until Microsoft issues a fix. | |
Attribution: overflow http://stackoverflow.com/questions/19659053/viewport-for-ie10-11-desktop-but-not-mobile | |
--> | |
<style> | |
@-webkit-viewport { width: device-width; } |
This file contains 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
@using Kendo.Mvc.UI; | |
@using EventSchedule; | |
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
@{ | |
Layout = "_Layout.cshtml"; | |
var scheduleDate = Model.Content.GetPropertyValue<DateTime>("displayDate"); | |
var events = Model.Content.Children.Select(child => new MyEvent(child)); | |
} |
This file contains 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
// Convert the DOM element to a drawing using kendo.drawing.drawDOM | |
kendo.drawing.drawDOM($(".qr-wrapper")) //#qrMail | |
.then(function(group) { | |
// Render the result as a PNG image | |
return kendo.drawing.exportImage(group); | |
}) | |
.done(function(data) { | |
// Save the image file | |
kendo.saveAs({ | |
dataURI: data, |
This file contains 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
Here are my notes from the What’s New in MVC 6 video. | |
https://www.youtube.com/watch?v=CKvaZkC94Mc | |
38:55 Http context IIS not required | |
39:38 Async all the things | |
40:45 www root is the new static context folder | |
This file contains 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
<!doctype html> | |
<html class="no-js" lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>@ViewData["Title"] - F6Core</title> | |
<environment names="Development"> | |
<link rel="stylesheet" href="~/css/app.css" /> |