Standaard Button

HTML:

<button>Verstuur</button>

JavaScript:

$('button').button();

Resultaat:

Standaard button


Button met custom icon

HTML:

<button class="button_email_go">Verstuur</button>

JavaScript:

$('button').button({icons: { primary: 'button_email_go' }});

CSS:

.ui-button .ui-icon.button_email_go {
	background-image: url('icons/email_go.png');
	width: 16px;
	height: 16px;
}

Resultaat:

Button met custom icon


Meer informatie: jQuery UI - Button Demos & Documentation | famfamfam.com: Silk Icons

Zoeken