Tag Archives: javascript

Problem with SyntaxHighlighter and 2 character strings

Had a very odd, very frustrating issue come up trying to get SyntaxHighlighter working on a project I’m working on. When the code to be highlighted was only two characters long it would blank it out and the code would … Continue reading

Posted in Programming | Tagged | Leave a comment

Just finished up a couple of WordPress plugins

Needed a break from a larger web app I’m working on and this weekend kicked out a couple of WordPress plugins that I’ve had on my idea file for a while now. The first is called rTwit and lets you … Continue reading

Posted in Programming | Tagged , , , , , , , , , | Leave a comment

JavaScript version of PHP __FILE__ or __DIR__

This is one of those issues I keep coming back to.  I need a way to get the path of the current JavaScript file.  Something analogous to the PHP __DIR__ constant or dirname(__FILE__). Found something close on Stack Overflow.  The … Continue reading

Posted in Programming | Tagged , , | 2 Comments

When in doubt, restart

Sure, it’s a cliche.  Computer not working?  Restart the sucker.  This time though, it paid off. I just spent the better part of this afternoon working on a JavaScript issue.  I’m using SWFUploader to handle image uploads for a web … Continue reading

Posted in Computers & Internet | Tagged , , | Leave a comment

Dynamically link to CSS with JavaScript

Needed a way to add a CSS file with JavaScript, so I went out a-Googling like I normally do.  Problem is everything I found either worked in Internet Explorer and not in FireFox or the other way around.  Nothing I … Continue reading

Posted in Internet, Programming | Tagged , | Leave a comment

Safari, scriptaculous, and non-clickable links

For the better part of the last couple of days I’ve been trying to figure out why Safari was not allowing me to click on links. Aside from an annoyance, it’s not good to have clients complaining…

Posted in Programming | Tagged , , , , , , , | Leave a comment

Prototype.js, setStyle, and IE not working together

Sometimes IE just irritates me. Ok, pretty much anytime I’m working on a web site. Especially when it involves Javascript or DOM. For the past couple of hours I’ve been scouring the internet looking for a solution to the prototype … Continue reading

Posted in Programming | Tagged , , , | 2 Comments

Curved corners script for Photoshop

I’ve been looking for an excuse to play around with scripting in Photoshop. Today I found one. I came across a series of actions that rounded off the corners of an image to get it ready for uploading to a … Continue reading

Posted in Programming | Tagged , , , , | Leave a comment

Event tracking with JavaScript

A while back Google added event tracking to Analytics so you could keep track of Javascript and Flash events.  Pretty cool feature. Being the stat junkie that I wanted to use this to keep track of outgoing clicks on a … Continue reading

Posted in Programming | Tagged , , , , | Leave a comment