Looking at this page may notice that there are links like Home, Services, Work, About and Blog. When you click on Services it changes the page using a slider effect, as if the page is being changed from right to left, and so on the other links.
I wanted to put this effect on my webpage, since I do not know the name of the feature, I think it can be done in Jquery or CSS.
I just need to know the name of this feature to be able to implement on my pages.
/////////////////////////////////// update
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<h:outputStylesheet library="css" name="bootstrap-theme.css" />
<h:outputStylesheet library="css" name="bootstrap.css" />
<h:outputStylesheet library="css" name="sistema.css" />
<link rel="stylesheet" type="text/css"
href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"/>
<h:outputScript library="js" name="jquery-2.1.4.min.js" />
<h:outputScript library="js" name="jquery-ui.js" />
<h:outputScript library="js" name="bootstrap.js" />
</h:head>
<script type="text/javascript">
//<![CDATA[
$(window).load(function() {
function transitionPage() {
// Hide to left / show from left
$("#home").toggle("slide", {
direction : "left"
}, 500);
// Show from right / hide to right
$("#servico").toggle("slide", {
direction : "right"
}, 500);
}
$(document).ready(function() {
$('#home').click(transitionPage);
$('#servico').click(transitionPage);
});
});//]]>
</script>
<h:body>
<div id="part2">
<div id="home">
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
</div>
<div id="servico">
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
</div>
</div>
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script><!--LatestcompiledandminifiedJavaScript--><scriptsrc="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</h:body>
</html>
And even though it did not catch on!