Custom Icons

From NSB App Studio
Revision as of 08:08, 11 July 2013 by James (talk | contribs) (Created page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

You can use custom icons with jQuery Mobile by using the following procedure:

Make a css file containing the following code:

.ui-icon-custom {
  background-image: url("images/custom.png");
}

Add the css file to your extra headers:

<link href="custom.css" rel="stylesheet">

Now you can specify an icon type of custom with jQuery Mobile.