find articles
-
My Recent Tweets
Error: Twitter did not respond. Please wait a few minutes and refresh this page.
-
-
Recent Posts
Recent Comments
- overthumbs on Background animation using jQuery
- videohub on Banner ad animation with jQuery
- Ahmed on Slice a query string and store as object values using JavaScript
- link alternatif on Slice a query string and store as object values using JavaScript
- depoxito.com on Slice a query string and store as object values using JavaScript
Archives
- January 2013 (1)
- October 2012 (2)
- September 2012 (1)
- August 2012 (11)
- July 2012 (6)
Categories
- CSS (2)
- HTML5 (3)
- JavaScript (11)
- jQuery (7)
- More (5)
- Coldfusion (2)
- Developer Tools (1)
- IIS (1)
- Photoshop (1)
- Reviews (1)
- Movies (1)
Meta
-
Monthly Archives: August 2012
Processing files in ColdFusion with an extension other than .cfm
Want to run ColdFusion code on a page but don’t want the .cfm extension?
Or you have existing pages with an extension of .html and want to add CF code?
You need to update CF and IIS.
These instructions apply to ColdFusion version 9 and IIS 7+.
(more…)
Using jQuery to loop thru DOM objects with optional delay
You want to loop through a collection of DOM objects, so you use .each().
But what if you want to have a delay between effects on the current item?
In short – don’t use .each() for looping – and don’t use setTimeout for the delay.
We’re going to call items by index instead, optionally using a clever way to add a delay.
(more…)
Loading an image via the <img> tag using ColdFusion
I wrote a basic routine to accomplish this awhile back using <CFImage> and decided to revisit it.
I found out it needed major rework!
There were all types of exceptions dealing with transparent png and gif files.
After spending 2+ days on it, I believe the following is a solid solution.
(more…)
Allowing an iframe to manipulate itself on same domain using only JavaScript
Ok, this one I wrote is kinda cool.
I was working on a large corporate site that had iframes all over the place.
They had internal content(same domain) that would show up inside these iframes.
(more…)
Load an external stylesheet using JavaScript
There are times when you may not want to load a CSS file on page load, especially if it is a large file.
You can load that external file using only JavaScript.
Here’s how…
(more…)
Pausing an animation with jQuery
Starting an animation with jQuery is easy.
Stopping an animation with jQuery is easy.
But what if we want to “pause” and restart the animation?
Well, not so easy – so I dug in and figured a way to make this work cross-browser.
(more…)
Background animation using jQuery
You can actually animate a background image with jQuery – though it’s not as easy as it sounds.
There are cross-browser concerns.
I’ve tested many ways to achieve it and in this post there is code that should work cross-browser. Let’s dig in…
(more…)
Creating a namespace in JavaScript
If you don’t namespace your code – you should.
It not only encloses the code but also gives it a unique name for reference.
This avoids “code collision”, where two like named objects or functions can break your code.
(more…)