javascript - making my aspx (developed with html5 codes) as my master page for my web application -


i have done aspx file filled gui, image button , image slide shows. developed these 3 functions using html5, css , javascript. however, html5 completed in aspx file format in visual studio 2012. attempted create new master page in order make gui standardized other web form. copied codes of aspx file(filled html5 codes) master page , error got.

ps : i'm doing web application using visual studio 2012 html5, css , javascript

link : http://imgur.com/yfx6nau

html5 codes ( in aspx file format )

<%@ master language="c#" autoeventwireup="true" codebehind="gui.master.cs" inherits="mp.gui" %>  <!doctype html>  <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>police website</title> <asp:contentplaceholder id="head" runat="server"> </asp:contentplaceholder>  <script type="text/javascript"> <!--> var image1 = new image() image1.src = "image/s1.jpg" var image2 = new image() image2.src = "image/s2.jpg" var image3 = new image() image3.src = "image/s3.jpg" var image4 = new image() image4.src = "image/s4.jpg" var image5 = new image() image5.src = "image/s5.jpg" //--> </script> <meta http-equiv="content-type" content="text/html; charset=utf-8"/>   <link rel="stylesheet" href="css/style.css" type="text/css" />  <!--[if lt ie 8]>     <script src ="http://ie7-js.googlecode.com/svn/version/2.1    (beta2)/ie8.js"></script> <![endif]-->      </head> <body> <form id="form1" runat="server"> <div>     <asp:contentplaceholder id="contentplaceholder1" runat="server">      </asp:contentplaceholder> </div>      <ul id="slideshow"> <img src="image/s1.jpg" name="slide" width="1215px" height="250px"> <script type="text/javascript"> <!-- var step = 1 function slideit() {     document.images.slide.src = eval("image" + step + ".src")     if (step < 5)         step++     else         step = 1     settimeout("slideit()", 2500) } slideit() //--> </script> </ul>  <%-- <input type="image" id="header" style="height:250px;width:1148px;" src="image/header.jpg" /> --%> <input type="image" id="myimage" style="height:53px;width:200px;" src="image/logo.jpg" />  <ul id="nav"> <li><a href="#">home</a></li> <li><a href="#">login</a></li> <li><a href="#">report</a></li> <li><a href="#">recent cases</a></li>    <li><a href="#">about</a></li>       </ul>  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"     type="text/javascript" charset="utf-8"></script>     <script src="http://jquery-ui.googlecode.com/svn/tags/latest/ui/jquery.effects.core.js" type="text/javascript"></script> <script type="text/javascript" src="js/scripts.js"></script>  </form> </body> </html> 

set start page of website/web application. error not related master page concept. use above master page on page. should work.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -