I'm a hack, but a pretty good one... as hacks go, that is...




Cross Browser Bookmark Script

Friday, November 16th, 2007

Need: A cross browser bookmark script.
Problem: IE 7’s handling of the window.external object and the errors that result from using it. Most cross browser scripts that I’ve come across utilize this object within and I find the resulting client side error unacceptable.
My cobbled solution:
<a href=”#” rel=”sidebar” onclick=”if(document.all && !window.opera){ alert(’Havascript.com\n\n Thanks for attempting to bookmark […]

Spam-Free E-Mail Links Using Javascript

Saturday, March 17th, 2007


Perpetual Copyright Date

Tuesday, March 13th, 2007

I’m an amateur developer who has a dozen or two websites polluting cyberspace and the last thing that I want to do the first week of any new year is to spend my time FTPing copyright updates. Not updating copyright statements with the current year has the effect of having the site look unkept and […]

Using Javascript For Headers And Footers…

Monday, March 12th, 2007

Many people don’t realize that Javascript can be used to call external documents such as headers, footers, navigation, etc. - much in the same way SSI is utilized. The main disadvantage is that the code within the external document being called must have no line breaks,… i.e.:
This HTML code is then placed within a Javascript document.write statement like this:
The external document is saved as a .txt file (i.e. footer.txt) and is called using a Javascript tag like this:
<script language=”javascript” type=”text/javascript” src=”footer.txt”></script>
There is an excellent tutorial that can be found at NetMechanic.com.  The […]