Proof of concept 'stacking' responsive menu

I read a lengthy thread/discussion on Google+ the other day about the state of the web applications, specifically in relation to native apps on mobile devices. I had always taken it as a given that the open web would prevail over proprietary and device-specific technologies, and that it was just a matter of time before the web catches up, but this article kind of worried me, with plenty of well-respected members of the web community voicing concern of the lack of urgency in implementing features to bring the web on a par with native applications, and that in fact it may never catch up.

That made me sad. So, basically, I wanted to see how easy it would be to recreate a native app interaction - specifically the 'browser tab' menu from Chrome for iOS. I like the Chrome app, it has a slick interface with nice transitions and makes the most of a gesture-based OS. Anyway, it was much easier to recreate the stacking windows effect than I thought it would be, proof that we need to start seeing this kind of thing in web-based apps/sites, because INTERNET.

Resize your window, or even better load this page in a responsive tester like this one, or even better try it on a real phone, and see the 'stacking effect' of page sections. Only had a chance to test on iPhone 4S & 3GS but seems to be holding up okay.

Read the full blog post here.

Rebel Mission to Ord Mantell

Ye-ha! I'm trying not to, kid. I'm trying not to, kid. I want to come with you to Alderaan. There's nothing for me here now. I want to learn the ways of the Force and be a Jedi, like my father before me. Don't act so surprised, Your Highness. You weren't on any mercy mission this time. Several transmissions were beamed to this ship by Rebel spies. I want to know what happened to the plans they sent you.

The Empire Strikes Back

In my experience, there is no such thing as luck. Hey, Luke! May the Force be with you. Kid, I've flown from one side of this galaxy to the other. I've seen a lot of strange stuff, but I've never seen anything to make me believe there's one all-powerful Force controlling everything. There's no mystical energy field that controls my destiny. It's all a lot of simple tricks and nonsense. Oh God, my uncle. How am I ever gonna explain this?

The Republic

All right. Well, take care of yourself, Han. I guess that's what you're best at, ain't it? Don't be too proud of this technological terror you've constructed. The ability to destroy a planet is insignificant next to the power of the Force. He is here. You don't believe in the Force, do you? As you wish. You don't believe in the Force, do you?

The Rebel Force

You're all clear, kid. Let's blow this thing and go home! Remember, a Jedi can feel the Force flowing through him. Your eyes can deceive you. Don't trust them. I don't know what you're talking about. I am a member of the Imperial Senate on a diplomatic mission to Alderaan--

Knights of the Old Republic

As you wish. Look, I ain't in this for your revolution, and I'm not in it for you, Princess. I expect to be well paid. I'm in it for the money. What!? What!? Kid, I've flown from one side of this galaxy to the other. I've seen a lot of strange stuff, but I've never seen anything to make me believe there's one all-powerful Force controlling everything. There's no mystical energy field that controls my destiny. It's all a lot of simple tricks and nonsense. You mean it controls your actions?

The Battle for Endor

Don't underestimate the Force. In my experience, there is no such thing as luck. You don't believe in the Force, do you? Your eyes can deceive you. Don't trust them. What?!

The Sith Lords

Your eyes can deceive you. Don't trust them. Hey, Luke! May the Force be with you. All right. Well, take care of yourself, Han. I guess that's what you're best at, ain't it?

The Sith Lords

The Force is strong with this one. I have you now. I call it luck. Don't underestimate the Force.

Jedi Academy

Don't act so surprised, Your Highness. You weren't on any mercy mission this time. Several transmissions were beamed to this ship by Rebel spies. I want to know what happened to the plans they sent you. Ye-ha! In my experience, there is no such thing as luck. The Force is strong with this one. I have you now. Oh God, my uncle. How am I ever gonna explain this? The plans you refer to will soon be back in our hands.

The Rebel Force

I'm trying not to, kid. All right. Well, take care of yourself, Han. I guess that's what you're best at, ain't it? In my experience, there is no such thing as luck. In my experience, there is no such thing as luck. Don't act so surprised, Your Highness. You weren't on any mercy mission this time. Several transmissions were beamed to this ship by Rebel spies. I want to know what happened to the plans they sent you.

A New Hope

I call it luck. All right. Well, take care of yourself, Han. I guess that's what you're best at, ain't it? Hey, Luke! May the Force be with you. Obi-Wan is here. The Force is with him. Don't be too proud of this technological terror you've constructed. The ability to destroy a planet is insignificant next to the power of the Force.

Rebel Mission to Ord Mantell

Don't underestimate the Force. He is here. The Force is strong with this one. I have you now. What?! What?!

The Battle for Endor

Partially, but it also obeys your commands. All right. Well, take care of yourself, Han. I guess that's what you're best at, ain't it? I want to come with you to Alderaan. There's nothing for me here now. I want to learn the ways of the Force and be a Jedi, like my father before me. I can't get involved! I've got work to do! It's not that I like the Empire, I hate it, but there's nothing I can do about it right now. It's such a long way from here. He is here.

The Force Unleashed

I suggest you try it again, Luke. This time, let go your conscious self and act on instinct. I call it luck. Don't underestimate the Force.

The Rebel Force

All right. Well, take care of yourself, Han. I guess that's what you're best at, ain't it? A tremor in the Force. The last time I felt it was in the presence of my old master. What good is a reward if you ain't around to use it? Besides, attacking that battle station ain't my idea of courage. It's more like…suicide. I want to come with you to Alderaan. There's nothing for me here now. I want to learn the ways of the Force and be a Jedi, like my father before me. I don't know what you're talking about. I am a member of the Imperial Senate on a diplomatic mission to Alderaan--

Revenge of the Sith

She must have hidden the plans in the escape pod. Send a detachment down to retrieve them, and see to it personally, Commander. There'll be no one to stop us this time! Don't be too proud of this technological terror you've constructed. The ability to destroy a planet is insignificant next to the power of the Force. What?! Don't act so surprised, Your Highness. You weren't on any mercy mission this time. Several transmissions were beamed to this ship by Rebel spies. I want to know what happened to the plans they sent you. Don't be too proud of this technological terror you've constructed. The ability to destroy a planet is insignificant next to the power of the Force. Your eyes can deceive you. Don't trust them.

Fork me on GitHub