User talk:Vengadesh15

Angular JS Page Split Code
<!DOCTYPE html> window split    Go to anchor  

angular.module('pageSplit', [])

.run(['$anchorScroll', function($anchorScroll) {                       $anchorScroll.yOffset = 50;

}])

.controller('headerCtrl', ['$anchorScroll', '$location', '$scope',

function ($anchorScroll, $location, $scope) { $scope.informations = []; for(i=0;i<10;i++){ $scope.informations.push(i); }

$scope.ScrollSplit = function(x) { var newHash = 'anchor' + x;

if ($location.hash !== newHash) { $location.hash('anchor' + x); } else { $anchorScroll; }                           };                        }                    ]);

body { padding-top: 50px; }           #split{ height:375px; width: 50%; border-style: outset; border-width: 1px; overflow: hidden;

}

#splitTwo{

height:375px; width: 50%; border-style: outset; border-width: 1px; overflow: hidden; margin: -377px 0 0px 50%; }

#splitThree{ height:375px; width: 50%; border-style: outset; border-width: 1px; overflow: hidden; }

#splitFour{ height:375px; width: 50%; border-style: outset; border-width: 1px; overflow: hidden; margin: -377px 0 0 50%; }           .anchor { margin:0 0 0 30px; height:580px; border: 2px; border-style: outset; padding: 30px 10px 200px 10px; }

.fixed-header { background-color: rgba(0, 0, 0, 0.2); height: 25px; margin-bottom: 70px; position: fixed; top: 0; left: 0; right: 0;

}

.fixed-header > a { display: inline-block; margin: 5px 55px; }