SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 

Kürzlich hochgeladen (20)

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 

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

Hinweis der Redaktion

  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