Archive for the ‘JavaScript’ Category

Ever had a problem with JavaScript’s setFullYear method in the Date object?

Monday, October 20th, 2008

Me too. While writing a JavaScript countdown timer the other day I ran into a very peculiar issue. Every time I refreshed the page, the countdown had 0 hours, 59 minutes, and 59 seconds remaining, regardless of the current time, but it had the correct number of days. To set the ...

Launchy is Cheeky

Monday, September 22nd, 2008

I was reading Life Hacker's Best of the Best today and came across Launchy, a Windows application launcher, so I decided to check it out. I run NoScript at work for security purposes so I was greeted with the following image. And I quote: "This is where Ads would go, ...

Tired of TinyMCE Screwing Up Your Code?

Tuesday, June 17th, 2008

So was I. Luckily there is a handy configuration option that tells TinyMCE to leave your code alone: verify_html : false The resulting code should look something like this: tinyMCE.init({ theme: "advanced", mode: "exact", elements: "html", theme_advanced_toolbar_location: "top", verify_html: false }); Happy coding! Source Related posts:Windows Vista Source Code ReleasedDD-WRT for the win!Make Ventrilo Work with Windows Vista

JavaScript Web Service Consumer

Thursday, October 18th, 2007

Behold my first experience parsing XML with JavaScript and consuming a web service. http://jeremyglover.com/apps/AJAX1007/day_2_homework_consumer.php Related posts:My First Experience with JavaScript ObjectsDD-WRT’s Quality of Service Works Really WellAnnouncing Recursive Command 0.2

My First Experience with JavaScript Objects

Monday, October 15th, 2007

This week I had the opportunity to play with JavaScript for my Building Rich Applications with PHP 5 and AJAX class. Our homework was to create Tic Tac Toe using JavaScript. As a bonus we were to implement the game using JavaScript objects (very handy) and have the ...