WebTools branding banner, with hammer and wrench tools in background

Internet Explorer 8 Resources

IE8 Resources

IE8 Features

Web Slice Icon Web Slices

Using Web Slices, you can keep up with frequently updated sites directly from the Favorites Bar. If a Web Slice is available on a page, a green Web Slices icon Web Slice Icon will appear in the upper-right hand corner of the browser. You can then subscribe and add them to the Favorites Bar or delete Web Slices that are no longer desired.

CA.gov's Web Slice

The CA.gov site implemented Web Slice feature on the home page for the "News" section. This allows you to keep tab on the news from your favorites bar. Here is how it works:

If a Web Slice is available on a page, a green Web Slices icon Web Slice Icon will appear in the upper-right hand corner of the browser.

Web Slice Toolbar

Hover your mouse over an item on a web page. If that item incorporates Web Slice functionality, the Web Slice icon will appear. Click on the icon to add this "slice" of the web to your Favorites Bar.

Web Slice California News Web Slice

Click "Add" to subscribe to the Web Slice content.

California News Web Slice Subscription

When you click on the Web Slice in the Favorites Bar, it previews relevant information. Clicking on the preview takes you directly to the site for more information. When new information becomes available, the Web Slice will become highlighted.

California News Web Slice Toolbar

In order to create a Web Slice, you must add three attributes to your Web site:

  • class="hslice" - This class declares the Web Slice. The tag must have an id value which is unique on that page.
  • class="entry-title" - This class defines the name of the Web Slice. This is the title that the Web Slice will have on the Favorites bar.
  • class="entry-content" - This class defines the content within the Web Slice.
Web Slice Source

Accelerator Icon Accelerators

Accelerators are IE 8 browser context menu options that can quickly access other applications or other pages within the same application from any web page. You can install existing accelerators from websites which advertise them or define and install your own. Below explains how to install an accelerator using both methods.

Right click anywhere on a web page in your IE 8 browser and select:

  • More Accelerators
  • Find More Accelerators from the displayed menu.
More Accelerators

This will lead you to an advertiser web page with various accelerators and a link to additional accelerators. Locate the accelerator of your choice and select its Install Accelerator link. The Add Accelerator Provider dialog box appears; click on the Add Provider button.

Add Accelerators

Confirm your successful install by clicking the OK button.

Confirm Accelerator

Define and install your own Accelerator

Create a .xml file and add to a xml folder at the site’s root level, for example "htdocs/".

XML Directory

Listed below is a sample of the .xml file created for an accelerator that calls the Department of Technology Services (DTS) Event Calendar. The highlighted text denotes the values you need to modify for your accelerator. An explanation of these tags may be viewed at http://msdn.microsoft.com/en-us/library/cc289767(VS.85).aspx.You may also download this source code.

xml source code

Once you have created and saved your .xml file to an accessible location, you need to give your site users a way to install the accelerator on their machine. You can add the following code to any HTML tag that has an onclick event (e.g. img, anchor, button, etc.).

  • onclick="Window.external.AddService(URL)"

URL is the location where you placed your custom .xml file.

See below for an example of the code attached to an img tag. You may also download this source code.

img tag source code

To add this custom accelerator, left click on the image. The Add Accelerator Provider dialog box will be displayed for you to confirm the action. To confirm, click the Add Provider button.

Custom Accelerator

A confirmation dialog box will appear. Click the OK button to complete the accelerator addition.

Custom Accelerator Confirmation

To verify that your new accelerator exists; highlight any piece of text on your page. You should see the Accelerator logo Accelerator Icon near the highlighted text. Click on More Accelerators and the custom accelerator that was recently added, "Check DTS Calendar", should be listed.

Check DTS Calendar Accelerator

To use the accelerator, highlight some text and click the blue accelerator icon. In this example using the DTS Calendar accelerator, highlight a date, click the blue icon for more accelerators.

DTS Upcoming Meetings

Select "Check DTS Calendar."

Check DTS Calendar

The accelerator returns a search of the date in the DTS Event Calendar.

DTS Calendar

Additional Resources

Examples