Smooth transitions of the button clicks



  • Hello
    Is it possible to make smooth transitions (fade in - fade out) with all off button clicks? Just like in jquery used web pages?



  • @Steve-Mohican You could do this with timers + look and feel, but why bother... do you have an example webpage button?



  • @d-healey said in Smooth transitions of the button clicks:

    @Steve-Mohican You could do this with timers + look and feel, but why bother... do you have an example webpage button?

    I think it looks much more better.

    Here is an example: https://www.w3schools.com/howto/howto_css_fading_buttons.asp



  • An easy way to do that is just to change opacity on hover. Either using LAF or panels.



  • @d-healey No timers? Is there an example for this?



  • Here is my example but it's not smooth, solid like a rock 😄

    HiseSnippet 998.3ocsV0uaaaCDmxIpn1adXEqO.D9OFT.xTkaRyF5PQ82qFaIwX1sc.ECELRmsHhDofDUbLJ5SydQ1awdM1aP2QQaKmE2fBCDIAXeeQ86N96NpQoReHKSlRrpNYQBPr9Z6wKDpvtgLtfLrGw5arOkkofTpQUmEIrrLHfXYs2unUXUceRw0+9xNrHlvGJUQHuQx8geiGyUkZG05W4QQCXAvDd7Fdebqg9RQWYjLGwyd1djDl+krYvYLsaUrIVOne.WISGqXJHiXseGYvhwgx4Bi+ugmwuHBzBMIiwExndfLJPiXsVR2PdTvnU4cFAWkQkUg8LUgGaeJOfuVeY03aKLPKiXy5gUk6BdM2Ddde4vyZC3suAdOxdreJOQUZQisuxdn.2nlxvsfMgkwWRk+ohcWI5gP4FytDFjhBqiv4DOuCoOyy6fetdMyMtYjonWwRoiYwIQfdGKnStRIEzWPWsTy.UWYbhTfBNMtkmMVsd2xhaFnFg0U0uKyUbA3LMW3q3RgyrCpW6C0qQwqYtSQtR6nHGUHOyMfoXtgxqP53KodWejW6iZd7I8nOGEFLvHneg5PqWq5L86vPnbL+j4NOjq.sOn0fT171Q7YBHXBbMB+As60uGsyqmL47yZbH8cXIAeJd0Xd9VdfJz4fREuB3yBUNG7mGRa3i4eJDTjue7NS5Sk4YPWVTzEH8tLqgqvUnLy0uC5lI7KnEdXjJyQ9TpITW+Ht+kP.tDU6KlgUTWYBHdKbQFlwNMBUpjrm+jmLUllG6hqN3xxC3RDw50AeJRqTHQuo3bi7PeuBnTo3LoBNW3bPsOTqZsOVi9+MMc5VsooLoxnHHcql0SCRuq.cD4wW.oGhbxnbXsiXawM66r+78caNVv2vf2vQoXnfqNGqZettQxRZO9uWOrGt4naPWpC8KARUbMDr5AWgS9LsqUs6AYWpjIE9trWgX8PUg05qZlYBHhvwV1uy9V7Fx0kyICasXsPKdq4ZV4ZE+cXqvBVYolQsPtlb9JFWldJVWMWIi98zWoYSDjfDaZPdJF2Che7e8Iyn5aM5AG.JCxiXpaNUTeTvRC3V1MF+nGwHPJ3hMOp3dYT4WJbej8HtxOb63sxVvKtIeei2kG7T2t+zofupDr6aO3Ot+OkgXFBO6TlJkibM6yxiGizAe.Qh.Il51JqJ5F.irmVVWYFChfBgOgWKM1TKaszXyUFIwL+T468MMy5i1dXgFDShhS3qhepAJSaRJZvw3r8b8Hw3Itu22WWJ9AD6aOlmtCwbzNDyw6PLOaGh4jcHlebGh4mtyXzerS6bkL1zlfJF0uXpmkUeACYYELRx+QgRQW.
    


  • @Steve-Mohican Yeah just like that. If you want the transition to happen over a time period then you need to use a timer.



  • @d-healey said in Smooth transitions of the button clicks:

    @Steve-Mohican Yeah just like that. If you want the transition to happen over a time period then you need to use a timer.

    I really don't have an idea for that. Can you give an example to above snippet please?



  • HiseSnippet 1089.3ocsVstaaaCElxIpnRadXEqO.B4GCx.opxsIYCsMX99pwVRLlcaGvvPAiDsEQnHEjnhiQQeZ1Kx94db1aP2ghxVNyNEEFHNFA9bUe7b9NGpQoh.RVlHEYXMYQBAY70liWvkQcivTNZXOjw2XdFNSRRczp5rHAmkQBQFF68yJEFV6iJ97u+TGLCyCHUpPn2JnAjekFSkUZG05WnL1.bHYBMdMuOp0v.AuqfIxA7rmoOJAGbEdF4brxsZlHiGzOjJEoikXIICYreGQ3hwQh4bs+uklQujQTBMQigDoUOPvBUHVoE0MhxBGs7bmgfrLppJrmtJ7XyyngzU5qpFeagAmpHVudXT6yA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zmiAVVAiD8e.tP2w.
    


  • @d-healey Wow That's it man! You've nailed it 🙂 Thank you so much!


Log in to reply
 

9
Online

1.5k
Users

4.6k
Topics

42.1k
Posts