Feb 6th, 2014 by admin | 8 Comments »
It’s been a while since the popular PHP pagination class has received any of my attention, so a few months ago I set out to re-write the class to be more up to date. This version takes advantage of both code and security updates as well as updates to PHP and MySQL. I’m also planning on moving the code over to GitHub where it should be easier to manage.
Here is the new and improved PHP pagination class for your enjoyment:
See the example files for how to use. I’ll create step-by-step instructions shortly.
Note that the demo uses MySQL’s free “world” database available at http://dev.mysql.com/doc/index-other.html
- Example 1 (basic paginated database result set)
- Example 2 (Form variables passed via pagination class)
Feb 5th, 2014 by admin | 3 Comments »
Nbcnews.com (formerly msnbc.com) has a history of terrible design choices. One of the worst, which I wrote about back in 2010, involved some ridiculous header that remained invisible when the site loaded unless you chose to scroll the page up. While I had no doubt that they would continue their tradition of making bad design choices, I was shocked to see their newest debacle.
Unfortunately I don’t have any images of the old layout to show you, but here’s a quick capture of their new layout as compared to the old:
Seems like whoever is in charge over there is really excited about mobile devices since it’s painfully obvious that the site has been designed to target smaller screens. In fact, it appears as if Nbcnews.com has totally forsaken desktops. Now, they have some Frankenstein hybrid of their old site mashed up with Pinterest. Hope you like images with your news because the site is loaded with them. Loads and loads of large images (which we all know mobile devices love to load quickly because they’re lightweight and don’t eat up data charges). And good luck trying to find anything easily. Categories seem to be randomly ordered, and the search page looks like a typical 404 page not found page, except that it’s not — it’s really their search, just optimized for mobile devices (hooray!).
I’d be curious to know if Nbcnews did any research or used focus groups to hone their new site, or whether this was all created without feedback. Don’t get me wrong though, I’m all for a decent mobile-friendly website, but don’t ignore desktop users in the process of building one.
Nov 21st, 2013 by admin | No Comments »
Nov 13th, 2013 by admin | No Comments »
Seriously? Hey Cisco, it’s 2013 right? Not 1813 where carrier pigeons and the pony express are the preferred means of communication. You are one of the world’s biggest technology companies, yet you’re telling me that the simple task of unsubscribing from one of your spammy newsletters takes 10 days?!?! 10 DAYS! Are you serious? This basic task should take femtoseconds using today’s technology. What exactly are you doing in those 10 days that it takes so long to kill my name from your list?
Update: Add Warner Brothers to the list of companies that must print out a list of people that unsubscribe and ship it around the globe to some lowly intern that must manually input email addresses to remove.
Oct 16th, 2013 by admin | 5 Comments »
Sometime last year I came across an image carousel on an Italian website done in Flash that allowed you to scroll a set of images horizontally with the flick of your mouse. What I loved about it was how natural and intuitive it felt. The gallery of images was infinite, meaning that the same X number of images would repeat no matter how often you scrolled it. The obvious downsides were that it was done in Flash and not mobile friendly.
I’ve been working on and off since then to replicate the effect, as well as improve upon it. I finally have a non-Flash solution that uses jQuery to achieve the effect both on desktops and mobile devices that doesn’t require any other libraries and is super slim. I love the infinite scrolling effect in use here which relies on an optical illusion of sorts.
I’m posting the first examples here and would like your feedback to see if I should turn this into a jQuery plugin. I’m also open to some suggestions in terms of a name. I like the “flick” part, but struggle with calling this a carousel, gallery,scroller, or something else.
A caveat: The only downside I’ve discovered so far lies in mobile Safari. I have seen the scroller start off and work fine in this browser, yet cease to respond after a few flicks. Unfortunately I seem to have no way to debug mobile Safari, so if anyone can shed light onto the issue I’d be happy to update the code.