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...

CJ File Browser 4.0 (Beta)

CJ File Browser 4.0 (Beta)

I know a lot of people are using my file browser with tinyMCE or for standalone applications. I just wanted to let everyone know, that I have been working feverishly on a major revision and you can check out the progress or lend a helping hand of support by checking it out on GitHub.

What's New

This version is meant to squash some long standing bugs, but also to take care of some of the many request people have been making over the past year. Some of the things that are on my hit list:

  • Drag and drop file uploads.
  • The ability to drag and drop to move files and folders around.
  • Making it themeable with jQuery UI (I'm still not sure about this, since I'm not sure how tinyMCE will handle this).
  • Allow renaming of files and directories.
  • UI improvements: Easier to understand tooldbar, adjustable sidebar width, etc.
  • Ability to view larger previews of images (Might incorporate lightbox or colorbox for this, suggestions welcome.)

This is not a complete list, but most of the major items that I wanted to incorporate or features my clients have been asking for.

What Can You Do?

If you want to join in on the fun, download the source from GitHub and start playing around. It's beginning to become a beast and I'm not sure if I can handle doing everything and keep on top of my normal clients workload. But I want to make sure I take care of everything you guys have been asking for. If you have more suggestions or know of any bugs, please let me know.

And as a side note, my new hero, Jona, took the time and wrote a PHP handler. I haven't had time to play with it yet, but you can check it out here: https://github.com/teeny/CJ-File-Browser-PHP-Handler. Thanks Jona!

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...
Page: 12345678910111213>22