@diliyoblow5 you can use a simple ui library for visual effects. Because visual effects take long time to write. I am trying to write one but it won't be a good solution compared to open source solution already available.
@alihammadshah Ok Great! will do. I'm new to programming and now I'm learning PHP, JavaScript and java at the same time, so thanks for your video really helpful.
@alihammadshah The way you used the " onmouseover/onmouseout" to change the color and go back to the original color , can it be done with onclick? as well because I'm trying now with the " onclick" attribute I got a hard time to make it works
@diliyoblow5 Yes. It should work with any mouse event. Y don't you send me your code in the inbox and tell me the problem. I will try to fix your errors.
Yes sort of, so I can get some moving or shaking effect everytime they click on one of them.
diliyoblow5 11 months ago
Thanks for your quick response. Oh My God, Thanks pal you are a genious, I was struggling with that. It worked.
One question is there a way I can make the box or the text move to make a nice effect when click on?
Thanks again.
diliyoblow5 11 months ago
@diliyoblow5 By move, do you mean shake?
alihammadshah 11 months ago
@alihammadshah Yes, that's what I mean.
diliyoblow5 11 months ago
@diliyoblow5 you can use a simple ui library for visual effects. Because visual effects take long time to write. I am trying to write one but it won't be a good solution compared to open source solution already available.
So i would suggest you use some library.
alihammadshah 11 months ago
@alihammadshah Ok Great! will do. I'm new to programming and now I'm learning PHP, JavaScript and java at the same time, so thanks for your video really helpful.
diliyoblow5 11 months ago
@alihammadshah The way you used the " onmouseover/onmouseout" to change the color and go back to the original color , can it be done with onclick? as well because I'm trying now with the " onclick" attribute I got a hard time to make it works
diliyoblow5 11 months ago
@diliyoblow5 Yes. It should work with any mouse event. Y don't you send me your code in the inbox and tell me the problem. I will try to fix your errors.
alihammadshah 11 months ago
@alihammadshah I sent the code to your inbox. Thanks
diliyoblow5 11 months ago
Great video. how I can change the text color instead of the background. I tried textColor='color'> it won't work. please let me know.
diliyoblow5 11 months ago
@diliyoblow5 its not textColor. Its just 'color'
alihammadshah 11 months ago
Masha-Allah
nice!!!!!!!!!!!
aalamnaryab 1 year ago
i think srcElement is for IE.
alihammadshah 1 year ago
Thanks great vid
LN023 1 year ago
Very well explained thanks.
corteplaneta 1 year ago
Nice. Keep them coming.
nashwin80 2 years ago