SlideShare a Scribd company logo
1 of 18
Me me me




 Darren Waddell
Senior Developer
Abacus
“Abacus e-Media was established in 1979. It has offices
in Portsmouth – Gunwharf, and in London – Regent
Street. We now have a team of over 50 designers,
developers and project managers.

We are a top 100 New Media Agency, specialising in the
development of websites and content management
software for the Public Sector and Media companies.

Our CMS – Webvision is the leading product for B2B
publishers in the UK.”
@fakedarren
Core Developer
Making Mobile
  Websites
Support for awesome

• HTML(5) (Forms, localStorage)
• CSS (CSS3, animations, @media queries)
• ES5 (Latest and greatest JavaScript)
Have a separate site
• Requirements are different
• Have less graphics (images, photos)
• Using a media query does not always stop a
  stylesheet downloading
• Setting display: none does not always stop a
  graphic from downloading
New HTML form types

   <input type=”tel” />
   <input type=”url” />
  <input type=”email” />
CSS3 stuffz

• @media queries for specific devices
• put them in one stylesheet though because
  they’ll be downloaded anyway
• No graphics necessary (just some icons)
CSS stuffz
    @media only screen and (-
    webkit-min-device-pixel-ratio:
    2){
       /* iPhone 4 styles */
}

@media only screen and (max-
device-width: 480px)
CSS stuffz

background: -webkit-gradient(linear,
 left top, left bottom, from(#FFF),
             to(#888));


        border-radius: 2px;
JavaScript
Adding a click event
var el = document.querySelector(‘#myElement’);

el.addEventListener(‘click’, function(){
      this.classList.toggle(‘open’);
      this.styles.color = ‘#94CC25’;
});
Manifests
• <!DOCTYPE html>
  <html manifest=”manifest.cache”>
• 3 sections
 • CACHE: cached, always use network
    version if available
 • NETWORK: never use the cached
    version
 • FALLBACK: optional fallback for offline
Accessibility


• All these tricks lower bandwidth use
• This is the core of mobile accessibility
Thanks!
 http://twitter.com/fakedarren
http://mootools.net/developers
http://www.abacusemedia.com

More Related Content

What's hot

WordPress For Beginners - WordCamp Nepal 2013
WordPress For Beginners - WordCamp Nepal 2013WordPress For Beginners - WordCamp Nepal 2013
WordPress For Beginners - WordCamp Nepal 2013
raushanchess
 
Microsoft WebMatrix Platform Overview
Microsoft WebMatrix Platform OverviewMicrosoft WebMatrix Platform Overview
Microsoft WebMatrix Platform Overview
Spiffy
 
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clients
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your ClientsWhy Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clients
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clients
ryanduff
 
Neo word press meetup ehermits - how to keep your blog from being hacked 2012
Neo word press meetup   ehermits - how to keep your blog from being hacked 2012Neo word press meetup   ehermits - how to keep your blog from being hacked 2012
Neo word press meetup ehermits - how to keep your blog from being hacked 2012
Brian Layman
 
Slidecarol.html
Slidecarol.htmlSlidecarol.html
Slidecarol.html
Leda0401
 

What's hot (20)

Managing Multisite: Lessons from a Large Network
Managing Multisite: Lessons from a Large NetworkManaging Multisite: Lessons from a Large Network
Managing Multisite: Lessons from a Large Network
 
Amazon Web Services Marketplace with Drupal Distributions
Amazon Web Services Marketplace with Drupal DistributionsAmazon Web Services Marketplace with Drupal Distributions
Amazon Web Services Marketplace with Drupal Distributions
 
WordPress For Beginners - WordCamp Nepal 2013
WordPress For Beginners - WordCamp Nepal 2013WordPress For Beginners - WordCamp Nepal 2013
WordPress For Beginners - WordCamp Nepal 2013
 
What is a good technology stack today?
What is a good technology stack today?What is a good technology stack today?
What is a good technology stack today?
 
Faster WordPress Workflows
Faster WordPress WorkflowsFaster WordPress Workflows
Faster WordPress Workflows
 
Microsoft WebMatrix Platform Overview
Microsoft WebMatrix Platform OverviewMicrosoft WebMatrix Platform Overview
Microsoft WebMatrix Platform Overview
 
Introduction to the Drupal - Web Experience Toolkit
Introduction to the Drupal - Web Experience ToolkitIntroduction to the Drupal - Web Experience Toolkit
Introduction to the Drupal - Web Experience Toolkit
 
Happiest Minds is Hiring!
Happiest Minds is Hiring!Happiest Minds is Hiring!
Happiest Minds is Hiring!
 
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clients
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your ClientsWhy Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clients
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clients
 
WordPress Server Security
WordPress Server SecurityWordPress Server Security
WordPress Server Security
 
Building a scalable infrastructure for social mobile web apps
Building a scalable infrastructure for social mobile web appsBuilding a scalable infrastructure for social mobile web apps
Building a scalable infrastructure for social mobile web apps
 
An Introduction to Umbraco
An Introduction to UmbracoAn Introduction to Umbraco
An Introduction to Umbraco
 
Best Friend || Worst Enemy: WordPress Multisite
Best Friend || Worst Enemy: WordPress MultisiteBest Friend || Worst Enemy: WordPress Multisite
Best Friend || Worst Enemy: WordPress Multisite
 
Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web development
 
Mobile apps with Umbraco and Phonegap
Mobile apps with Umbraco and PhonegapMobile apps with Umbraco and Phonegap
Mobile apps with Umbraco and Phonegap
 
Neo word press meetup ehermits - how to keep your blog from being hacked 2012
Neo word press meetup   ehermits - how to keep your blog from being hacked 2012Neo word press meetup   ehermits - how to keep your blog from being hacked 2012
Neo word press meetup ehermits - how to keep your blog from being hacked 2012
 
Blog World 2010 - How to Keep Your Blog from Being Hacked
Blog World 2010 - How to Keep Your Blog from Being HackedBlog World 2010 - How to Keep Your Blog from Being Hacked
Blog World 2010 - How to Keep Your Blog from Being Hacked
 
Slidecarol.html
Slidecarol.htmlSlidecarol.html
Slidecarol.html
 
Introduction to Web development
Introduction to Web developmentIntroduction to Web development
Introduction to Web development
 
Platforms based on WordPress
Platforms based on WordPressPlatforms based on WordPress
Platforms based on WordPress
 

Viewers also liked

Subject verb agree
Subject verb agreeSubject verb agree
Subject verb agree
KelliD13
 
Write catcher presentation
Write catcher presentationWrite catcher presentation
Write catcher presentation
suleimom
 
The molecular times
The molecular timesThe molecular times
The molecular times
jonyfive5
 
Why Usability Works For It Audit Iacis 2010
Why Usability Works For It Audit Iacis 2010Why Usability Works For It Audit Iacis 2010
Why Usability Works For It Audit Iacis 2010
Lek Voraphan
 
Thesocialnetwork screenplay
Thesocialnetwork screenplayThesocialnetwork screenplay
Thesocialnetwork screenplay
Wil Cashen
 
French Subject Pronoun WSM
French Subject Pronoun WSMFrench Subject Pronoun WSM
French Subject Pronoun WSM
mkohlerwsm
 
Verb to be
Verb to beVerb to be
Verb to be
Ma O
 
Verb to be: multiple choice
Verb to be: multiple choiceVerb to be: multiple choice
Verb to be: multiple choice
A. Simoes
 
To be game
To be gameTo be game
To be game
jmezh11
 

Viewers also liked (20)

Subject verb agree
Subject verb agreeSubject verb agree
Subject verb agree
 
Usability awareness brown bag
Usability awareness brown bagUsability awareness brown bag
Usability awareness brown bag
 
Write catcher presentation
Write catcher presentationWrite catcher presentation
Write catcher presentation
 
glaucoma
glaucomaglaucoma
glaucoma
 
The molecular times
The molecular timesThe molecular times
The molecular times
 
Why Usability Works For It Audit Iacis 2010
Why Usability Works For It Audit Iacis 2010Why Usability Works For It Audit Iacis 2010
Why Usability Works For It Audit Iacis 2010
 
Pronouns
PronounsPronouns
Pronouns
 
Thesocialnetwork screenplay
Thesocialnetwork screenplayThesocialnetwork screenplay
Thesocialnetwork screenplay
 
French Subject Pronoun WSM
French Subject Pronoun WSMFrench Subject Pronoun WSM
French Subject Pronoun WSM
 
Accessibility, Usability and User Centred Design (introduction)
Accessibility, Usability and User Centred Design (introduction)Accessibility, Usability and User Centred Design (introduction)
Accessibility, Usability and User Centred Design (introduction)
 
Introduction English I
Introduction English IIntroduction English I
Introduction English I
 
Introducing Yourself
Introducing YourselfIntroducing Yourself
Introducing Yourself
 
tenses
tenses tenses
tenses
 
Verb to be
Verb to beVerb to be
Verb to be
 
Verb to be: multiple choice
Verb to be: multiple choiceVerb to be: multiple choice
Verb to be: multiple choice
 
The verb to be
The verb to beThe verb to be
The verb to be
 
To be game
To be gameTo be game
To be game
 
English verb to be present tense
English verb to be present tenseEnglish verb to be present tense
English verb to be present tense
 
Verb to be ppt
Verb to be pptVerb to be ppt
Verb to be ppt
 
Greeting and Introduction
Greeting and IntroductionGreeting and Introduction
Greeting and Introduction
 

Similar to Mobile Websites tips and tricks @HeartAndSole

Presentation wpf
Presentation wpfPresentation wpf
Presentation wpf
danishrafiq
 

Similar to Mobile Websites tips and tricks @HeartAndSole (20)

Responsive design
Responsive designResponsive design
Responsive design
 
HTML5 and CSS3 Techniques You Can Use Today
HTML5 and CSS3 Techniques You Can Use TodayHTML5 and CSS3 Techniques You Can Use Today
HTML5 and CSS3 Techniques You Can Use Today
 
Html5 more than just html5 v final
Html5  more than just html5 v finalHtml5  more than just html5 v final
Html5 more than just html5 v final
 
Presentation wpf
Presentation wpfPresentation wpf
Presentation wpf
 
Responsive websites. Toolbox
Responsive websites. ToolboxResponsive websites. Toolbox
Responsive websites. Toolbox
 
It's a Mod World - A Practical Guide to Rocking Modernizr
It's a Mod World - A Practical Guide to Rocking ModernizrIt's a Mod World - A Practical Guide to Rocking Modernizr
It's a Mod World - A Practical Guide to Rocking Modernizr
 
Responsive Websites
Responsive WebsitesResponsive Websites
Responsive Websites
 
About Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSAbout Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JS
 
Echo HTML5
Echo HTML5Echo HTML5
Echo HTML5
 
Great Responsive-ability Web Design
Great Responsive-ability Web DesignGreat Responsive-ability Web Design
Great Responsive-ability Web Design
 
The Mobile Web - HTML5 on mobile devices
The Mobile Web - HTML5 on mobile devicesThe Mobile Web - HTML5 on mobile devices
The Mobile Web - HTML5 on mobile devices
 
HTML5 History & Features
HTML5 History & FeaturesHTML5 History & Features
HTML5 History & Features
 
VizEx View HTML5 Workshop
VizEx View HTML5 WorkshopVizEx View HTML5 Workshop
VizEx View HTML5 Workshop
 
VizEx View HTML5 Workshop
VizEx View HTML5 WorkshopVizEx View HTML5 Workshop
VizEx View HTML5 Workshop
 
HTML5, the new buzzword
HTML5, the new buzzwordHTML5, the new buzzword
HTML5, the new buzzword
 
Pinkoi Mobile Web
Pinkoi Mobile WebPinkoi Mobile Web
Pinkoi Mobile Web
 
Html5 on Mobile(For Developer)
Html5 on Mobile(For Developer)Html5 on Mobile(For Developer)
Html5 on Mobile(For Developer)
 
Let's dig into the Omega Theme!
Let's dig into the Omega Theme!Let's dig into the Omega Theme!
Let's dig into the Omega Theme!
 
Responsive content
Responsive contentResponsive content
Responsive content
 
Html5
Html5Html5
Html5
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Mobile Websites tips and tricks @HeartAndSole

  • 1. Me me me Darren Waddell Senior Developer
  • 2. Abacus “Abacus e-Media was established in 1979. It has offices in Portsmouth – Gunwharf, and in London – Regent Street. We now have a team of over 50 designers, developers and project managers. We are a top 100 New Media Agency, specialising in the development of websites and content management software for the Public Sector and Media companies. Our CMS – Webvision is the leading product for B2B publishers in the UK.”
  • 4. Making Mobile Websites
  • 5. Support for awesome • HTML(5) (Forms, localStorage) • CSS (CSS3, animations, @media queries) • ES5 (Latest and greatest JavaScript)
  • 6.
  • 7. Have a separate site • Requirements are different • Have less graphics (images, photos) • Using a media query does not always stop a stylesheet downloading • Setting display: none does not always stop a graphic from downloading
  • 8. New HTML form types <input type=”tel” /> <input type=”url” /> <input type=”email” />
  • 9.
  • 10. CSS3 stuffz • @media queries for specific devices • put them in one stylesheet though because they’ll be downloaded anyway • No graphics necessary (just some icons)
  • 11. CSS stuffz @media only screen and (- webkit-min-device-pixel-ratio: 2){ /* iPhone 4 styles */ } @media only screen and (max- device-width: 480px)
  • 12. CSS stuffz background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#888)); border-radius: 2px;
  • 14.
  • 15. Adding a click event var el = document.querySelector(‘#myElement’); el.addEventListener(‘click’, function(){ this.classList.toggle(‘open’); this.styles.color = ‘#94CC25’; });
  • 16. Manifests • <!DOCTYPE html> <html manifest=”manifest.cache”> • 3 sections • CACHE: cached, always use network version if available • NETWORK: never use the cached version • FALLBACK: optional fallback for offline
  • 17. Accessibility • All these tricks lower bandwidth use • This is the core of mobile accessibility

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n