Fork me on GitHub

Tag: javascript

Tag Archives: javascript

Everything I know about optimizing a WordPress install

I don’t mean to badmouth WordPress when I say this, but if you deploy a WordPress based site without optimizing your install you’re just asking for a slow site. Below is everything I know about optimizing a WordPress installation. It is by no means a list of everything you can do to optimize a server […]

March 31, 2010 | Web Design & Development | 7 comments

Announcing the SP Source Code Highlighter plugin for WordPress

Maybe you noticed already, maybe you didn’t (I’ll wager on the latter 😉 ) that recently this site got new source code highlighting in posts. Or, should I say, that it GOT source code highlighting in posts. I had made a simple Script Source viewer a while back. Something simple and straight forward that I […]

July 7, 2009 | Code, PHP Scripting, Plugins | 1 comment

jQuery Image Slider: Improved

In a previous post I talked about a quick and dirty jQuery image slider technique that was conceived late at night and on a tight deadline. Now, with the attention of a friend (thanks John!) and a little time to work on it, the image slider has been improved! Ya. View the demo here: /stuff/slider/improved.html#2 […]

February 19, 2009 | Web Design & Development | Comments Off on jQuery Image Slider: Improved

Javascript table row highlighting. Then and Now.

Just so that you’re sufficiently warned: This post offers no practical information. Its a "remember when? didn’t that suck?" post. I think it was 2004. Prototype.js was new and was rocking my world. But it was still just a few convenience features put on top of JavaScript. I needed to stripe table rows dynamically and […]

February 12, 2009 | Web Design & Development | Comments Off on Javascript table row highlighting. Then and Now.

30 Minute, 4 AM, jQuery image slider

Update: This script has been overhauled since this post. View the new code and demo here. As fate would have it the first night of my trip to Provo, Utah turned in to an all night work session to get a few things wrapped up so that we could release them during WordCamp Utah. As […]

September 28, 2008 | Web Design & Development | 1 comment

Embed Flash Video in a page via JavaScript

I just finished up a new version of my script that embeds flash video in a web page to make it more diversified in what kinds of video it can handle. There are some that will not work since they’re doing some url manipulation on the ID of the flash object that make it impossible […]

January 17, 2008 | Web Design & Development | Comments Off on Embed Flash Video in a page via JavaScript

Long Live the Image Map!

Oldie but Goodie Why should the image map be ignored? Its understood by every major browser around and is perfectly suited to do what some people insist on doing in flash. This sample shows a simple North American map divided up into regions and the rollovers controlled by some very simple JavaScript code. JavaScript was […]

March 16, 2007 | Code, Web Design & Development | Comments Off on Long Live the Image Map!

Embed Google Video and YouTube – Now bigger and better

Well, technically smaller. This new version actually has less lines of code. See, I was trying to be a good boy when I first wrote the script. I tried to be fully DOM compliant and not use innerHTML as it is a non-standard function and has somewhat of a dubious reputation. Well. Screw it. IE […]

December 14, 2006 | Web Design & Development | Comments Off on Embed Google Video and YouTube – Now bigger and better

Javascript to embed YouTube and Google Video

NOTICE: This script has been updated and there is a new version available here. Thanks! A while back I got the urge to write this for no other reason than to make my life over at the Clubhouse a bit more convenient. Frankly, I didn’t want to have to click through to watch YouTube and […]

October 13, 2006 | Web Design & Development | 7 comments

Is this a normal coding enviroment?

Or: Editors, Editors Everywhere. Go Nuts I know I’ve done an "Editor Roundup" before, but: Doing work in a variety of languages has had me jumping editors and IDEs looking for the single perfect editor for handling PHP, HTML, CSS, JavaScript, SQL and the occasional Bash script. I recently gave up and just settled on […]

August 14, 2006 | PHP Scripting | 4 comments

Javascript, IE and Generating Tables

It seems that when generating tables in JavaScript IE requires that you generate a tBody with that table or else nothing at all shows up. See, when loading a page browsers will generate a tBody automatically and slip it into the dom. That’s why even when you don’t have one in your page you still […]

July 9, 2006 | Web Design & Development | 1 comment

Ajaxy goodness and Safari form behavior

Yeah, so I’m about a year behind everybody else on this one. I finally wrote my own little Ajax class. Most other classes out there were way too much for what I needed and I also needed to get my feet wet in OOP programming for Javascript so this was a keen little exercise for […]

April 14, 2006 | Web Design & Development | 1 comment

Tabular image layouts in print and on the web

For a long time I’ve been lusting over a way to neatly arrange a block of images on paper the way it is so easy to do on screen. Or, at least, they way it has become so easy to do on screen. CSS actually opened the door to me finding a nice way to […]

March 28, 2006 | Web Design & Development | Comments Off on Tabular image layouts in print and on the web

Preparing for fully compliant XHTML

Well, I’m playing around with delivering actual xml content for xml aware browsers, or maybe I should say I’m playing around with delivering xml content to everybody but IE, and am realizing how much I don’t know about xhtml. So much changes in document structure it will take a while to find the right balance […]

July 11, 2005 | Web Design & Development | 1 comment