The Fairway Technologies Blog

blog
July 9, 2018 | Paul D. Sheriff

Getting Started with PouchDB - Part 3

In the last two blog posts, you have been introduced to the PouchDB NoSQL database. You learned to create a new database, modify documents within that database, and retrieve documents using the allDocs(). Now that you have inserted several documents into your PouchDB database, you might wish to retrieve documents based on data in fields other than the _id property. In this third part of our on-going blog posts on PouchDB, you learn to use the find() plug-in to perform queries on any property in your documents.

April 30, 2018 | Paul D. Sheriff

Get a User's Location within a Web Application

Have you ever need to display your user's location on a map in your web application? HTML 5 adds a geolocation object to help make locating the current user's latitude and longitude quick and easy. Once you have this information, you can use a map API such as Google Maps or Microsoft's Bing Maps to display that latitude and longitude on a graphical map. This blog post explores how to use this new object to get a user's current position.

February 23, 2012 | Noah Heldman

The IE8 "hover" Bug: The Most Awesome IE Bug Ever?

Numbered Lists

When you want to create a numbered list in HTML, you probably use the <ol> and <li> tags.  These work well most of the time, and are pretty flexible when paired up with CSS.  You can have the numbers be decimals, alphabetic characters (lower or upper), roman numerals (lower or upper), and more, or you can hide them altogether.

But sometimes you can’t (or just don’t want to) use <li> tags to structure your markup, but you still want automatic numbering.  So CSS 2.1 came up with this swanky idea to allow automatic numbering on any element:  http://www.w3.org/TR/CSS2/generate.html.  It also allows decimal, alpha, roman, and other numbering formats, which is great.  And it’s officially supported in Firefox 4+, Google Chrome 10+, Safari 5+, and IE8+, which is also great-ish!

New Call-to-action
New Call-to-action