Posted by : Chris London in (Web Tricks)
Some websites disable right-click to prevent people from stealing their images. The problem is that this does NOT slow down people from stealing their images. People that steal images have SOOO many different ways about getting their images. Disabling right-click is the least effective way to prevent image stealing.
Read the rest of this entry »
If you don’t know what ternary operators are then you are missing out! The day I learned about ternary operators I nearly passed out. There are so many wasted lines of code if you don’t know about them. This is what a standard if ... else ... statement looks like using C, Obj-C, C++, C#, Java, or JavaScript:
Read the rest of this entry »
This will show you how to include the Kwista Hint script which will allow you to generate automatic hints in your form’s input fields. Automatic hints, by our definition, are input fields that contain predefined text in the field that provide the user with a hint as to what should be typed in the field. These hints are usually gray, though the colors and font styles can be changed through CSS. When the user focuses on the field (e.g., they click on it) the hint text is removed and the style of the text goes back to normal. If the user doesn’t type anything in the field, or they erase what they type, and they click away from the field then the hint text is returned to the field.
Read the rest of this entry »