There is not real Click Event in CSS, but you can use the other tools you have to replicate that event. In CSS you can determine the stat of elements on the screen and so with that you can check the stat of a Checkbox. This is how we are going create the Click Event.
Category Archives: HTML/CSS
ARIA Control JavaScript Library
This libraries purpose is to automatically inject the necessary tags and commands to the users mark-up, so that it meets the standards as much as possible. There are also commands for the users to inject the methods on to specific parts if the library does not get them automatically. Also the automatic functionality can be turned off if only partly needed.
Galen Framework Hover in JavaScript
A bit of a small audience for this one, but a project I was put on wanted to us the Galen Framework to test their UI. For people who do not know what this framework is, it is a method of writing acceptance code that matches up to the output in the browser window. This can be coded to work for all different device, sizes and URLs. One hard space I came to was to action the hover state of an element and then test it.
Any Side Custom Checkboxes
No one wants to use a standard browsers checkbox, as they are inconsistent or just plain ugly. So like everyone I set up to make my own custom checkbox. I will explain below how to build custom checkbox and why I think it is the best method.
Good, Bad and the Ugly Commenting
I feel that it is important to comment your code and make sure that the next developer that uses the project knows what the hell you have done. However I have seen over the time I have been developing a lot of different ways people comment, so here are some of the dos and doContinueContinue reading “Good, Bad and the Ugly Commenting”
How to normalise ’em’ font
I was thinking about how we use the font measurement ’em’ and how it can be very hard to keep track of the relative sizes. When you keep driving down in sizes for different widgets it can be hard to know what size your font is going to come out like.
Sticky Menu Bar code and example
This is a bit of a feature a lot of websites use and love, which is the Sticky Menu Bar. This could also be used for things like a cookie policy bar as well, but what ever the use it is a good feature. However I see some people add these with some terrible codeContinueContinue reading “Sticky Menu Bar code and example”
Coding Project Mind Block
When you are developing for fun, do you ever get a project mind block? What to do, what’s best to do or what could be fun to do of course.