Creative Juices Bo. Co.

Satisfy Your Thirst For Something Refreshing!

Zoom, Zoom, On Orientation

Fix the zoom when user changes screen orientation

I just wrapped up development on a mobile website and was trying to figure out how to make the site "fill" the width of the screen when the user changes the orientation from portrait to landscape. Now, I could have designed a entirely seperate CSS rule set for the landscape size, but I wanted to keep things simple buy just developing for one "small" size at 320 pixels. Then when the user changes orientation, have that fill the screen. The solution was extremely simple. In my header I had declared the "viewport" meta description as:

<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">

I just need to remove the initial scale option like so:

<meta name="viewport" content="width=device-width,user-scalable=no">

Magically, the site auto fills on rotation. Awesome.

read full article...

Installing Railo 3.3 + Resin On Mac OS X 10.7 (Lion) Server

Update 2/19/2013

A Step-By-Step Guide To Install Railo 3.3 + Resin On Mac OS X 10.7 (Lion) Server

Hi! My name is Doug, you may remember me from such wacky articles as Installing Railo 3.1 On Mac OS X 10.5 (Leopard), Installing Railo 3.1 On Mac OS X 10.6 (Snow Leopard), and Lion Server. The Little App That Should, But Doesn't.Ahhh, those were the days. I was young, happy and had so much free time. Sometimes I could sit for hours, my windows open (Real windows, not the MS variety), enjoying the cool sounds and smells of summer that would take me away to far away lands. Where the heck has the time gone!?!?

The last article I wrote, Lion Server. The Little App That Should, But Doesn't, was about my total and utter disappointment with the Mac OS X 10.7 Lion Server software. It was one of those moments in my life, when I become extremely disappointed with a company that I admire. I hadn't felt like that since 1996 when Norton Anti-Virus completely toasted a hard drive, causing me to lose 6 months worth of work. Almost a year-to-the-day that I wrote that article, I decided to give it another stab. I downloaded the update, which at the time of this writing was 10.7.4. Just like the previous version, it installed without a hitch. But something was different this time... something I... can't... put in... words... it worked!?!? It's actually working... without... crashing!!! Slow clap for you Apple, Inc. Yes, you deserve a pat on the back. Well, I mean it should have been working a year ago, but still, congrats!

read full article...

A Weird Thing Happened To Me Today When Submitting A Form

Apparently With ColdFusion You Can't Always Rely On form.fieldnames

I've been using ColdFusion for a long, long time and today I came across something that just totally stumped me. When submitting a form, you could always, and I mean ALWAYS, use ColdFusion's "form.fieldnames" field to get a list of all of the names of the submitted form's fields. At least that's what I thought.

read full article...

Where did I go, I do not know.

jQuery Date Navigation Bar

I know it's been awhile since I've posted anything, but I've been a very, very busy bee. Hopefuly, I will get some time to start making some updates to some of my jQuery plug-ins soon, but in the meantime I would like to share something new. It's not fancy, but I required it for some of my client projects as of late and I thought I would share.

read full article...

Lion Server. The Little App That Should, But Doesn't.

I've Given Up on Mac OS X Lion Server 10.7... For Now.

As some of you may know, I run a small development server that I use for my clients. Today I thought I would try to upgrade it to the new 10.7 Lion Server and see if I could get Railo up and running. Well, eight hours and three clean installs later, I have utterly given up. I never got to a point where I could even start playing around with Railo. All of my time was spent trying to get the server up and running properly.

I'm not one to gripe much, but I'm slowly seeing a pattern with Apple that I don't particularly like. I'm not sure if it's management or their programming teams, but the famous Apple "polish" seems to be slowly diminishing on some of their projects. And by some, I don't mean everything. I've upgraded my normal work flow computers to 10.7 and so far I'm not having any issues. But the Server software, well, I can only describe it as a fancy dialog box, that hides a horrendously buggy, poorly thought out and lacking major features piece of software.

read full article...
Page: 12345678