The function marble() adds a cut-out marble background to every selected object:
- $('.ui-button, #my-button, .any-other-class').marble();
To prevent the same boring background, the background-position is recalculated for every selected object. So each object shows a different cut-out of the marble plate, which is not repeated, if the background image is big enough.
By using a part-transparent background image, the background colour of an object follows the standard ui-class changes as well.
Please have a look at
plugins.jquery.com/project/marble or
dienstleistung-kultur.de/jquery/ui/marble.
This is my frist jQuery publishing, so please check out the package and tell me, if it follows the jQuery conventions etc.
Bug reports and improvements welcome.
Ernesto