This topic needs a title

I am going to start with the example first:

On the apple website: when you build a Mac Pro, you see the calculator and buy now icon to the right side.

Does anyone know what that is called?

I feel confident there is threads already on this, but I don’t know what its called.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I should say, I just want to know what the box that holds the fix position as you move down the screen is called.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The technique (adding elements to the page without a full page
refresh) is usually called Ajax (or DHTML, if you’re as old as me and
remember the first time it was invented).

What appears to happen: you click on a button somewhere on the page,
and a new element is added to the list of things in your cart.

What really happens behind the scenes: You click a button, which sends
a background request to the server. It updates your cart in its
database, then sends back a smidge of HTML wrapped in a JavaScript
object, and the browser updates part of the page without a reload.

The critical thing here is that server transaction. Without it, you
would see the update in your page, but the server (where the money is
going to change hands) wouldn’t know anything about it, and so the
total would be wrong when you checked out.

I made a little toy cart a few months ago to test this out, and it’s
available here to look at and see what the code looks like (view
source). It doesn’t actually talk to the server, it just reads a bunch
of fake products out of a text file, then assembles the one page
application, all in JavaScript.

http://scripty.walterdavisstudio.com/cart/

This is all one page, but when you click on the different letters, it
just shows and hides part of the page to mimic multiple tabs or pages.

Walter

On Jun 17, 2011, at 10:06 PM, Shane wrote:

I am going to start with the example first:

On the apple website: when you build a Mac Pro, you see the
calculator and buy now icon to the right side.

Does anyone know what that is called?

I feel confident there is threads already on this, but I don’t know
what its called.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Oh, that. I made an Action called Sticker that will do precisely that.
There was some discussion of it here last month. You can get the
Action at ActionsForge.

Walter

On Jun 17, 2011, at 10:14 PM, Shane wrote:

I should say, I just want to know what the box that holds the fix
position as you move down the screen is called.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

very cool. as long as I know the name of what it is called, I can get moving on it.

And you even made and action for it!!! That just save a ton of time.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

you’re actions slick. I like it.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options