Languages

Menu
Sites
Language
Default color change effect on click of button

Before I  developed my app on tizen 2.1 and it doesnot have any default button click effect.But now in tizen 2.2 uses default click effect......when i click on button/div.click Color of button/div changes to light orange..I donot want to give any clciking effect...and i want to give my own click effect..plz help me how can i do.

Responses

3 Replies
Marco Buettner

When u use "Debug As" you see which element will be used... So you can found the CSS Rule for Button Hover ... In you own .css file you use the SAME CSS Rule and write after that !important (not necessary but it reduce some incorrect workflows)

Alexander AVSukhov

Hello,

You may use jQuery event.preventDefault() Method.

For example:

http://www.jquery4u.com/jquery-functions/stop-actions-jquery-preventdefault/ 

 

 

Alexander AVSukhov

Or you may create your own css styles:

use the :hover and :active CSS pseudo classes to get what you want