Wednesday, April 28th, 2010
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.
Tags: disable, enable, javascript, right click
Posted in Web Tricks | 2 Comments »
Monday, March 1st, 2010
I made this for my wife cause she had thousands of pictures she wanted to share with a client of hers. So instead of mailing a CD or using a service like flickr I had her use an FTP client to upload the files to her website in a subdirectory and then I added two files to the parent directory of her files (not the root directory of her site) and it gave her client a simple interface to browse through folders and see thumbnails of all the images in there along with any documents.
Tags: directory index, htaccess, php
Posted in Programming, Scripts, Web Tricks | 2 Comments »
Thursday, February 18th, 2010
WYSIWYG stands for What You See Is What You Get. Basically it’s more then just a text box. It allows for things like font stylizing, image inserting, etc. If you’ve ever done any blogging online them you most likely used one for making your blog posts. Another simple way to look at it is it is a simple version of insert-your-favorite-word-processor-here (i.e., Open Office, Microsoft Word).
Tags: editor, textarea, web trick, wysiwyg
Posted in Web Tricks | No Comments »
Wednesday, February 17th, 2010
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.
(more…)
Tags: hints, input fields, javascript, jquery, Programming
Posted in Programming, Scripts, Web Tricks | No Comments »