-
Tags
adsense animation apache apple blog coding compsci css diy facebook flash forum game google hard drive humor internet explorer iphone itunes java javascript link linux mac mysql Photography photoshop php Programming prototype python robot robotics school scratch search engine teaching theme tips twitter usb video web design wordpress youtubeMy Other Sites
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
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 ajax, blog, coding, javascript, link, php, plugin, Programming, twitter, wordpress
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
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
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
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 coding, javascript, js, mac, prototype, safari, scriptaculous, web design
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
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 javascript, Photography, photoshop, Programming, web design
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