IE9 Site Pinning
Join the DZone community and get the full member experience.Join For Free
one of the new features that will come with ie9 is the pinned sites ability. in this post i’m going to explain what is site pinning and show an example for how to do this stuff. if you want to read about this new feature in hebrew you can read my newsgeek article .
beta was released last week with a lot of browser improvements and features. one of the new features it includes is
. in this feature we can drag a tab from the browser and pin it to the windows taskbar.
i’ve build a simple site to demonstrate how to do that:
this is the template that you get when you create a new web application in vs2010.
pay attention that the favicon of the pinned site is located left to the back button of the browser. also the buttons are colored in brown to resemble the icon itself. this is part of the feature and you can change the colors if you like.
how to enable site pinning?
this is the easy part.
you don’t have to anything.
if you have windows 7 then install ie9 and you can start pinning. it is very recommended to add some meta tags like application-name to the site in order to add some information about your site. here is an example of how to add the tags to a master page head element:
<head> <title>my application</title> <link href="~/styles/site.css" rel="stylesheet" type="text/css" /> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> <meta name="application-name" content="my application" /> <meta name="msapplication-tooltip" content="my application" /> <meta name="msapplication-starturl" content="./" /> </head>
the ability to pin sites to the taskbar is a very nice feature of ie9 . it shows that there is a shift in microsoft direction in regard to the web and web operations systems. think about it, when you pin sites you are pinning web applications/sites as you do with desktop applications. in a following post i’ll explain how to create jump lists for the pinned site .
Published at DZone with permission of Gil Fink, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.