SlideShare une entreprise Scribd logo
1  sur  78
Get your SharePoint website on that mobile device
using HTML5 and CSS3
#spsbe
@kevinderudder
Thanks to our
Sponsors
Platinum
Gold
Silver
@kevinderudder working for
eGuidelines and a lecturer at the
Technical University of West Flanders.
Contact me on kevin@e-guidelines.be
didn’t notice the SharePoint part
SharePoint site is a site
GOAL
Why
How, what are the options
Conclusion
WHY THIS TOPIC
WHY THIS TOPIC
OR WHY SHOULD YOU CARE
Photo by http://neuroticworkaholic.blogspot.com
2013
NOW
IS
HOW? Give meaning to your content
Style that content
<HTML />
.css{}
HTML< />
IS FOR THE STRUCTURE ONLY
IMPORTANT
that you show the right content
IS
on each device
What is the right
content?
Desktop first
Mobile first
Now we’ve thought
about the content
How do you
identify it?
logo
navigation
intro
content
Side
content
footer
Which one is the
side content?
Some use nav, some
use navigation
<div id=“header”> <div id=“top”>
<div id=“navigation”> <div id=“menu”>
<div id=“footer”>
<div id=“leftcontent” > <div id=“main” >
footer
menu
title
small
text
content
header
nav
copyright
button
main
search
msonormal
date
smalltext
body
<div id=“header”> <div id=“top”>
<div id=“navigation”> <div id=“menu”>
<div id=“footer”>
<div id=“leftcontent” > <div id=“main” >
<header>
<nav>
<footer>
<aside>
<section>
<article>
CSS{.
}
color: @ndstyle;
Styling the content for mobile
Change the style of the buttons in the <nav>
Hide the irrelevant content
Make the logo in the header smaller
…
DEMO
Make it mobile
1. Show different page per device
2. Responsive design via Media Queries
Make it mobile
1. Show different page per device
How
1. Set device channels
2. Create masterpages in HTML
3. Use the Design Manager in SharePoint 2013 to link a
masterpage to a specific device
Step 1: Device Channels
Only for SharePoint 2013 publising sites
Enables rendering different content and style for different
devices
if (/MSIE (d+.d+);/.test(navigator.userAgent)) {
var ieversion = new Number(RegExp.$1)
if (ieversion >= 9)
document.write("You're using IE9 or above")
else if (ieversion >= 8)
document.write("You're using IE8 or above")
else if (ieversion >= 7)
document.write("You're using IE7.x")
else if (ieversion >= 6)
document.write("You're using IE6.x")
else if (ieversion >= 5) // <------------- Just because I can
document.write("You're using IE5.x")
}
else
document.write("hmmm, dunno")
var isMobile = {
Android: function () {
return navigator.userAgent.match(/Android/i);
},
BlackBerry: function () {
return navigator.userAgent.match(/BlackBerry/i);
},
iOS: function () {
return navigator.userAgent.match(/iPhone|iPad|iPod/i);
},
Opera: function () {
return navigator.userAgent.match(/Opera Mini/i);
},
Windows: function () {
return navigator.userAgent.match(/IEMobile/i);
}
};
Step 1: Device Channels limitations
10 device channels per site collection
150 inclusion rules per device channel
Step 2: Create masterpages
Creating masterpages from scratch is a hell
start with a minimal masterpage
But what if you need help from a non-sharepoint guy/girl??
convert an existing HTML to a SharePoint masterpage
Step 3: Design Manager
Design manager is the way to brand you SharePoint sites
Use your favorite design tool and upload the files to the design
manager
DEMO
My thoughts on this
Good
This is good if you want to deliver different content to different
devices
My thoughts on this
Bad
Do you really create different pages for different devices??
What if I want to share something by sending a link from my
mobile to your desktop?
What about SharePoint 2010, 2007????
Why do this when the rest of the world is doing it differently
Make it mobile
1. Show different page per device
2. Responsive design via Media Queries
What does it mean: RESPONSIVE??
Pictures of M. vatia
Pictures of M. vatia
With device channels
Media Queries allow you write design code
based on the characteristics of a device
@media all and (max-width: 640px) {
}
MEDIA QUERY
Type Query or Expression
Media Queries exists out of 2 parts
All Suitable for all devices
Braille Intended for braille tactile feedback devices
Embossed Intended for paged braille printers
Handheld Intended for handheld devices
Print Intended for paged material
Projection Intended for projected presentations
Screen Intended primarily for color computer screens
Speech Inteded for speech synthesizers
Tty Media using a fixed character grid
Tv Intended for television-type devices
Taken from the W3C site
Media Type
AHA, there is something like handheld
@media screen
{
body
{
background-color: Red;
}
}
@media handheld
{
body
{
background-color: Yellow;
}
}
This is not yellow
Old devices didn’t have capable browsers
Modern mobile devices use screen as media type
@media all and (max-width: 640px) {
}
MEDIA QUERY
Feature Value
Type Query or Expression
• Width
• Height
• Device-width
• Device-height
• Resolution
• Aspect-ratio
• Device-aspect-ratio
• Color
• Color-index
• Monochrome
Features with min- and max- prefixes
The Features
Features without min- and max- prefixes
• Orientation
• Scan
• Grid
1.
2.
3.
DEMO
THANK YOU
<name>Kevin DeRudder</name>
<input type=“email”>kevin@e-guidelines.be</email>
<blog>kevinderudder.wordpress.com</blog>
<twitter>@kevinderudder</twitter>
Resources
http://iwdrm.tumblr.com/

Contenu connexe

En vedette

Presentation1
Presentation1Presentation1
Presentation1
rdeitche
 
MA in Teaching Research Proposal
MA in Teaching Research ProposalMA in Teaching Research Proposal
MA in Teaching Research Proposal
Jordan Hampton
 

En vedette (13)

Presentation1
Presentation1Presentation1
Presentation1
 
CommonBond's 2015 Trip to Ghana with Pencils of Promise
CommonBond's 2015 Trip to Ghana with Pencils of PromiseCommonBond's 2015 Trip to Ghana with Pencils of Promise
CommonBond's 2015 Trip to Ghana with Pencils of Promise
 
New
NewNew
New
 
Friendz - La community a disposizione delle aziende
Friendz - La community a disposizione delle aziendeFriendz - La community a disposizione delle aziende
Friendz - La community a disposizione delle aziende
 
Q3 2015 Industrial Brief
Q3 2015 Industrial BriefQ3 2015 Industrial Brief
Q3 2015 Industrial Brief
 
MA in Teaching Research Proposal
MA in Teaching Research ProposalMA in Teaching Research Proposal
MA in Teaching Research Proposal
 
Enabling channels for social participation: Open Data as Open Educational Res...
Enabling channels for social participation: Open Data as Open Educational Res...Enabling channels for social participation: Open Data as Open Educational Res...
Enabling channels for social participation: Open Data as Open Educational Res...
 
Using Data
Using DataUsing Data
Using Data
 
Портрет клиента банка в 2015
Портрет клиента банка в 2015Портрет клиента банка в 2015
Портрет клиента банка в 2015
 
Best Practices for Form Design
Best Practices for Form DesignBest Practices for Form Design
Best Practices for Form Design
 
The Impact of Social Models
The Impact of Social ModelsThe Impact of Social Models
The Impact of Social Models
 
Edgar perez cante control de motores
Edgar perez cante   control de motoresEdgar perez cante   control de motores
Edgar perez cante control de motores
 
Motores de induccion
Motores de induccionMotores de induccion
Motores de induccion
 

Similaire à Responsive SharePoint

Responsive web design & mobile web development - a technical and business app...
Responsive web design & mobile web development - a technical and business app...Responsive web design & mobile web development - a technical and business app...
Responsive web design & mobile web development - a technical and business app...
Atos_Worldline
 
openMIC barcamp 11.02.2010
openMIC barcamp 11.02.2010openMIC barcamp 11.02.2010
openMIC barcamp 11.02.2010
Patrick Lauke
 
Basic html5 and javascript
Basic html5 and javascriptBasic html5 and javascript
Basic html5 and javascript
wendy017
 

Similaire à Responsive SharePoint (20)

Responsive web design & mobile web development - a technical and business app...
Responsive web design & mobile web development - a technical and business app...Responsive web design & mobile web development - a technical and business app...
Responsive web design & mobile web development - a technical and business app...
 
Skill Session - Web Multi Device
Skill Session - Web Multi DeviceSkill Session - Web Multi Device
Skill Session - Web Multi Device
 
Use Web Skills To Build Mobile Apps
Use Web Skills To Build Mobile AppsUse Web Skills To Build Mobile Apps
Use Web Skills To Build Mobile Apps
 
Web Development for UX Designers
Web Development for UX DesignersWeb Development for UX Designers
Web Development for UX Designers
 
Making your site mobile-friendly - DevCSI Reading 21.07.2010
Making your site mobile-friendly - DevCSI Reading 21.07.2010Making your site mobile-friendly - DevCSI Reading 21.07.2010
Making your site mobile-friendly - DevCSI Reading 21.07.2010
 
Bruce Lawson Opera Indonesia
Bruce Lawson Opera IndonesiaBruce Lawson Opera Indonesia
Bruce Lawson Opera Indonesia
 
openMIC barcamp 11.02.2010
openMIC barcamp 11.02.2010openMIC barcamp 11.02.2010
openMIC barcamp 11.02.2010
 
Gup web mobilegis
Gup web mobilegisGup web mobilegis
Gup web mobilegis
 
Basic html5 and javascript
Basic html5 and javascriptBasic html5 and javascript
Basic html5 and javascript
 
Build beautiful native apps in record time with flutter
Build beautiful native apps in record time with flutterBuild beautiful native apps in record time with flutter
Build beautiful native apps in record time with flutter
 
Bruce lawson-over-the-air
Bruce lawson-over-the-airBruce lawson-over-the-air
Bruce lawson-over-the-air
 
Create Responsive Website Design with Bootstrap 3
Create Responsive Website Design with Bootstrap 3Create Responsive Website Design with Bootstrap 3
Create Responsive Website Design with Bootstrap 3
 
inventory mangement project.pdf
inventory mangement project.pdfinventory mangement project.pdf
inventory mangement project.pdf
 
ashish ppt webd.pptx
ashish ppt webd.pptxashish ppt webd.pptx
ashish ppt webd.pptx
 
Building a Simple Mobile-optimized Web App Using the jQuery Mobile Framework
Building a Simple Mobile-optimized Web App Using the jQuery Mobile FrameworkBuilding a Simple Mobile-optimized Web App Using the jQuery Mobile Framework
Building a Simple Mobile-optimized Web App Using the jQuery Mobile Framework
 
Multi screen HTML5
Multi screen HTML5Multi screen HTML5
Multi screen HTML5
 
Responsive Web Design (HeadStart TechTalks)
Responsive Web Design (HeadStart TechTalks)Responsive Web Design (HeadStart TechTalks)
Responsive Web Design (HeadStart TechTalks)
 
Responsive ui
Responsive uiResponsive ui
Responsive ui
 
Responsive Websites
Responsive WebsitesResponsive Websites
Responsive Websites
 
Busy Developer's Guide to Windows 8 HTML/JavaScript Apps
Busy Developer's Guide to Windows 8 HTML/JavaScript AppsBusy Developer's Guide to Windows 8 HTML/JavaScript Apps
Busy Developer's Guide to Windows 8 HTML/JavaScript Apps
 

Plus de Kevin DeRudder

Testing apps with MTM and Tea Foundation Service
Testing apps with MTM and Tea Foundation ServiceTesting apps with MTM and Tea Foundation Service
Testing apps with MTM and Tea Foundation Service
Kevin DeRudder
 
Building cross platform applications using Windows Azure Mobile Services
Building cross platform applications using Windows Azure Mobile ServicesBuilding cross platform applications using Windows Azure Mobile Services
Building cross platform applications using Windows Azure Mobile Services
Kevin DeRudder
 
Use html5 to build what you want, where you want it
Use html5 to build what you want, where you want itUse html5 to build what you want, where you want it
Use html5 to build what you want, where you want it
Kevin DeRudder
 
Developers and Designers
Developers and DesignersDevelopers and Designers
Developers and Designers
Kevin DeRudder
 

Plus de Kevin DeRudder (13)

Build your own Cloud/Home security system for 60$
Build your own Cloud/Home security system for 60$Build your own Cloud/Home security system for 60$
Build your own Cloud/Home security system for 60$
 
Comparing xaml and html
Comparing xaml and htmlComparing xaml and html
Comparing xaml and html
 
ECMASCRIPT.NEXT
ECMASCRIPT.NEXTECMASCRIPT.NEXT
ECMASCRIPT.NEXT
 
VISUG: Visual studio for web developers
VISUG: Visual studio for web developersVISUG: Visual studio for web developers
VISUG: Visual studio for web developers
 
Testing apps with MTM and Tea Foundation Service
Testing apps with MTM and Tea Foundation ServiceTesting apps with MTM and Tea Foundation Service
Testing apps with MTM and Tea Foundation Service
 
ECMAScript.Next ECMAScipt 6
ECMAScript.Next ECMAScipt 6ECMAScript.Next ECMAScipt 6
ECMAScript.Next ECMAScipt 6
 
Building cross platform applications using Windows Azure Mobile Services
Building cross platform applications using Windows Azure Mobile ServicesBuilding cross platform applications using Windows Azure Mobile Services
Building cross platform applications using Windows Azure Mobile Services
 
Use html5 to build what you want, where you want it
Use html5 to build what you want, where you want itUse html5 to build what you want, where you want it
Use html5 to build what you want, where you want it
 
Developers and Designers
Developers and DesignersDevelopers and Designers
Developers and Designers
 
Every Web Developer is a Win8 developer
Every Web Developer is a Win8 developerEvery Web Developer is a Win8 developer
Every Web Developer is a Win8 developer
 
Media queries
Media queriesMedia queries
Media queries
 
What you need to know bout html5
What you need to know bout html5What you need to know bout html5
What you need to know bout html5
 
Html5 intro
Html5 introHtml5 intro
Html5 intro
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Dernier (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

Responsive SharePoint