We blogged the Oscars live at the Independent Film Weblog... how do you think Chris Rock did?

JavaScripte

An innovative JavaScript shopping cart

I’ve never been a Mac person (until my iBook arrives later today) but I have nonetheless heard about Panic Inc. from time to time. They make a popular Mac FTP client, Transmit, and I read their entertaining Story of Audion a while ago.

More recently, Simon linked to their new T-shirt store, which makes nice use of JavaScript for an innovative interface. You drag a shirt to the shopping cart at the bottom of the screen, and thumbnails of shirts accumulate along with a live total. As Simon points out, it isn’t accessible to those without JavaScript—in fact, when I tried it with JavaScript turned off, it was very frustrating.

It would be very easy to add a fallback option for those without JavaScript—just make the “add to cart” buttons real links. Meanwhile, it’s still the easiest purchasing experience I’ve ever seen and would be perfect for small merchants whose catalogs can appear on one page.

There’s also another drag-and-drop trick on their home page: drag an application’s icon to the top to download it. This is more of a novelty than anything else, but it does look neat (and you can download with JavaScript turned off too.)

 

Permalink | Email this | Comments [2]


Recent Entries

 » Ajax: You’re soaking in it (2/28/2005)
 » Stuart Langridge joins Sitepoint (2/28/2005)
 » Yet more on Google Maps (2/28/2005)
 » Housekeeping: Back from vacation (2/28/2005)
 » IE7 vs. IE 7 (2/16/2005)


(Add your comments)

Reader Comments

1. Posted Feb 3, 2005, 4:55 PM ET by Cabel

Thanks so much for the kind words, and for checking out the cart!

As for the non-JS issue, it's slightly trickier it may seem. :) Fortunately, I've yet to get any e-mails from people not running JavaScript, which I must say maintains my faith in humanity.

So, the entire shopping cart is managed via JavaScript -- this isn't a server-side cart, it's all stored on the client end via cookies, and there's no communication to the server when "Add To Cart" is triggered. Now, obviously this can have some scalability issues down the road, what with cookie length limits and all. I'm guessing that at some point I'm going to have to switch to a server-side cart (maybe using XMLHttpRequest to send cart changes?), at which point I could most definitely provide non-JS "Add To Cart" links...

Anyway, I'm certainly thinking about it, and hope to provide a better non-JS solution in the future. Unless I don't get any e-mails about it, in which case, I'm off to Jamaica.

If you have any more thoughts, feel free to send them my way!

2. Posted Feb 12, 2005, 7:02 AM ET by Kae Verens

That's fantastic! I love the semi-transparent effect on the dragging. I don't have IE on this machine, so don't know how it looks there, but it's great in Firefox on Linux.

I'm actually working on an XMLHTTPRequest-based cart at the moment. It's interface is no-where near that fancy, though (sample shopping cart).

Feel free to grab the code.

Add your comments

Please keep your comments relevant to this blog entry: inappropriate or purely promotional comments may be removed. Email addresses are never displayed, but they are required to confirm your comments. To create a live link, simply type the URL (including http://) or email address and we will make it a live link for you. You can put up to 3 URLs in your comments. Line breaks and paragraphs are automatically converted — no need to use <p> or <br> tags.







Do you want us to remember your personal information for next time?
   


   

Advertisement 

SPONSORED TEXT LINKS

Get your own text link here.

RECENT COMMENTS


MOST COMMENTED ON
(past 60 days)


WEBLOGS, INC. NETWORK

Consumer
AdJab
Autoblog
Blogging Baby
Engadget
Gadling
hack a day
Joystiq
Luxist
pPlayer (poker)
TUAW (Apple)
Technology
Apple (Unofficial)
CSS
Digital Photography
Flash Insider
Google (Unofficial)
Grid Computing
JavaScript
Microsoft (Unofficial)
Office
Open Source
Peer-to-Peer
Photoshop (Unofficial)
RSS
SAS (Unofficial)
Search Engine Marketing
Social Software
Spam
Tablet PCs
VoIP
Yahoo (Unofficial)
Wireless
BBHub (BlackBerry)
Bluetooth
Engadget: Cellphones
Engadget: GPS
RFID
Ultra Wideband
WiFi
The WiMAX Weblog
Engadget: Wireless
Wireless Dev
Wireless
Video Games
Blogging E3
Engadget: Gaming
Joystiq
Playstation 3
Video Games
Xbox 2
Media & Entertainment
Design
Digital Music
Documentary Film
Droxy (Digital Radio)
Independent Film
Magazine Design
Nanopublishing
Business
The Mortgages Weblog
Outsourcing
SCM Wire (supply chain)
Life Sciences
The Cancer Blog
The Diabetes Blog
Medical Informatics
Telemedicine
Personal
Brian Alvey
Jason Calacanis
Blog Maverick
Gordon Gould
Judith Meskill
Events
Blogging DEMO
Blogging E3
Blogging ETech
Future of Music
Blogging Milken
Blogging Sundance
Blogging Web 2.0
Other
Weblogs, Inc.


The JavaScripte Blog is part of the Weblogs, Inc. Network — a network of more than 70 blogs.
Here are some recent headlines from our other blogs:

Autoblog
Mass transit sometimes a pleasant alternative to driving
BMW X6 may be in the works
Bill Ford Jr. can do no wrong
Mazda MX-5 weighs in
Blinking brake lights next safety step?

Luxist (fine living)
Alice Mirror
Michel Perchin
Will Castro’s Attitude Hurt Cuban Cigars?
Trouble in Mel Gibson’s Island Paradise?
The Evian Experience at Hotel Victor

hack a day
xbox landing lights mod
rfid dartmail
homebrew mac mini dock
hackaday links
hacking a car boot
Joystiq (video games)
Tablet PC turned portable gaming device - The Rogue
DoA’s Itagaki disses Tekken 5
Student Writes Essay on His CoH Experience, Gets Into College
Gamasutra open for business
The Sims readies for the Nightlife, but when?
Blogging Baby
RC2 Corp. recalls bottle warmers
Is it time for a MomTini?
New reality TV hit: The un-Vasectomy!
We don’t need no stinkin’ studies
Update: eBay birth auction nets $5,600 from Golden Palace
Gadling (travel)
Genealogy Trips - A Family Affair
Early Black Explorers
Poof! Be Gone!
Mammoth Snow Shoeing
Avalanche Captured in Photos
Peer-to-Peer
Creative Commons releases license breakdowns
Ex-Loki Users Have Little to Fear
A DNS system for file on P2P networks
Earthstation 5 signs off the P2P airwaves
UK downloaders avid for US TV content
Wireless
ZigBee-Based Meter Reading System Could Save Utilities Big Money
A Call For An End to the UWB Standards Battle
SONbuddy Helps You and Your Pals Setup Your Own Wireless Network
Using Wireless Networking in the Winemaking Process
Mergers Defining the Wireless Telecom Industry
Indie Film
Memeroll: A Scanner Darkly Trailer
Post-Oscars Party Talk
Brooooooooooooklyn!!! (or, How did Chris Rock do?!?)
And Best Picture Goes To …
Winner Best Director
Flash Insider
Great RIA
Safety Site
Killer Sirius Player for Eminem
Shockwave Flash
This is Macy’s?
TUAW (Apple)
Freeware February: Recapping the Month that Was
AAPL or IPOD?
iPod DJing hits the States; what’s in an iPod name?
Freeware February: Markdown
HOW-TO: Install a Bluetooth Module in a PowerMac G5

Engadget
The Rogue gaming tablet PC
Major labels want you to pay more for legit music downloads
CoolP3: portable audio for preschoolers
A next-gen Game Boy by Xmas?
Flower Robotics Inc.’s Palette robo-mannequin

If you want to advertise on the largest blog network in the world,
email Shawn Gold or call him at 310-828-8284.