Eye Candy for Your iPhone Tricks to make your WordPress site look more like a native iPhone app Brian Shim Slides at brianshim.com.

Slides:



Advertisements
Similar presentations
PART IV - EMBED VIDEO, AUDIO, AND DOCUMENTS. Find a video on Youtube.com: Search for a video, then look for the Embed code. Copy this code into the HTML/JavaScript.
Advertisements

Support.ebsco.com EBSCOadmin Branding Tutorial. Welcome to the EBSCOadmin Skinning and Branding tutorial, where you will learn how to customize EBSCOhost.
Window Movie Maker Presented by Mr. Bran.
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
Chapter 6 Photoshop and ImageReady: Part II The Web Warrior Guide to Web Design Technologies.
Site Modules > Page Builder Access the Page Builder module through the Site Modules top navigation link. Access Page Builder from the Site Modules navigation.
Basic Powerpoint NEXT. Viewing Your Slides Click on Slide Show and on View Show. The slide show will automatically be displayed on the screen.
3.2 Presentation Software End Show Creating slide shows including audio,video and digital images End Show.
Create Your Own Webpage. Today’s Agenda Cut & paste code Notepad++ or Notepad at home FTP Web Hosting Wordpress.
Review of last session The Weebly Dashboard The Weebly Dashboard Controls your account and your sites Controls your account and your sites From here you.
Google Earth How to create a Google Earth Tour and place it in your Wiki.
Create Your Own Personalized Augmented Reality Content: It's Easier than You Think! By Courtney Pepe.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
 jQuery Mobile An Introduction. What is jQuery Mobile  A framework built on top of jQuery, used for creating mobile web applications  Designed to make.
Computer Settings and Printing Tips Pennsylvania’s Protection From Abuse Database.
SET-UP PROCEDURE Below is an outline for deploying new clients. We have an admin for each account. This admin delivers data to the app and allows the account.
Getting Started Setting a Theme Setting up Pages Making a Menu Adding Video to your Page Setting Up Your Contact Page Extra Website Content.
DEVELOPING FOR MOBILE Jackie Calapristi. AGENDA  Why you should go mobile  Mobile Design Options  Responsive Design  Tips & Tools to Help You Build.
JavaScript & jQuery the missing manual Chapter 11
© Ms. Masihi.  The Dreamweaver Welcome Screen first opens when you start Dreamweaver.  This screen gives you quick access to previously opened files,
Creating Effective School and PTA Websites Sam Farnsworth Utah PTA Technology Specialist
Chapter 2 Developing a Web Page. Chapter 2 Lessons Introduction 1.Create head content and set page properties 2.Create, import, and format text 3.Add.
Enhancing Your Web Site. More Basic HTML Tags Today you will learn these tags: & add-on (alt, height, width & align) and “href” add-on Add a text link.
Week 8 – Part 3 More on Links, Layout, and Mobile Key Concepts 1.
PACS - 09/19/15 1 favicon A ‘Favorite icon’ is a file containing one or more small icons associated with a particular website or web page. Web browsers.

Enhancing Your Web Site—Adding Links Web Page **YOU MUST HAVE COMPLETED THE 1ST 3 WEB PAGES BEFORE YOU CAN DO THIS ONE. **YOU SHOULD HAVE COMPLETED THE.
AgileZoom 1.3 interactive portfolios you can share Getting Started (swipe left to advance)
How To Add Andersen App to Desktop Right Click anywhere on your desktop home screen Move cursor to “New” and then click on “Shortcut” Type in “
Putting Zing into your Classroom with Jing. Why use Flash presentations? Personalize course content Add related concepts Reach various kinds of learners.
USING WORDPRESS TO CREATE A WEBSITE (RATHER THAN A BLOG) STEP-BY-STEP INSTRUCTIONS.
Web Foundations WEDNESDAY, NOVEMBER 20, 2013 LECTURE 32: DREAMWEAVER SLIDE SHOW AND GOOGLE MAP.
Project 10: Exploring the Window Object Essentials for Design JavaScript Level One Michael Brooks.
Videos, the More Tag, Permalinks, and Shortlinks.
IPSOS / Vodafone / Novartis Kenya 17 December 2014.
USING WORDPRESS TO CREATE A WEBSITE (RATHER THAN A BLOG) STEP-BY-STEP INSTRUCTIONS.
Creating Google Sites Laura Assem, Director of Technology.
1 Mezzanine Ware (Pty) Ltd © 2014 Installing\Uninstalling the Mezzanine Helium Android application.
Creating Webpages. Today’s Topics Embed video Embed music More text formatting Wordpress.
WDMD 170 – UW Stevens Point 1 WDMD 170 Internet Languages eLesson: Variables, Functions and Events (NON-Audio version) © Dr. David C. Gibbs WDMD.
In your project you first said that the page name will be forums and when we installed vbulletin we made a folder name forum.That is soccermm.com/forum.
Photoshop Actions Lights, Camera, Actions in Photoshop.
Tour Title : How to create free "how to videos" and "in-app guided tours" for any web or mobile app To learn more visit
Embedding a Video, Image or Other Content Another way to add video or other content into your pages is through embedding. A popular example of this is.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Fundamentals of Web DevelopmentRandy Connolly and Ricardo Hoar Textbook to be published by Pearson Ed in early Bootstrap.
What Is Firefox? __________ is a Web ___________ that you use to search for and view Web pages, save pages for use in the future, and maintain a list.
1 Using jQuery JavaScript & jQuery the missing manual (Second Edition)
ENHANCE YOUR WEBSITE. HOW TO INSERT COLOR??? USE THE TAG: GO TO PICK COLOR WANT BY POINTING: THEN USE THE HEX NUMBER.
Creating Web Pages in Word. Sharing Office Files Online Many Web pages are created using the HTML programming language. Web page editors are software.
Levitra 20 mg Getting started with Firefox New to Firefox? Well you’ve come to the right place. This article covers all the basics and will get you up.
Martin Norris Computing Teacher/Leader at Moldgreen Community Primary School, Huddersfield
Setting up a WordPress Site
Introduction to working with Weebly
With Microsoft FrontPage 2000
Styling For Print From Screen to Paper
Tutorial 6 Topic: jQuery and jQuery Mobile Li Xu
Weebly overview rev /08/17/2016
Understanding WordPress
Tutorial Tutorial Read all the directions before proceeding
McKesson Radiology Clinical Reference Viewer (CRV)
Cheat Sheet CSCI 100 JW Ryder
Left Click to view the next slide.
Integrating JavaScript and HTML
Setting up a WordPress Site
An audio and visual tutorial
SEEM4570 Tutorial 5: jQuery + jQuery Mobile
Enhancing Your Web Site—Adding Links Web Page
Download from Zotero Home Page
User guide for OneDrive
Presentation transcript:

Eye Candy for Your iPhone Tricks to make your WordPress site look more like a native iPhone app Brian Shim Slides at brianshim.com

Things we can fix in Safari Mobile Change status bar color from gray to black Hide browser address bar Scale the window properly Hide bottom nav bar (if user saves to home screen) Custom home screen icon Custom splash screen

Why do these things? They look cool. To get more pixels for your site. Clients want them. And…

Mobile Usage is Exploding Mobile Users > Desktop Users in 2014

How Users Access Twitter More Use the Mobile Site than iOS (September 2010)

Hiding the Mobile Safari Address Bar Add this Javascript to the bottom of your page: // Hide the address bar window.addEventListener("DOMContentLoaded",function() { window.scrollTo(0, 1); }); Note: I use “DOMContentLoaded” rather than “load”, because “DOM” works faster and doesn’t wait for images to be loaded before getting rid of the task bar. For more info check out:

Add the code to your theme footer..

Notes Provides extra sixty pixels of height for your site! Number One Mistake: Web page must be taller than the browser window for this to work! During page load, address bar will slide down momentarily and then slide back up – can cause sea-sickness if you have a lot of page loads. Address bar is still accessible if the user swipes down on the page Should work for Android (but I have not tested)

Scaling the Browser Window Add this meta tag to the section of your page: Play with the “initial-scale” value until your site looks the best. Higher numbers zoom in. Lower numbers zoom out. For more info, check out: ations/reference/SafariHTMLRef/Articles/MetaTags.html ations/reference/SafariHTMLRef/Articles/MetaTags.html

Add the code to your theme section..

Here are the results with these two changes: Original New (scale=0.5)Or this! (scale=1.0)

This is NOT a replacement for a truly responsive mobile design! But, it’s better than nothing, and it took five minutes! So, why not?

Now let’s create a custom icon.. Icon created by iOS (blah) Custom icon

How to create a custom home screen icon for iPhone/iPod Touch Create a 57 x 57 pixel PNG file (square corners) WordPress plugin: “Blog Icons” Manual Method: add a meta tag to Or “precomposed” means no gloss effect More info (including Retina support) at

It’s all about enhancing the user experience.. Ugly!

Custom Splash Screen Create a 320 x 460 pixel PNG file WordPress plugin: “Blog Icons” Note, the splash screen will only appear if the user has saved the site to the home screen! If you don’t create this, the last visited page of your site will flash briefly during startup.. UGLY! Manual Methods: Add this to the section:

Permanently eliminating both toolbars from Mobile Safari! (aka “Full Screen Mode”) Now for something more advanced… Full Screen Mode

Full-Screen Mode To get rid of both toolbars permanently: To make top status bar black (looks better than gray): Caveat: These only work if user has saved your site to their home screen! More info at: plications/reference/SafariHTMLRef/Articles/MetaTags.html plications/reference/SafariHTMLRef/Articles/MetaTags.html

Why is this “advanced”? Problem #1: There is no “back” button. Your site is now completely responsible for navigation. Solution: Can solve this with JavaScript or plug-in; left as exercise to the user.

Why is this “advanced”? Problem #2: If the user clicks on any links, the browser will drop out of “full screen mode” back into normal mode. Solution: All intra-site links must be hijacked by JavaScript to stay in “full screen mode”.

Solution to Second Issue: Use jQuery to Hijack Intra-Site Links // This is needed to avoid the animation when going to new links in iOS jQuery(document).ready(function() { jQuery('a').each(function() { jQuery(this).click(function() { var url = jQuery(this).attr('href'); // don't change links that go off-site var myRegEx = /lifetricks3/; if (url.search(myRegEx)>=0) { location = url; return false; } }); Note: this script assumes your WordPress theme is using jQuery! Your URL here

The Finished WordPress Site OldNew

Again, not a substitute for a real mobile or responsive theme.. But, can be used in addition to a mobile or responsive theme. Some don’t do all of these tricks. Or, as an easy bonus to improve the appearance of your desktop theme if you are not able to use a responsive theme for some reason. For more info, check out “Building iPhone Apps with HTML, CSS, and Javascript” by Jonathan Stark

Example That Mimics a Native App Using These Techniques It is almost indistinguishable from a native app!

Eye Candy for Your iPhone Tricks to make your WordPress site look more like a native iPhone app 8/10/2012 Brian Shim Slides at brianshim.com