Mega Code Archive

 
Categories / ASP.Net Tutorial / HTML Controls
 

Use HtmlHead control to set the add page transition effects when viewed through Internet Explorer

<%@ 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>