Different color for each menu item

In a recent project I got a requirement that each menu item should be highlighted in different color when visited. The menu items and their required active colors were: Home - Green Portfolio - Blue Team - Yellow Contact - Red These colors were to be applied only when that page is being visited otherwise … Continue reading Different color for each menu item

Advertisements

Rollover image – Change image on hover/mouse over

Often when designing websites static or dynamic, PHP or ASP.Net, Laravel or WordPress, you have to design in a way if user hovers an image it gets changed and an alternate image is displayed. This can be easily achieved via simple HTML events. Here is the trick: <img src="FIRST IMAGE URL GOES HERE" onmouseover="this.src='SECOND IMAGE … Continue reading Rollover image – Change image on hover/mouse over