Added: 2 years ago
From: alihammadshah
Views: 3,229
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (16)

Sign In or Sign Up now to post a comment!
  • Yes sort of, so I can get some moving or shaking effect everytime they click on one of them.

  • 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 By move, do you mean shake?

  • @alihammadshah Yes, that's what I mean.

  • @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 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.

  • @alihammadshah I sent the code to your inbox. Thanks

  • 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 its not textColor. Its just 'color'

  • Masha-Allah

    nice!!!!!!!!!!!

  • i think srcElement is for IE.

  • Thanks great vid

  • Very well explained thanks.

  • Nice. Keep them coming.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more