February 1, 2007 at 11:38 pm · Filed under Uncategorized
So how hard can it be to find the "payment" option on the DMV site to pay for a violation? Well, how about I let you try for yourselves and see how long it takes you. I swear it took me almost 30 minutes just to find the page with the little credit card icons on it, and that wasn't even the page with the form to fill in your info.
I don't know who designed that site or decided that they should fill all the pages with endless ramblings, but I would really love to know if they've ever used the site themselves. It is the most useless piece of crap I've seen in a long time. Why is there so much text explaining every little detail that I nor anyone else cares about. Just show me a damn form to fill out, take my money and leave me alone!
the letter I received in the mail instructed that I had to make a payment within 30 days or my license would be suspended. The letter said that I had the option to pay online and the only link that was provided was the following:
http://nysdmv.com/drp.htm
Ok, are you ready? Click on that link and try to find the credit card payment page. Go go go! and good luck, you'll need it!
October 12, 2006 at 8:32 pm · Filed under jQuery, Javascript
Update 10/13/2006: Put in a flag to check when an image is being swapped so that the user clicks don't register until image has fully loaded. This fixed the fast-click / double-click issue (on both the thumbnails as well as the back/next links)
Also updated the mouse hover area for the thumbnail activation to be 25px from the top by default (used to be 50). This is ofcourse configurable. I will have full explanation on how to use the gallery soon.
Demo page has been updated. You may also grab a zipped up version of the whole project here: gallery.zip.
I'm been playing around with jQuery a lot lately. It's definitely not the holy grail of Javascript toolkits, but I like it. The community created plugins and the documentation are great.
Anyway, here is my second jQuery application/plugin. It's an image gallery with smooth transitions, thumbnails and pretty reflections. Of course, this is the first version (something like a beta) and definitely not ready for prime time. However, feel free to grab it and use it as you please. A link back would be appreciated.
Just so that I can display the gallery here, I've put it within an IFRAME. Visit the original page to view/grab the source.
note: the IFRAME is causing some weird effects on the mouseover on the image as the thumbnails are loading. This doesn't happen on the actual demo page.
September 26, 2006 at 5:46 pm · Filed under jQuery, Tutorials, Javascript
Update 10/17/2006: As requested, I've added two new arguments to the menu that will toggle the hide on page load (hideOnLoad) and also toggle the autohide (autoHide) when the mouse leaves the menu area. The 2nd argument is only useful when the triggerEvent is set to click or dblclick
Here is my first jQuery plugin. It is a very simple sliding menu using the effects provided by Interface (think Script.aculo.us for Prototype)
I really like jQuery. I also really like Prototype and Script.aculo.us. I've come to learn that each one has its strengths and weaknesses and you should decide which one to use based on your needs. I use them both, depending on the project at hand.
Here's an example of the menu in action (click menu label). This particular menu has the following options set: triggerEvent: 'click', hideOnLoad: false, autoHide: false
The defauly behavior of the menu is to hide after 1000ms (1 sec.) and to display when your mouse hovers over the "menu" label. The menu will also auto-hide after 1000ms when the mouse leaves the menu area. Most of these values, including the sliding effect, can be customized.
Visit this example page to view the source and see how to use the menu and customize it. I haven't provided alot of documentation on it, but the source code is pretty self explanatory.
source: rb_menu.js
August 23, 2006 at 12:02 pm · Filed under xHTML / CSS, Javascript
I was recently asked by a coworker if it's possible to create the left hand menu on the following page w/o using Flash.
My first impression and response was, "Oh hell yeah, you can definitely create that using javascript!"
Libraries such as Script.aculo.us, Yahoo UI and Moo.fx immediately came to mind. A few simple event handlers for mouseover and mouseout and simple animations would do the trick. well, nothing's ever simple.
I was able to get most of the funcationality of the Flash version of the menu, except for the part where the menu collapses when you move your mouse out of the menu region. For some reason, the onmouseout that I had attached to my DIV was being fired when the mouse pointer would go over a link within the DIV. I tried for many hours to avoid this, but finally gave up and put a "close" link on the bottom right corner of the menu to close it. I'm sure someone out there can fix this. I thought about using the mouse coordinates to detect whether the mouse pointer was outside the menu, but I really didn't feel like it
Anyway, here is the final example.
And here is the source zipped up (includes scriptaculous 1.6.2)
February 21, 2006 at 7:06 pm · Filed under Uncategorized
In a few days, I will be moving this domain to a new server. I will either be upgrading to WordPress 2.0.x or giving the Ruby on Rails powered Typo a shot. Haven't decided yet.
As long as we're moving things over, I think its time for a facelift on the site as well! Stay tuned.
Next entries »