4. Adding a Simple DDR Menu Template
-
9m 24s
Oct 01, 2012
In this tutorial we walk you through step by step how to create a responsive HTML5 skin for DotNetNuke 6.x
This is an intermediate level tutorial and you will be required to have some skinning experience working with skin ascx files directly.
A responsive skin will adapt itself to any screen resolution, this means we only have to create one skin to cater for all the different devices and screen sizes being used to access our dotnetnuke site.
This tutorial will give you an excellent template to begin creating your own HTML5 responsive skins.
Now is the time to learn how to use the new HTML5 tags within your skin designs. Unfortunately some older browsers are not equipped to handle most of these new HTML5 elements.
To create HTML5 layouts that will work in all browsers requires a lot of work but fortunately there is a fully featured HTML5 framework available called the HTML5 Boilerplate. The HTML 5 boilerplate isn't just to help us safely use the new HTML5 elements, it will also provide us with a safety net when we'd like to take advantage of other modern web technologies such as CSS3.
Html5 Boilerplate comes prepacked with the modernizr script, this script is a clever piece of javascript code that will basically ask each browser that visits your site, which css3 features the browser can interpret. The script then compiles a list of these css3 features and will add them as css classes to the main HTML element. This will allow us to use any css3 features within our css file but we will be safe in the knowledge that they will only be used by browsers that can actually interpret them.
This video contains:
- How to add a simple menu to our skin
- How to edit the menu CSS to allow more than three menu items
- Detailed walkthrough of the responsive features of our skin.css file
- About media queries
- How to change font-size based on the width of the browser viewport
- Tags:
-
dnn6
skin
responsive
menu
- Author:
-
Andy Stephenson
Back