Using BrowserPlus™ is simpler than you might think. We've created some samples to demonstrate how simple. If BrowserPlus is installed, you'll be also be able to run the samples on this page.
1 IntroductionCheck for and initialize BrowserPlus. |
2 Detecting BrowserPlusHow to detect if BrowserPlus is installed. |
3 Using ServicesHow to specify in your webpage what BrowserPlus services you require. |
4 Errors & Return ValuesHow results are asynchronously returned. |
5 Drag and DropHooking up a drop target in a webpage. |
6 Accessing FilesPreviewing and getting contents of files that users select. |
7 Uploading Modified ImagesA demo showing how to use ImageAlter and Upload in a chain to upload images altered on the client. |
8 File ZipperA demo showing how to use Zipper and Upload in a chain to compress all files into one *.zip file before uploading. |
9 All About UploadingA demonstration of the various features of the uploader service. |
10 Image TwiddlerA complete web application that demonstrates client side image manipulation, tying together the concepts thus far. |
11 Publish SubscribeShows how two different browser windows (even from different browsers) can send messages back and forth. |
This is the simplest possible BrowserPlus website. The script tag on line 05 includes the BrowserPlus javascript library which populates the BrowserPlus namespace with a number of functions.
Once this small (and standalone) library is loaded, we can initialize the BrowserPlus plugin, and invoke a built-in function: BrowserPlus.getPlatformInfo(). This function returns the current installed version of the BrowserPlus platform.
Now that you see using BrowserPlus basically involves just the inclusion of a JavaScript library which exposes an API, what happens if BrowserPlus isn't installed? , let's move on to Detecting BrowserPlus...
Copyright © 2009 Yahoo! Inc. All rights reserved.