Windows News and info 15th Anniversary 2009-2024

Social Media - Search Engines - Browsers => Browsers: Google Chrome | Opera | Safari | Firefox => Topic started by: javajolt on October 26, 2010, 10:02:48 PM

Title: Pinned Sites: Windows 7 Desktop Integration with Internet Explorer 9 - 3 of 10
Post by: javajolt on October 26, 2010, 10:02:48 PM
continued from part 2 (http://www.windows7newsinfo.com/smf/index.php/topic,13097.0.html)

(http://i56.tinypic.com/rutx14.jpg)

Defining Jump List Tasks

Jump List tasks are application-specific actions that are tailored to a website. By using Jump List tasks, your website can surface the most frequently used commands to users. You should define the Jump List tasks based on both the website's features and the key actions a user is expected to undertake with them. The tasks provide a set of static URIs that users can access at any time, even if the browser instance is not running. Furthermore, these tasks provide a mechanism for your website to promote their most common destinations to users even when the user is not visiting your site. For instance, a web-based communication application could surface commands enabling users to quickly access their contacts, inbox, and profile information.

(http://i55.tinypic.com/2m50xmc.jpg)
Figure 7: Jump List tasks associated with a communication site

All Jump List tasks are directly accessed by using a static URL path that is stored inside the .website file. Tasks are not expected to change frequently; however, they can be updated by modifying the meta elements on the webpage. Changes take effect the next time the user launches the pinned site, rather than when they are initially loaded by the browser.

You define Jump List tasks by using HTML meta tags. When accessing a pinned website, Windows caches and applies these tags during installation. URLs defined in tasks are not restricted to a domain. The following code example defines two Jump List tasks on a webpage: Task 1 and Task 2. When the user clicks Task 1, the pinned site window launches Page1.html. Similarly, when the user clicks Task 2, the pinned site window launches Page2.html on the microsoft.com domain.

<META name="msapplication-task" content="name=Task 1;action-uri=http://host/Page1.html;icon-uri=http://host/icon1.ico"/>
<META name="msapplication-task" content="name=Task 2;action-uri=http://microsoft.com/Page2.html;icon-uri=http://host/icon2.ico"/>


The pinned site window opens all tasks inside their own tab in the current pinned site window. If no browser instance exists, a new one is created. A website can define a maximum number of five tasks. Relative URLs on the action-uri field are resolved during install by using the URI of the page that contains the meta information.

Meta elements representing tasks can be updated by sites at any time. Changes to the Jump List tasks will be reflected the next time the site is launched.

source:msdn.microsoft.com
continue to part 4 (http://www.windows7newsinfo.com/smf/index.php/topic,13095.0.html)