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…
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…
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…
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…
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…
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 web site. The problem is that it was a series of actions. As in one action for each radii. One for 5px, one for 10px, one for 25px, etc. That’s just screaming to be scripted with a quick prompt asking for a radius.
So that’s what I did. About half an hour and I had a script that would prompt for a radius and then round off whatever image was opened.
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 photography forum of mine. But I didn’t want to have to go through every link prior to displaying the page. Seemed like a perfect time for a little bit of Javascript.
Sometimes you get those errors that just pick at you and you can’t seem to find a solution. It happened to me this morning when testing and reviewing a JavaScript library I’m writing in IE7. FireFox worked without a hitch, but IE threw an ‘expected identifier, string or number’ error pointing to the last line of the variable declaration. Of course it didn’t help that my copy of MS Script Debugger wanted to lock up my computer.
Here’s a very shortened example of the code I was working on.