Image Buttons?


is there a possibility to use image buttons in the current nifty version? Like buttons which have an image instead of a label in them.

If there is no official Nifty method, is there a custom code somewhere implementing this?

I guess you could just use onhover and onclick with normal images?

I could, yes.

Iā€™d like to integrate them as a Nifty-Control. How would I go about doing that? This would be a control made from scratch, not from existing ones?

Use the default button as a base and modify it to suit your needs.

1 Like

Yeah, just override the default button control style by changing its image.