Use HtmlHead control to set the add page transition effects when viewed through Internet Explorer. : Header « HTML Controls « ASP.NET Tutorial






<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <meta http-equiv="Page-Enter" content="progid:DXImageTransform.Microsoft.Fade(duration=.5)" />
    <meta http-equiv="Page-Exit" content="progid:DXImageTransform.Microsoft.Fade(duration=.5)" />
    <title>Transition Effects</title>
</head>
<body>
    <div id="pageContent">
        <form id="form1" runat="server">
            <h1>This is sample page with special transition effects</h1>
            <h2><a href="head.aspx">Visit another page and then come back here</a></h2>
        </form>
    </div>
</body>
</html>








4.6.Header
4.6.1.Use HtmlHead control to set the page title and meta tags.
4.6.2.Use HtmlHead control to set the add page transition effects when viewed through Internet Explorer.