Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

mikedijkstra/HTML5-offline-portfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML5 Offline Portfolio Web App

Easily create an offline HTML5 portfolio on your iPad or iPhone to take to job interviews or to show to prospective clients.

View the example at: portfolio.micdijkstra.com

Features

  • Uses jQuery mobile
  • Responsive design
  • Home page with square thumbnails
  • Flip transition to portfolio pages and back to home page
  • Swipe left and right through portfolio pages
  • Custom portfolio pages
  • HTML5 offline storage can not be over 5mb

Demo

View the live demo at: portfolio.micdijkstra.com

HTML5 Offline Portfolio Web App iPhone and iPad Screenshots

Usage

  1. Update page title and meta content
  2. Update favicon.ico
  3. Update apple-touch-icon.png
  4. Update HTML code for thumbnails and images (see jquery mobile docs)
  5. Add all new file urls to main.manifest (see below)
  6. Publish to a live server
  7. Browse to your site on your iPhone or iPad
  8. Save on your iPad by clicking 'Add to Home Screen'

Manifest

File

The manifest file specifies the resources—such as HTML, JavaScript, CSS, and image files —to downloaded and store in the application cache. It's important to remember:

  • The first line must contain the text CACHE MANIFEST
  • The URLs are file paths to resources you want to download and cache locally
  • All files must be referenced in the main.manifest file
  • Any incorrect references will cause the offline storage to silently fail (be prepared to pull your hair out)
  • You can find out more at HTML 5 Offline Application Cache

Serving

The manifest file must be served with type text/cache-manifest so if you are hosting your app on an apache server you might need to add the following to your .htaccess

AddType text/cache-manifest manifest
ExpiresActive On
ExpiresDefault "access"

Thanks to

About

Easily create an offline HTML5 portfolio to take to job interviews or to show to prospective clients.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published