Pinned sites in ie9 [beta]

30
Pinned Sites + Internet Explorer 9 Presenter Name Presenter Title

Transcript of Pinned sites in ie9 [beta]

Page 1: Pinned sites in ie9 [beta]

Pinned Sites + Internet Explorer 9

Presenter NamePresenter Title

Page 2: Pinned sites in ie9 [beta]

Agenda

The Web and Windows Theater vs. Play

Who’s Using It Today

Bringing it all Together

2

Page 3: Pinned sites in ie9 [beta]

The Web and Windows

Page 4: Pinned sites in ie9 [beta]

57% of time on a PC is spent in the web browser

Web Browsing is Core to the Windows

Experience

4

Page 5: Pinned sites in ie9 [beta]

Expectations are Rising for the WebThe capabilities of the web are increasing every day, but the way we experience the web isn’t keeping up.

5

Page 6: Pinned sites in ie9 [beta]

And What About all Those Apps?

Immersive

Fast

Focused

Clean

Consistent

How does the web become more app like?

6

Page 7: Pinned sites in ie9 [beta]

The Browser is the Theater, not the Play

7

Page 8: Pinned sites in ie9 [beta]

Native Web, through WindowsPutting the focus on your sites

Your sites shine

Seamless with Windows 7

Smarter address bar

Streamlined & quieted

8

Page 9: Pinned sites in ie9 [beta]

Pinned SitesPresenterPresenter Title

Demo

Page 10: Pinned sites in ie9 [beta]

Behind The Scenes: Pinned Sites

Creates an isolated instance of Internet Explorer

Generates an AppID for a specific URL

BHOs and other toolbars are not enabled

Share the same real estate as Windows applications10

Page 11: Pinned sites in ie9 [beta]

A Look At How Pinned Sites Are Being Used Today

Real World Pinned Sited

Page 12: Pinned sites in ie9 [beta]

Let’s Build It!

Page 13: Pinned sites in ie9 [beta]

13

Enhance your Pinned Site

Getting Started

Provide custom information

Add the site as a Pinned Site programmatically

Customize the icon

Define Jump List tasks

Add additional Jump List items in a custom list

Show thumbbar buttons

Notify users that interaction is needed

Modify the navigation button colors

Pinned Site mode requires no changes to your site

Page 14: Pinned sites in ie9 [beta]

Customize Your Pinned Site

14

Use meta elements to provide specific information

<meta name="application-name" content="Pinned Name" /><meta name="msapplication-tooltip" content="Start Site" /><meta name="msapplication-starturl" content="http://host/page.htm" /><meta name="msapplication-window" content="width=1024;height=768" /><meta name="msapplication-navbutton-color" content="#FF3300" />

Page 15: Pinned sites in ie9 [beta]

Programmatically Pinning Your Site

15

if (window.external.msIsSiteMode) { if (window.external.msIsSiteMode()) { // we are already in site mode } else { // Show HTML elements that will promote the // addition of a pin site to the Programs menu window.external.msAddSiteMode() }}

Page 16: Pinned sites in ie9 [beta]

Customizing The Icon

16

Uses existing, same markup to specify the icon to use

Uses the existing, standards based site favicon <link rel="shortcut icon" href="/favicon.ico" />

Best Practice: Icon file should contain

Recommended: 16x16, 32x32, 48x48 Optimal: 16x16, 24x24, 32x32, 64x64

Page 17: Pinned sites in ie9 [beta]

Pinned Site BasicsPresenterPresenter Title

Demo

Page 18: Pinned sites in ie9 [beta]

Adding Icon Overlays

18

Provide users with notifications or progress updates

window.external.msSiteModeSetIconOverlay( 'http://host/star.ico', 'Complete');

window.external.msSiteModeClearIconOverlay();

Page 19: Pinned sites in ie9 [beta]

Icon OverlaysPresenterPresenter Title

Demo

Page 20: Pinned sites in ie9 [beta]

Adding Jump List Tasks

20

Windows 7 integration

<meta name="msapplication-task" content="name=New Message; action-uri=http://host/NewMail.htm; icon-uri=http://host/mail.ico"/>

<meta name="msapplication-task" content="name=New Appointment; action-uri=http://host2/NewAppt.htm; icon-uri=http://host2/Appt.ico"/>

Page 21: Pinned sites in ie9 [beta]

Customizing Jump Lists

21

Adding a custom Jump List category

window.external.msSiteModeCreateJumplist('Notifications');

window.external. msSiteModeAddJumpListItem( 'Scrum (37 minutes overdue)', 'http://host/reminders.html', 'http://host/images/bell.ico');

window.external. msSiteModeShowJumpList();

Page 22: Pinned sites in ie9 [beta]

Adding Jump ListsPresenterPresenter Title

Demo

Page 23: Pinned sites in ie9 [beta]

Displaying Thumbnail Toolbar Buttons

23

var but1 = window.external.msSiteModeAddThumbBarButton( 'http://host/speaker.ico', 'Mute');

document.addEventListener( 'msthumbnailclick', handler, false);

window.external.msSiteModeShowThumbBar();

Page 24: Pinned sites in ie9 [beta]

Updating Thumbnail Toolbar Buttons

24

Changing the Button Properties window.external.msSiteModeUpdateThumbBarButton(

buttonID, Enabled, Visible)

Changing the Button Stylevar style1 = window.external.msSiteModeAddButtonStyle( buttonID, IconUrl, ToolTip)window.external.msSiteModeShowButtonStyle(buttonID, styleID);

Page 25: Pinned sites in ie9 [beta]

Adding Thumbnail Toolbar ButtonsPresenterPresenter Title

Demo

Page 26: Pinned sites in ie9 [beta]

Internet Explorer 9 Makes Your Web Look and Perform as if it Were Native to Windows

CleanPutting the focus on your sites

TrustedSecure, reliable, and private

InteroperableHTML5 & same markup

Full hardware acceleration of all graphics and text

New JavaScript engine

Clean web-centric UI

Seamless with Windows 7

New tab page experience

One Box

Quieter notifications

Download manager with SmartScreen protection

Hang resistance

Add-on performance protection

HTML 5 and modern web standards support

Leading with the W3C

Comprehensive standards tests

FastAll around fast using the power of your whole PC

26

Page 27: Pinned sites in ie9 [beta]

Unlock a More Beautiful Web

Get Started…http://msdn.com/ie

27

Page 28: Pinned sites in ie9 [beta]

Questions

Page 29: Pinned sites in ie9 [beta]

Resources

29

Internet Explorer Developer Center on MSDNhttp://msdn.com/ie

Windows User Experience Interaction Guidelineshttp://msdn.microsoft.com/en-us/library/aa511446.aspx

Channel 9 Taskbar related videoshttp://channel9.msdn.com/tags/Taskbar/ http://channel9.msdn.com/Search/?Term=taskbar

Icon Guidelineshttp://msdn.microsoft.com/en-us/library/aa511280.aspx

Page 30: Pinned sites in ie9 [beta]

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Internet Explorer and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after

the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.