Skip to main content

Search and Top Navigation

#9619 closed feature (notabug)

Opened October 24, 2013 12:37PM UTC

Closed October 24, 2013 12:51PM UTC

Use CSS for hover and click effects for ui buttons

Reported by: tasso85 Owned by:
Priority: minor Milestone: none
Component: ui.button Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:
Description

Currently jQuery UI buttons use javascript events to apply proper styling in case of hover and click on a button.

There are cases, like the webapp I work on, when there are many buttons on screen, and their initialization via the button() call can noticeably slow down the browser.

I would then recommend to use only CSS to apply the proper hovering and click effects for buttons.

Attachments (0)
Change History (2)

Changed October 24, 2013 12:39PM UTC by tasso85 comment:1

I would also add, this could be useful for buttonsets true, that is, to only use CSS instead of the buttonset() call.

Changed October 24, 2013 12:51PM UTC by scottgonzalez comment:2

resolution: → notabug
status: newclosed

Pure CSS buttons are something we're actively working on, but I don't really want to track it against the button widget since it won't actually be part of the widget, it'll be part of the new CSS framework. I'm going to close this as "not a bug" because we want the CSS framework to be its own project.