Waplocus
Graham Thanks Graham I'm Gr8ful.
Waplocus
Waplocus Please How can we hide our source from online source code viewer.
Graham
Waplocus You cannot hide it
the browser has to be able to see the code to render the page
even blocking right click is pointless as ctrl u will still show it
Waplocus
Graham Shld I Remove The <meta name="robots" content="index, follow"> From All my Pages Before I Paste The Following?..<!--parser:xtscript--> get __xt_content_page var $domain=<xt:url type="domain" /> if $__xt_content_page >1 or $domain==sitename.com print <meta name="robots" content="noindex, nofollow"> else print <meta name="robots" content="index, follow" /> endif <!--/parser:xtscript-->
Graham
Waplocus yes you should remove it
Waplocus
Graham I have designed a website and i am wanting the header and footer to stay on the page and not refresh when a page navigation link is selected on the navigation bar i just want the content to refresh. I have header which contains the header or and footer which contains the footer... Plz hw shld i go about it using html, css nd js. thanks
Waplocus
Graham Just Reload Page Content Not Header Or Footer
Graham
Waplocus There are many ways to do it
this is just a very simple solution
http://auldphart.yn.lt/000ls
<script>
function first(){
document.getElementById('main').innerHTML='<b>The first page</b>';
}
function second(){
document.getElementById('main').innerHTML='<b>The second page</b>';
}
function third(){
document.getElementById('main').innerHTML='<b>The third page</b>';
}
</script>
<div class="top_nav"><button onclick="first()"> first </button> <button onclick="second()"> second </button> <button onclick="third()"> third </button></div>
<div id="main"><b>Main page</b></div>
<div class="bottom_nav">This does not change</div>
Copy code
When you click a button the contents of 'main' are replaced by the function result