SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

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 NetworkWilliam Earnhardt
 
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 DistributionsEladio Jose Abquina
 
WordPress For Beginners - WordCamp Nepal 2013
WordPress For Beginners - WordCamp Nepal 2013WordPress For Beginners - WordCamp Nepal 2013
WordPress For Beginners - WordCamp Nepal 2013raushanchess
 
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?Netlight Consulting
 
Microsoft WebMatrix Platform Overview
Microsoft WebMatrix Platform OverviewMicrosoft WebMatrix Platform Overview
Microsoft WebMatrix Platform OverviewSpiffy
 
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 ToolkitSuzanne Dergacheva
 
Happiest Minds is Hiring!
Happiest Minds is Hiring!Happiest Minds is Hiring!
Happiest Minds is Hiring!Ashok K DL
 
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 Clientsryanduff
 
WordPress Server Security
WordPress Server SecurityWordPress Server Security
WordPress Server SecurityPeter Baylies
 
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 appsngonpham
 
An Introduction to Umbraco
An Introduction to UmbracoAn Introduction to Umbraco
An Introduction to UmbracoJeremy Branham
 
Best Friend || Worst Enemy: WordPress Multisite
Best Friend || Worst Enemy: WordPress MultisiteBest Friend || Worst Enemy: WordPress Multisite
Best Friend || Worst Enemy: WordPress MultisiteTaylor McCaslin
 
Mobile apps with Umbraco and Phonegap
Mobile apps with Umbraco and PhonegapMobile apps with Umbraco and Phonegap
Mobile apps with Umbraco and PhonegapTheo Paraskevopoulos
 
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 2012Brian Layman
 
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 HackedBrian Layman
 
Slidecarol.html
Slidecarol.htmlSlidecarol.html
Slidecarol.htmlLeda0401
 
Platforms based on WordPress
Platforms based on WordPressPlatforms based on WordPress
Platforms based on WordPressMario Peshev
 

Tendances (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
 

En vedette

Subject verb agree
Subject verb agreeSubject verb agree
Subject verb agreeKelliD13
 
Usability awareness brown bag
Usability awareness brown bagUsability awareness brown bag
Usability awareness brown bagLawrenceNajjar
 
Write catcher presentation
Write catcher presentationWrite catcher presentation
Write catcher presentationsuleimom
 
The molecular times
The molecular timesThe molecular times
The molecular timesjonyfive5
 
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 2010Lek Voraphan
 
Thesocialnetwork screenplay
Thesocialnetwork screenplayThesocialnetwork screenplay
Thesocialnetwork screenplayWil Cashen
 
French Subject Pronoun WSM
French Subject Pronoun WSMFrench Subject Pronoun WSM
French Subject Pronoun WSMmkohlerwsm
 
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)David Lamas
 
Verb to be
Verb to beVerb to be
Verb to beMa O
 
Verb to be: multiple choice
Verb to be: multiple choiceVerb to be: multiple choice
Verb to be: multiple choiceA. Simoes
 
To be game
To be gameTo be game
To be gamejmezh11
 
Greeting and Introduction
Greeting and IntroductionGreeting and Introduction
Greeting and IntroductionAzwar Rangkuti
 

En vedette (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
 

Similaire à Mobile Websites tips and tricks @HeartAndSole

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 TodayTodd Anglin
 
Presentation wpf
Presentation wpfPresentation wpf
Presentation wpfdanishrafiq
 
Responsive websites. Toolbox
Responsive websites. ToolboxResponsive websites. Toolbox
Responsive websites. ToolboxWojtek Zając
 
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 ModernizrMichael Enslow
 
Responsive Websites
Responsive WebsitesResponsive Websites
Responsive WebsitesJoe Seifi
 
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 JSNaga Harish M
 
Great Responsive-ability Web Design
Great Responsive-ability Web DesignGreat Responsive-ability Web Design
Great Responsive-ability Web DesignMike Wilcox
 
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 devicesWesley Hales
 
HTML5 History & Features
HTML5 History & FeaturesHTML5 History & Features
HTML5 History & FeaturesDave Ross
 
VizEx View HTML5 Workshop
VizEx View HTML5 WorkshopVizEx View HTML5 Workshop
VizEx View HTML5 WorkshopDavid Manock
 
Pinkoi Mobile Web
Pinkoi Mobile WebPinkoi Mobile Web
Pinkoi Mobile Webmikeleeme
 
Html5 on Mobile(For Developer)
Html5 on Mobile(For Developer)Html5 on Mobile(For Developer)
Html5 on Mobile(For Developer)Adam Lu
 
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!Mediacurrent
 
Responsive content
Responsive contentResponsive content
Responsive contenthonzie
 

Similaire à 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
 

Dernier

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
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 Scriptwesley chun
 
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.pdfsudhanshuwaghmare1
 
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, Adobeapidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
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 WorkerThousandEyes
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
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 TerraformAndrey Devyatkin
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 

Dernier (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 
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
 
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
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
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
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

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

Notes de l'éditeur

  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