New IE8 features Web Slices (web page news)
Microsoft released the official IE8 version on March 20. The new feature Web Slices (web page news) is something that interests me very much.
What is Web Slices?slice refers to a certain part, and Web slices is a certain part of the content on the web page. For example, if you care about the latest articles on ITFeed or the latest price of a product on taobao, but you don’t want to open the page to view it at all times, what should you do? Web Slices provides you with such convenience, and you can get updates to the parts of the page concerned in the favorites bar. Right-click to select Properties to set the update plan. When there is an update, it will notify you in bold mode, or refresh and view it manually.
How to make Web Slices?Web Slices adopts the Microformats method, just set 3 specific class tags for a certain (x)html code. Also, don't forget to add an ID to this content, otherwise it will be invalid.
The three class tags are hslice, entry-title, entry-content.
hslice setting content block
entry-title sets the displayed title
entry-content sets the content to be displayed
<div id=news class=hslice>
<h4 class=entry-title>ITFeed recently updated</h4>
<ul class=entry-content>
<li><a href=#>Another fast loan from foreigners</a></li>
<li><a href=#>The SNS Community Road to the Vertical Portal</a></li>
<li><a href=#>Learn to make the data() function in jQuery</a></li>
<li><a href=#>Voice of Taobao front-end developers</a></li>
<li><a href=#>Use jQuery to create a floating navigation. </a></li>
</ul>
</div>