Colorbox and jQuery form plugin for attractive interfaces


Lately it seems like it is becoming harder to program an effective user interface without the use of javascript.  I for one must admit I have drank the jQuery kool-aide.  I was working on a site for a client and needed a way for the users to change their password.  The site in question also makes extensive use of the Colorbox jQuery plugin and I know that Colorbox can display inline HTML so I thought this would be a good chance to check it out.  It will be aesthetically pleasing and it would be one less page I would have to write, I could just add the code to my current member page.

Continue reading “Colorbox and jQuery form plugin for attractive interfaces”

Advertisements

Happy Thanksgiving!


I would just like to take a moment and wish everyone a happy Thanksgiving and I hope you all  have a wonderful and safe holiday.  Much like the elevator business, my life has had its ups and downs this year, but I still have much to be thankful for.  I have gained quite a few clients this year, both me and my family have been healthy, and I have some great friends I would not trade for the world.  I do not know what more I could ask for.

If you are on the other side of the pond, I hope you still have a happy and safe day, too. 🙂

Railo and Tomcat made easy


I have seen several posts recently about installing Railo for local development, so I figured I would point out a nicely pre-configured Railo/Tomcat package out there from the folks at Vivio Technologies, which can be found here: http://railo.viviotech.net.  They have packages for both Windows and Linux, so you should have your bases (and operating systems) covered.   One other benefit of using the package is no web server is required.  Tomcat will act as its own web server.

It is very easy to install new webs using the package, the only thing required is editing your Tomcat server.xml file and add a new entry into the virtual hosts section.  A typical entry will look like this:

<Host name="site1.localhost" appBase="webapps">      
    <Context path="" docBase="C:\Sites\site1.localhost" />
</Host>

After you have made the appropriate changes to your HOSTS file and restart Tomcat you will be in business.

Getting to know Transfer ORM


I realize this post comes at an awkward time.  It seems most of the posts about ORMs nowadays all center around Hibernate after the release of ColdFusion 9.  However, if like me, you are using some of the open-sourced CFML engine alternatives like Railo or OpenBD, Hibernate support might be on the project road map but it is not here yet.  I still have quite a few sites out there running Transfer ORM, so I for one will be supporting it as long as it is available.

Continue reading “Getting to know Transfer ORM”

Example: Animating scroll with jQuery


A reader asked for an example of using the jQuery scroll code I had written a while back.  Based on that code, here is the example:

<form> <input type="text" id="myTextInput" /> <input type="button" value="Send" id="postButton" /> </form> $(document).ready(function(){ $('#postButton').click(function(){ $('#myDiv').append($('#myTextInput').val() + '
'); $('#myTextInput').val(''); $("#myDiv").animate({ scrollTop: $("#myDiv").attr("scrollHeight") }, 1000); }); });

A simple, functional example.

Edit 3/10/10:
Please see the new post here:

https://kisdigital.wordpress.com/2010/03/10/using-jquery-to-scroll-to-the-bottom-of-a-div-revised/

Install Ubuntu on Dell XPS 400 and Dell E196FP Display


I received an email from Michael and he was having some issues installing Ubuntu on a Dell XPS 400. I wrote entries on this when I was first getting heavily into Linux that were far more complicated than they needed to be. He was having problems following those posts so I came up with a simplified version.

Here is what I suggest:

Boot Ubuntu [9.04], on the first screen choose your language [English] Then press F4 and select [Safe Graphics]

Then press [F6], but do not select any option. Instead press [Escape] and it will allow you to change the command line. Remove the option “quiet splash –” and replace it with “vga=791” instead

Start the installation

This should install Ubuntu in safe graphics mode at a resolution of 1024×768. Once the installation is finished you should be able to enable the nVidia driver and get the better resolution and color depth.

This should also work for anyone with a nVidia chipset that does not correctly get identified at installation.