Aaron Saray

open source programmer,
web developer

entrepreneur, author
and musician

My Blog

contains PHP, Web and business/entrepreneurial related content. Please join in the conversation!

Tag Archives: javascript

Fixing c:\fakepath in filestyle jquery plugin

The other day I ran across an issue with the FileStyle jquery plugin. Whenever a new file was chosen, windows and Internet Explorer would put c:\fakepath\ before the filename. Turns out its not FileStyle’s issue – but a security feature … Continue reading

Posted in javascript, jquery | Tagged , | 2 Comments

Javascript and CSS Compression and Cache

I’ve been researching caching and compression techniques for my external resources for some time. My first design of JEMDiary was very greedy with HTTP connections. Couple that with having a less-than-perfect host (Dreamhost bleh…), users could feel the burn. I … Continue reading

Posted in CSS, javascript, Misc Web Design | Tagged , , | 2 Comments

Making Friendly Javascript Errors – Client and Server

The more I look at my code I wrote in my earlier posts about the unknown _popupControl() function and the Javascript Error Handler, I see opportunities to leverage these errors into useful user interactions. Doing a service for your visitor … Continue reading

Posted in javascript | Tagged | Leave a comment

Using Google Analytics Asynchronously

I came across the following link on google’s code pages: http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html It basically details the asynchronous loading of google analytics. I found this to be a very cool addition to an already powerful package that I rely on. However, one … Continue reading

Posted in javascript | Tagged , | 2 Comments

document.URL vs document.location.href

When reviewing some javascript security ideas, I came across the document.URL property. Turns out that my normal way of retrieving the location (document.location.href) is both a getter and a setter. The document.URL is just a getter. Check it out with … Continue reading

Posted in javascript | Tagged | 1 Comment

Javascript Snow Fall with buildup

Mr. Skowron (his business) was working on a flash animation for a client that had a snow fall. What really irked me about the end result, was two things. a) it was in flash b) the snow didn’t build up … Continue reading

Posted in javascript | Tagged | 2 Comments

Auto Failover for CDN based Javascript

Using my javascript error reporter code helps me get a better understanding of what my clients are experiencing when visiting my website. One thing I did notice was the failures from time to time of Google’s CDN based Jquery. To … Continue reading

Posted in javascript, jquery, Misc Web Design | Tagged , , | 4 Comments

Printing a small segment of the page using JQuery

Using Yahoo’s Grid Tools, I created a pretty decent page layout. After all this was complete, I needed to generate a printable version of only a portion of the site. This was a particular set of instructions. I decided to … Continue reading

Posted in CSS, javascript, Uncategorized | Tagged , | Leave a comment

How I fixed the Javascript error with wp-codebox

I’ve been using the wp-codebox plugin for a while… and an upgrade came today! Well, I applied the upgrade – and now every page that has a code box on it was causing my JS to crash. The first thing … Continue reading

Posted in javascript, wordpress | Tagged , | Leave a comment

JfbConsole – chainable Firebug Console jQuery plugin

I find myself wanting to document various different attributes mid development on my jquery code. I have created the following function to help use FireBug’s console access code effectively in the jQuery fashion. ?View Code JAVASCRIPT1 2 3 4 5 … Continue reading

Posted in javascript, jquery | Tagged , | Leave a comment