Wednesday, 07 October 2009 20:34
I was working on a bit of script today, and happened upon an interesting happenstance. I was trying to change the text of an element dynamically, and this text needed to include a non-breaking space. My original code seemed to render the entity as text, so this:
elem.setText( '&nbsp;' );
literally printed the text " " instead of the proper entity.
Monday, 20 July 2009 10:37
If you've ever done any scripting using the Mootools library that ships with Joomla, perhaps you've come across a situation where you needed to prevent a link from following it's assigned location. Mootools has a function for Events called 'stop', but it is not extended to Events in 1.11. So how do you stop the link from following it's href?
Last Updated on Monday, 20 July 2009 10:47
Thursday, 25 June 2009 17:51
There's a really cool site at konamicodesites.com that lists a whole bunch of sites that have easter eggs if you type a certain pattern while visiting. That pattern is the famous Konami Code. It lists some pretty large sites, like Facebook and Digg.
Last Updated on Monday, 07 December 2009 04:53
Sunday, 07 June 2009 01:02
Some of you may have noticed the box at the bottom of the screen that keeps track of the page's vertical position. I wrote this in Mootools to sort of mimic some command line Linux tools like "less", "more", and "man".
Last Updated on Saturday, 05 December 2009 13:14
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. Jeff Channell is not affiliated with or endorsed by Open Source Matters or the Joomla!® Project.