Archive for the ‘Web’ Category

Dec08

Tab stops on selects and checkboxes on a Mac

By default when you’re tabbing through a form a Mac won’t stop on selects or checkboxes. To fix this open system preferences, and go to the keyboard section under hardware. Click “Keyboard Shortcuts” on the top. On the bottom of that page there is an option for “Full Keyboard Access”. Set it to all controls.

Oct16

Adding custom tabs to your facebook fan page

I recently had to do some work on a client’s facebook page. They wanted tabs created on their facebook fan page to hold some custom content. Here’s how to do it…

  1. Log in to the account that has admin rights to the fan page and do a facebook search for “fbml”
  2. Click “Add to page” on the top left
  3. In the box that pops up select the fan page you want it added to.
  4. On your fan page, hit “edit page”, located under your photo.
  5. Click the pencil next to the fbml application and choose “edit”
  6. Add your content (you can use normal html) and click “save changes”
  7. To add it as a tab, go back to the “edit page” screen and click the pencil next to your fbml application. Click “applications settings”, and finally “add” next to the tab option
May18

Change Firefox’s default search engine

I recently installed yahoo messenger, and in doing so the damn thing set yahoo as the default search engine for firefox. I will have none of that.

Here’s how to change it back to google:

  1. Go to about:config
  2. Search for keyword.URL
  3. Change the value to http://www.google.com/search?q=
May13

Get the lat long from google maps

Quick way to get the lat long of the center of google maps

Add this as a bookmark

javascript:void(prompt('(lat,lng)', window.gApplication.getMap().getCenter()));

If you are using firefox, and you better be, go to the properties of the bookmark and give it a keyword. I gave mine m

When you have the map location centered:

  1. press f6 to highlight the url
  2. type in your keyword and hit enter
  3. CTRL C to copy
  4. Escape to close the prompt

Thanks to The Distant Librarian for his improved javascript that made copying the lat/lng easier.