Hackie Sack fail at work

January 15th, 2010

Two guys at work got a hackie sack stuck at the top of warehouse, and guess who had to get it down…

Hackie Sack fail from Jason Rogers on Vimeo.

2010 New Years Resolutions

January 13th, 2010

1. Live on my own again.
2. Learn Japanese, failure to learn from last resolution.
3. Six Pack. (not beer)
4. Read a book a month.
5. Keep my car clean.
6. Go rock climbing.
7. Be more candid at work. (Got that from episode 8 of The Random with Tim and Kevin)

Keeping it simple.

How to fix IE to see multiple input image button’s for PHP.

January 6th, 2010

IE never ceases to piss me off! I’ve been working on this shopping for one of my site, and I have several button’s within the same form, depending on which one you choose will send you to a different page. In my case an update button and checkout button. The problem is with IE, it doesnt recognize a button as a HTML input DOM. The traditional name and value gets translated into ?name=value, in IE it see’s it as a sorta of image map. When you click the image button all it sends are the coordinates on the button you clicked. As in action_update.x=10 action_update.y = 9. Because of that the standard $_REQUEST['action_update'] wont work. Here is the code I used to fix it so I can tell if someone clicked a certain button. Heres the code for the fix.

HTML:

1
2
3
4
5
6
<form>
     <input type="image" src="button_image.jpg" name="action_update"
          value="update" />
     <input type="image" src="button_image.jpg" name="action_checkout"
          value="checkout" />
</form>

PHP:

1
2
3
4
5
6
7
8
9
10
<?PHP
     if($_REQUEST['action_update']=='update'||
           isset($_REQUEST['action_update_x'])) {
               /* do something */
     }
     if($_REQUEST['action_checkout']=='update'||
          isset($_REQUEST['action_checkout_x'])) {
               /* do something */
     }
?>

Hope that helps

Jason Rogers

Which tea infuser to buy?

January 2nd, 2010

I’ve recently been experimenting with changing my lifestyle, and the biggie for me is drinking tea. I’ve been using the standard teapot making a bunch of different tea’s, however its time where I need a infuser. I found a video by kevin rose that helped me immensely. No infringement intended on posting it here, just want to get the info out there!

Tea Infusers from Kevin Rose on Vimeo.

Homesite on mac? is it possible?

December 31st, 2009

So this is one thing ive always wanted. As a web developer I code mostly everything by hand, and sorry to say but im to damn lazy to have several different programs to create a website. Well my wait is over. I found a program called Coda. Super awesome to use. Check it out!




Jason Rogers of the Neurotic Geeks is proudly powered by WordPress
Entries (RSS) and Comments (RSS).