0
I have a responsive template that repeats some components, which are at the top and the bottom. The problem that the components of the top do not click (buttons) when they are responsive, ie I decrease the screen of the browser simulating a mobile phone, and the same do not click. If I keep increasing the screen, they keep clicking. So I think if I migrate to bootstrap it would work, because it’s already responsive. How do I put the bootstrap there?
Html:
<!DOCTYPE html>
<html>
<head runat="server">
<noscript>
<meta http-equiv="Refresh" content="1;URL=../javaScript.aspx">
</noscript>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no" />
<title>mobile</title>
<link rel="stylesheet" type="text/css" href="../css/style.css" media="screen" />
<script src="../js/jquery-1.10.2.min.js" type="text/javascript"></script>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<div id="content_clean">
<div id="menu">
<div id="nav">
<ul>
<li class="list-nav"><a id="menu-home" href="../pages/Default.aspx"><i class="home-icon">
</i><b style="margin-left: 0.5em">Home</b></a> </li>
<li class="list-nav"><a id="menu-orcamento" href="../pages/listarOrcamentos.aspx"><i
class="orcamento-icon"></i><b style="margin-left: -0.6em">Orçamentos</b></a>
</li>
<li class="list-nav"><a id="menu-configuracoes" href="../pages/Configuracoes.aspx"><i
class="configuracoes-icon"></i><b style="margin-left: -1.3em">Configurações</b></a>
</li>
<li class="list-nav"><a id="menu-sair" href="../Logout.aspx"><i class="sair-icon"></i>
<b style="margin-left: 0.8em">Sair</b></a> </li>
</ul>
</div>
</div>
<form id="Form" runat="server">
<asp:ContentPlaceHolder ID="ContentPlaceHolder" runat="server">
</asp:ContentPlaceHolder>
</form>
</div>
<script type="text/javascript">
//Identifica qual a página aberta pela URL e destaca o menu correspondente
$(document).ready(function () {
var url = window.location.pathname;
var substr = url.split("/");
var urlaspx = substr[substr.length - 1];
if (urlaspx !== "") {
$("#nav ul li a").each(function () {
if (this.href.indexOf(urlaspx) >= 0)
$(this).addClass("selected");
});
} else {
$(this).find("#menu ul li a:first").addClass("selected");
}
});
</script>
</body>
</html>
What we need to see is the code inside the form
<form id="Form" runat="server">
So that agent can help you.– David Costa
I changed the title, and the context of the question
– War Lock
Right, but, what fields you want to put inside the form ?
– David Costa
What I want you to keep repeating is what I want to be bootstrap for now, in case the home menu, settings etc...
– War Lock
Okay, then I’ll see what I do
– David Costa
Thanks xd.....
– War Lock