the singularity of being and nothingness
Posts tagged CSS Gallery
AJAX Gotcha…POST vs. GET
Jun 12th
A rather annoying issue I ran into this evening when testing my up-and-coming CSS gallery on a live server was that all of my cross-domain AJAX calls were failing in Firefox. I'm used to stuff failing for stupid reasons in IE, but this one was unique. I tested in Safari (for Windows), IE 7, and Opera–all of them worked beautifully. But for whatever reason, Firefox horked on the code.
Well, it turns out it was a simple fix. In my AJAX calls, I was using the Spry loadURL() function. For this function, you can specify whether the call should be a "POST" or "GET" method. I assumed for my remote calls that I would be doing POST methods.
After all was said and done, it was apparently the POST methods that Firefox was having a coniption over. I changed the methods really quickly to GETs, and everything worked again in all browsers.
As I am mostly stupid, I have no reason why this happened–however, perhaps this will be useful to some other poor code monkey out there who is betrayed by Firefox in the wee-hours of the night, and maybe a wiser soul would be kind enough to post a comment about More >
Coming Soon…Very Soon!
Jun 10th
Remember the CSS Gallery I wrote about a while ago? Yes, the one that I'm building? Well, IT'S ALMOST DONE!!
I am incredibly excited. The design, I feel, really came together, and the final result is something simple and sleek, but still (at least IMO) memorable.
One of the most exciting things about this project for me is that it's allowed me to flex some ColdFusion 8 muscles–muscles that I have had not yet really had a chance to use until now.
What kind of features are there going to be? I'm glad you asked!
On the client side, I completely Web 2.0-ified the site submission process. When you click "Submit", instead of getting redirected to a form page, I'm using Thickbox to present the form. The form itself is pretty sweet, too. First, there's a fairly interesting hint tool that I developed. But the power of the form is that not only does it check the XHTML and CSS validation on the site you enter while you're finishing up the form, but even the form submission itself is AJAXed. No stupid submit and refresh here!
Once a site submission is approved and live, each site will have comments attached, as well as a rating mechanism. As More >
I'm Building a CSS-Gallery
May 23rd
Yeah, yeah, I know. There are already a billion and 3 CSS showcase galleries out there. Why re-invent the wheel, you surely say?
Well, I'm actually not…well, not really. I have a few projects that are hovering on the horizon for which I am going to be using a few features I've never built before, such as a rating system, and a tagging system. While I feel confident that they will be no big deal, I figure something like this could provide a good playground for working those things out now, rather than later.
One thing I am going to do with my CSS gallery, however, is auto-generated thumbnails. I really want to do nothing but approve or deny submissions, so the thought of taking time to open the RAM-whore Photoshop CS3 to crop up a bunch of images is not appealing!
In thinking about this, I snooped around the Intrablog for some free services that would provide this. One of them, Websnapr, has an extremely easy to use API…the only problem is that they slap a stupid watermark on the thumbnails that are generated. So obviously, I moved on. The next one I found (and stuck with, incidentally), was ShrinkTheWeb.com. Their web More >