TinyMCE URL rewrite problem editing emails (kinda solved)

TinyMCE has a habit of rewriting the URL for images, etc.  However, this becomes broken when using TinyMCE to edit things like emails.  The relative path is totally useless in an email because the email is not being viewed from the server like a webpage would be. To fix this I searched the tiny_mcs.js and… Continue reading TinyMCE URL rewrite problem editing emails (kinda solved)

Hiding an email address using Javascript

Have you ever wondered why you suddenly started getting tons of spam? Do you have, or did you recently post your email address on a website? Then the reason is probably because you did not properly protect the email address, and spammers get most email addresses from robot script that harvest email addresses from websites.… Continue reading Hiding an email address using Javascript

Javascript disable right click and image tool bar

A recent request from a client was to make life more difficult for his competitors to steal images from his site. He was worried that they could save the images using the Image Toolbar in newer versions of Internet Explorer, and by using the right click menu on the page. For those of you that… Continue reading Javascript disable right click and image tool bar

CSS style sheet switcher using Prototype

A recent project had a requirementfor a style switcher allowing a visitor to control font size on the site as needed. (Many do not know how to change it through a browser, and most sites are not designed to allow for font size changes without completely trashing presentation.) Because the project in question was a… Continue reading CSS style sheet switcher using Prototype