Hi Nick,
>> Yes I've seen that file but do you know how to change a single icon? If I open this in whatever graphic editor it shows as one picture.
It appears as one image, because it is one image. Fetching files from a server is "expensive". So one of the optimizations is to put all the graphics together into one graphic file, then use CSS to show "just a little bit" at a time. If you inspect the
www.CapeSoft.com home page in FireBug you'll see this in action.
The pictures used for the menu on the right, and the logo on the top left, are all enclosed in a single PNG file. If you inspect say the logo with FireBug you'll see that it uses a couple of CSS attributes;
background-image: url("/images/menu.png");
background-position: 0 -590px;
height: 90px;
width: 300px;the image holds all the graphics. The background-position sets the "position" of the top left corner, the height and width then clip as necessary.
the icons use exactly the same approach. All are combined into a single file, and the CSS determines which little bit is displayed. (actually the ui-icon-name is really the name of the CSS class.)
You can add more icons by adding more CSS - using either a different Image file, or the same image file, with more stuff added. Or you can edit the existing icons just by editing the existing image file.
>> It's a bit of a puzzle. Not all icons can be selected by dropping the first "ui-icon-".
make sure you're distinguishing between the jQuery-UI icons and the jQuery-Mobile Icons. They use different graphic files.
And remember the name is case sensitive.
cheers
Bruce