|
|
|
|
|
by dan_linder
3 days ago
|
|
And producing them was very easy even in the pre-CSS days. At the very worst (which is what I did), make up a simple image in Adobe with a 3D effect, save it as a black-and-white bitmap, change the white to the color of the button. The make a second version in the same manner, but this time the shading of the button reversed. Nexty setup the HTML so the on-press for the link pulled up the alternate button image. The reversed shading (when done properly) then looked like it was depressed. Is that so much harder than adding the JavaScript and other code around it to make the simple animation some sites have? (At least with the on-press option, it didn’t require having JavaScript active just to animate some buttons.) |
|
I understand that a lot of people hate JS ecosystem and etc., but we’ve moved on from that a while ago.
Although I’m more on infrastructure side of things nowadays, I don’t miss the early days’ of handwritten HTML.