Cleaning up CSS

This commit is contained in:
mathias 2015-02-16 18:47:49 +02:00
parent fffd27e2ef
commit 08a53cdc9a
8 changed files with 0 additions and 389 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

View file

@ -1,255 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- generated at drububu.com -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" preserveAspectRatio="xMinYMin meet" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16px" height="16px" viewBox="0 0 16 16">
<path d="M0 0h1v1h-1z" fill="rgb(116,180,74)"/>
<path d="M1 0h1v1h-1z" fill="rgb(118,182,76)"/>
<path d="M2 0h1v1h-1z" fill="rgb(115,179,73)"/>
<path d="M3 0h2v1h-2z" fill="rgb(102,166,60)"/>
<path d="M5 0h1v1h-1z" fill="rgb(111,175,69)"/>
<path d="M6 0h1v1h-1z" fill="rgb(95,159,53)"/>
<path d="M7 0h1v1h-1z" fill="rgb(108,172,66)"/>
<path d="M8 0h1v1h-1z" fill="rgb(126,190,84)"/>
<path d="M9 0h1v1h-1z" fill="rgb(118,182,76)"/>
<path d="M10 0h1v1h-1z" fill="rgb(106,170,64)"/>
<path d="M11 0h1v1h-1z" fill="rgb(103,167,61)"/>
<path d="M12 0h1v1h-1z" fill="rgb(105,169,63)"/>
<path d="M13 0h1v1h-1z" fill="rgb(97,161,55)"/>
<path d="M14 0h1v1h-1z" fill="rgb(80,144,38)"/>
<path d="M15 0h1v1h-1z" fill="rgb(109,173,67)"/>
<path d="M0 1h1v1h-1z" fill="rgb(117,181,75)"/>
<path d="M1 1h1v1h-1z" fill="rgb(108,172,66)"/>
<path d="M2 1h1v1h-1z" fill="rgb(138,185,90)"/>
<path d="M3 1h1v1h-1z" fill="rgb(129,176,81)"/>
<path d="M4 1h1v1h-1z" fill="rgb(131,178,83)"/>
<path d="M5 1h1v1h-1z" fill="rgb(96,160,54)"/>
<path d="M6 1h1v1h-1z" fill="rgb(104,168,62)"/>
<path d="M7 1h1v1h-1z" fill="rgb(98,162,56)"/>
<path d="M8 1h1v1h-1z" fill="rgb(95,159,53)"/>
<path d="M9 1h1v1h-1z" fill="rgb(147,194,99)"/>
<path d="M10 1h1v1h-1z" fill="rgb(144,191,96)"/>
<path d="M11 1h1v1h-1z" fill="rgb(115,179,73)"/>
<path d="M12 1h1v1h-1z" fill="rgb(97,161,55)"/>
<path d="M13 1h1v1h-1z" fill="rgb(108,172,66)"/>
<path d="M14 1h1v1h-1z" fill="rgb(103,167,61)"/>
<path d="M15 1h1v1h-1z" fill="rgb(107,171,65)"/>
<path d="M0 2h1v1h-1z" fill="rgb(141,188,93)"/>
<path d="M1 2h1v1h-1z" fill="rgb(163,210,115)"/>
<path d="M2 2h1v1h-1z" fill="rgb(156,203,108)"/>
<path d="M3 2h1v1h-1z" fill="rgb(100,164,58)"/>
<path d="M4 2h1v1h-1z" fill="rgb(105,169,63)"/>
<path d="M5 2h1v1h-1z" fill="rgb(104,168,62)"/>
<path d="M6 2h2v1h-2z" fill="rgb(112,176,70)"/>
<path d="M8 2h1v1h-1z" fill="rgb(116,180,74)"/>
<path d="M9 2h1v1h-1z" fill="rgb(127,191,85)"/>
<path d="M10 2h1v1h-1z" fill="rgb(146,193,98)"/>
<path d="M11 2h1v1h-1z" fill="rgb(151,198,103)"/>
<path d="M12 2h1v1h-1z" fill="rgb(103,167,61)"/>
<path d="M13 2h1v1h-1z" fill="rgb(87,151,45)"/>
<path d="M14 2h1v1h-1z" fill="rgb(96,160,54)"/>
<path d="M15 2h1v1h-1z" fill="rgb(160,207,112)"/>
<path d="M0 3h1v1h-1z" fill="rgb(86,150,44)"/>
<path d="M1 3h1v1h-1z" fill="rgb(101,165,59)"/>
<path d="M2 3h1v1h-1z" fill="rgb(106,170,64)"/>
<path d="M3 3h1v1h-1z" fill="rgb(119,183,77)"/>
<path d="M4 3h1v1h-1z" fill="rgb(113,177,71)"/>
<path d="M5 3h1v1h-1z" fill="rgb(121,185,79)"/>
<path d="M6 3h1v1h-1z" fill="rgb(93,157,51)"/>
<path d="M7 3h1v1h-1z" fill="rgb(91,155,49)"/>
<path d="M8 3h1v1h-1z" fill="rgb(95,159,53)"/>
<path d="M9 3h1v1h-1z" fill="rgb(99,163,57)"/>
<path d="M10 3h1v1h-1z" fill="rgb(109,173,67)"/>
<path d="M11 3h1v1h-1z" fill="rgb(119,183,77)"/>
<path d="M12 3h1v1h-1z" fill="rgb(111,175,69)"/>
<path d="M13 3h1v1h-1z" fill="rgb(107,171,65)"/>
<path d="M14 3h1v1h-1z" fill="rgb(110,174,68)"/>
<path d="M15 3h1v1h-1z" fill="rgb(93,157,51)"/>
<path d="M0 4h1v1h-1z" fill="rgb(130,194,88)"/>
<path d="M1 4h1v1h-1z" fill="rgb(99,163,57)"/>
<path d="M2 4h1v1h-1z" fill="rgb(151,198,103)"/>
<path d="M3 4h1v1h-1z" fill="rgb(99,163,57)"/>
<path d="M4 4h1v1h-1z" fill="rgb(150,197,102)"/>
<path d="M5 4h1v1h-1z" fill="rgb(152,199,104)"/>
<path d="M6 4h1v1h-1z" fill="rgb(114,161,66)"/>
<path d="M7 4h1v1h-1z" fill="rgb(150,197,102)"/>
<path d="M8 4h1v1h-1z" fill="rgb(164,211,116)"/>
<path d="M9 4h1v1h-1z" fill="rgb(85,149,43)"/>
<path d="M10 4h1v1h-1z" fill="rgb(96,160,54)"/>
<path d="M11 4h1v1h-1z" fill="rgb(145,192,97)"/>
<path d="M12 4h1v1h-1z" fill="rgb(149,196,101)"/>
<path d="M13 4h1v1h-1z" fill="rgb(94,158,52)"/>
<path d="M14 4h1v1h-1z" fill="rgb(104,168,62)"/>
<path d="M15 4h1v1h-1z" fill="rgb(109,173,67)"/>
<path d="M0 5h1v1h-1z" fill="rgb(121,185,79)"/>
<path d="M1 5h1v1h-1z" fill="rgb(120,184,78)"/>
<path d="M2 5h1v1h-1z" fill="rgb(88,152,46)"/>
<path d="M3 5h1v1h-1z" fill="rgb(144,191,96)"/>
<path d="M4 5h1v1h-1z" fill="rgb(97,161,55)"/>
<path d="M5 5h1v1h-1z" fill="rgb(118,182,76)"/>
<path d="M6 5h1v1h-1z" fill="rgb(117,181,75)"/>
<path d="M7 5h1v1h-1z" fill="rgb(133,180,85)"/>
<path d="M8 5h1v1h-1z" fill="rgb(103,167,61)"/>
<path d="M9 5h1v1h-1z" fill="rgb(117,181,75)"/>
<path d="M10 5h1v1h-1z" fill="rgb(104,168,62)"/>
<path d="M11 5h1v1h-1z" fill="rgb(99,163,57)"/>
<path d="M12 5h1v1h-1z" fill="rgb(88,152,46)"/>
<path d="M13 5h1v1h-1z" fill="rgb(104,168,62)"/>
<path d="M14 5h1v1h-1z" fill="rgb(110,174,68)"/>
<path d="M15 5h1v1h-1z" fill="rgb(116,180,74)"/>
<path d="M0 6h1v1h-1z" fill="rgb(94,158,52)"/>
<path d="M1 6h1v1h-1z" fill="rgb(134,181,86)"/>
<path d="M2 6h1v1h-1z" fill="rgb(143,190,95)"/>
<path d="M3 6h1v1h-1z" fill="rgb(112,176,70)"/>
<path d="M4 6h1v1h-1z" fill="rgb(114,178,72)"/>
<path d="M5 6h1v1h-1z" fill="rgb(99,163,57)"/>
<path d="M6 6h1v1h-1z" fill="rgb(106,170,64)"/>
<path d="M7 6h1v1h-1z" fill="rgb(95,159,53)"/>
<path d="M8 6h1v1h-1z" fill="rgb(100,164,58)"/>
<path d="M9 6h1v1h-1z" fill="rgb(103,167,61)"/>
<path d="M10 6h1v1h-1z" fill="rgb(159,206,111)"/>
<path d="M11 6h1v1h-1z" fill="rgb(150,197,102)"/>
<path d="M12 6h1v1h-1z" fill="rgb(113,177,71)"/>
<path d="M13 6h1v1h-1z" fill="rgb(145,192,97)"/>
<path d="M14 6h1v1h-1z" fill="rgb(119,183,77)"/>
<path d="M15 6h1v1h-1z" fill="rgb(121,168,73)"/>
<path d="M0 7h1v1h-1z" fill="rgb(111,175,69)"/>
<path d="M1 7h1v1h-1z" fill="rgb(103,167,61)"/>
<path d="M2 7h1v1h-1z" fill="rgb(135,182,87)"/>
<path d="M3 7h1v1h-1z" fill="rgb(107,171,65)"/>
<path d="M4 7h1v1h-1z" fill="rgb(112,176,70)"/>
<path d="M5 7h1v1h-1z" fill="rgb(92,156,50)"/>
<path d="M6 7h1v1h-1z" fill="rgb(132,196,90)"/>
<path d="M7 7h1v1h-1z" fill="rgb(100,164,58)"/>
<path d="M8 7h1v1h-1z" fill="rgb(119,183,77)"/>
<path d="M9 7h1v1h-1z" fill="rgb(151,198,103)"/>
<path d="M10 7h1v1h-1z" fill="rgb(103,167,61)"/>
<path d="M11 7h1v1h-1z" fill="rgb(97,161,55)"/>
<path d="M12 7h1v1h-1z" fill="rgb(111,175,69)"/>
<path d="M13 7h1v1h-1z" fill="rgb(138,185,90)"/>
<path d="M14 7h1v1h-1z" fill="rgb(95,159,53)"/>
<path d="M15 7h1v1h-1z" fill="rgb(147,194,99)"/>
<path d="M0 8h1v1h-1z" fill="rgb(97,161,55)"/>
<path d="M1 8h1v1h-1z" fill="rgb(133,180,85)"/>
<path d="M2 8h1v1h-1z" fill="rgb(160,207,112)"/>
<path d="M3 8h1v1h-1z" fill="rgb(148,195,100)"/>
<path d="M4 8h1v1h-1z" fill="rgb(150,197,102)"/>
<path d="M5 8h1v1h-1z" fill="rgb(97,161,55)"/>
<path d="M6 8h1v1h-1z" fill="rgb(151,198,103)"/>
<path d="M7 8h1v1h-1z" fill="rgb(134,181,86)"/>
<path d="M8 8h1v1h-1z" fill="rgb(157,204,109)"/>
<path d="M9 8h1v1h-1z" fill="rgb(148,195,100)"/>
<path d="M10 8h1v1h-1z" fill="rgb(98,162,56)"/>
<path d="M11 8h1v1h-1z" fill="rgb(114,178,72)"/>
<path d="M12 8h1v1h-1z" fill="rgb(101,165,59)"/>
<path d="M13 8h1v1h-1z" fill="rgb(125,172,77)"/>
<path d="M14 8h2v1h-2z" fill="rgb(94,158,52)"/>
<path d="M0 9h1v1h-1z" fill="rgb(119,183,77)"/>
<path d="M1 9h1v1h-1z" fill="rgb(98,162,56)"/>
<path d="M2 9h1v1h-1z" fill="rgb(161,208,113)"/>
<path d="M3 9h1v1h-1z" fill="rgb(109,173,67)"/>
<path d="M4 9h1v1h-1z" fill="rgb(108,172,66)"/>
<path d="M5 9h1v1h-1z" fill="rgb(130,177,82)"/>
<path d="M6 9h1v1h-1z" fill="rgb(148,195,100)"/>
<path d="M7 9h1v1h-1z" fill="rgb(96,160,54)"/>
<path d="M8 9h1v1h-1z" fill="rgb(103,167,61)"/>
<path d="M9 9h1v1h-1z" fill="rgb(113,177,71)"/>
<path d="M10 9h1v1h-1z" fill="rgb(114,178,72)"/>
<path d="M11 9h1v1h-1z" fill="rgb(137,201,95)"/>
<path d="M12 9h1v1h-1z" fill="rgb(110,174,68)"/>
<path d="M13 9h1v1h-1z" fill="rgb(157,204,109)"/>
<path d="M14 9h1v1h-1z" fill="rgb(111,175,69)"/>
<path d="M15 9h1v1h-1z" fill="rgb(97,161,55)"/>
<path d="M0 10h1v1h-1z" fill="rgb(123,187,81)"/>
<path d="M1 10h1v1h-1z" fill="rgb(136,183,88)"/>
<path d="M2 10h1v1h-1z" fill="rgb(119,183,77)"/>
<path d="M3 10h1v1h-1z" fill="rgb(143,190,95)"/>
<path d="M4 10h1v1h-1z" fill="rgb(98,162,56)"/>
<path d="M5 10h1v1h-1z" fill="rgb(160,207,112)"/>
<path d="M6 10h1v1h-1z" fill="rgb(110,174,68)"/>
<path d="M7 10h1v1h-1z" fill="rgb(125,172,77)"/>
<path d="M8 10h1v1h-1z" fill="rgb(170,217,122)"/>
<path d="M9 10h1v1h-1z" fill="rgb(89,153,47)"/>
<path d="M10 10h1v1h-1z" fill="rgb(135,199,93)"/>
<path d="M11 10h1v1h-1z" fill="rgb(99,163,57)"/>
<path d="M12 10h1v1h-1z" fill="rgb(111,175,69)"/>
<path d="M13 10h1v1h-1z" fill="rgb(104,168,62)"/>
<path d="M14 10h1v1h-1z" fill="rgb(102,166,60)"/>
<path d="M15 10h1v1h-1z" fill="rgb(111,175,69)"/>
<path d="M0 11h1v1h-1z" fill="rgb(100,164,58)"/>
<path d="M1 11h1v1h-1z" fill="rgb(151,198,103)"/>
<path d="M2 11h1v1h-1z" fill="rgb(102,166,60)"/>
<path d="M3 11h1v1h-1z" fill="rgb(141,188,93)"/>
<path d="M4 11h1v1h-1z" fill="rgb(119,183,77)"/>
<path d="M5 11h1v1h-1z" fill="rgb(100,164,58)"/>
<path d="M6 11h1v1h-1z" fill="rgb(114,178,72)"/>
<path d="M7 11h1v1h-1z" fill="rgb(105,169,63)"/>
<path d="M8 11h1v1h-1z" fill="rgb(119,183,77)"/>
<path d="M9 11h1v1h-1z" fill="rgb(114,178,72)"/>
<path d="M10 11h1v1h-1z" fill="rgb(108,172,66)"/>
<path d="M11 11h1v1h-1z" fill="rgb(91,155,49)"/>
<path d="M12 11h2v1h-2z" fill="rgb(95,159,53)"/>
<path d="M14 11h1v1h-1z" fill="rgb(93,157,51)"/>
<path d="M15 11h1v1h-1z" fill="rgb(106,170,64)"/>
<path d="M0 12h1v1h-1z" fill="rgb(164,211,116)"/>
<path d="M1 12h1v1h-1z" fill="rgb(119,183,77)"/>
<path d="M2 12h1v1h-1z" fill="rgb(97,161,55)"/>
<path d="M3 12h1v1h-1z" fill="rgb(106,170,64)"/>
<path d="M4 12h1v1h-1z" fill="rgb(121,185,79)"/>
<path d="M5 12h1v1h-1z" fill="rgb(113,177,71)"/>
<path d="M6 12h1v1h-1z" fill="rgb(101,165,59)"/>
<path d="M7 12h1v1h-1z" fill="rgb(90,154,48)"/>
<path d="M8 12h1v1h-1z" fill="rgb(70,134,28)"/>
<path d="M9 12h1v1h-1z" fill="rgb(113,177,71)"/>
<path d="M10 12h1v1h-1z" fill="rgb(106,170,64)"/>
<path d="M11 12h1v1h-1z" fill="rgb(93,157,51)"/>
<path d="M12 12h1v1h-1z" fill="rgb(137,184,89)"/>
<path d="M13 12h1v1h-1z" fill="rgb(143,190,95)"/>
<path d="M14 12h1v1h-1z" fill="rgb(89,153,47)"/>
<path d="M15 12h1v1h-1z" fill="rgb(101,165,59)"/>
<path d="M0 13h1v1h-1z" fill="rgb(161,208,113)"/>
<path d="M1 13h1v1h-1z" fill="rgb(146,193,98)"/>
<path d="M2 13h1v1h-1z" fill="rgb(86,150,44)"/>
<path d="M3 13h1v1h-1z" fill="rgb(85,149,43)"/>
<path d="M4 13h1v1h-1z" fill="rgb(93,157,51)"/>
<path d="M5 13h1v1h-1z" fill="rgb(96,160,54)"/>
<path d="M6 13h1v1h-1z" fill="rgb(97,161,55)"/>
<path d="M7 13h1v1h-1z" fill="rgb(173,220,125)"/>
<path d="M8 13h1v1h-1z" fill="rgb(139,186,91)"/>
<path d="M9 13h1v1h-1z" fill="rgb(176,223,128)"/>
<path d="M10 13h1v1h-1z" fill="rgb(146,193,98)"/>
<path d="M11 13h1v1h-1z" fill="rgb(123,187,81)"/>
<path d="M12 13h1v1h-1z" fill="rgb(128,192,86)"/>
<path d="M13 13h1v1h-1z" fill="rgb(104,168,62)"/>
<path d="M14 13h1v1h-1z" fill="rgb(146,193,98)"/>
<path d="M15 13h1v1h-1z" fill="rgb(152,199,104)"/>
<path d="M0 14h1v1h-1z" fill="rgb(141,188,93)"/>
<path d="M1 14h1v1h-1z" fill="rgb(139,186,91)"/>
<path d="M2 14h1v1h-1z" fill="rgb(105,169,63)"/>
<path d="M3 14h1v1h-1z" fill="rgb(91,155,49)"/>
<path d="M4 14h1v1h-1z" fill="rgb(157,204,109)"/>
<path d="M5 14h1v1h-1z" fill="rgb(149,196,101)"/>
<path d="M6 14h1v2h-1z" fill="rgb(116,180,74)"/>
<path d="M7 14h1v1h-1z" fill="rgb(115,179,73)"/>
<path d="M8 14h1v1h-1z" fill="rgb(94,158,52)"/>
<path d="M9 14h2v1h-2z" fill="rgb(117,181,75)"/>
<path d="M11 14h1v1h-1z" fill="rgb(103,167,61)"/>
<path d="M12 14h1v1h-1z" fill="rgb(147,194,99)"/>
<path d="M13 14h1v1h-1z" fill="rgb(135,182,87)"/>
<path d="M14 14h1v1h-1z" fill="rgb(107,171,65)"/>
<path d="M15 14h1v1h-1z" fill="rgb(138,185,90)"/>
<path d="M0 15h1v1h-1z" fill="rgb(101,165,59)"/>
<path d="M1 15h1v1h-1z" fill="rgb(118,182,76)"/>
<path d="M2 15h1v1h-1z" fill="rgb(104,168,62)"/>
<path d="M3 15h1v1h-1z" fill="rgb(80,144,38)"/>
<path d="M4 15h1v1h-1z" fill="rgb(132,196,90)"/>
<path d="M5 15h1v1h-1z" fill="rgb(120,184,78)"/>
<path d="M7 15h1v1h-1z" fill="rgb(162,209,114)"/>
<path d="M8 15h1v1h-1z" fill="rgb(110,174,68)"/>
<path d="M9 15h1v1h-1z" fill="rgb(169,216,121)"/>
<path d="M10 15h1v1h-1z" fill="rgb(92,156,50)"/>
<path d="M11 15h1v1h-1z" fill="rgb(97,161,55)"/>
<path d="M12 15h1v1h-1z" fill="rgb(100,164,58)"/>
<path d="M13 15h1v1h-1z" fill="rgb(112,176,70)"/>
<path d="M14 15h1v1h-1z" fill="rgb(104,168,62)"/>
<path d="M15 15h1v1h-1z" fill="rgb(126,190,84)"/>
</svg>

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 600 KiB

View file

@ -1,9 +0,0 @@
$(function() {
$('.page-scroll a').bind('click', function(event) {
var $anchor = $(this);
$('html, body').stop().animate({
scrollTop: $($anchor.attr('href')).offset().top
}, 1500, 'easeInOutExpo');
event.preventDefault();
});
});

View file

@ -1,17 +0,0 @@
$(window).scroll(function() {
if ($(".navbar").offset().top > 50) {
$(".navbar-fixed-top").addClass("top-nav-collapse");
} else {
$(".navbar-fixed-top").removeClass("top-nav-collapse");
}
});
$(function() {
$('.page-scroll a').bind('click', function(event) {
var $anchor = $(this);
$('html, body').stop().animate({
scrollTop: $($anchor.attr('href')).offset().top
}, 1500, 'easeInOutExpo');
event.preventDefault();
});
});

View file

@ -1,54 +0,0 @@
(function() // Code in a function to create an isolate scope
{
var speed = 400;
var moving_frequency = 15; // Affects performance !
var links = document.getElementsByTagName('a');
var href;
for(var i=0; i<links.length; i++)
{
href = (links[i].attributes.href === undefined) ? null : links[i].attributes.href.nodeValue.toString();
if(href !== null && href.length > 1 && href.substr(0, 1) == '#')
{
links[i].onclick = function()
{
var element;
var href = this.attributes.href.nodeValue.toString();
if(element = document.getElementById(href.substr(1)))
{
var hop_count = speed/moving_frequency
var getScrollTopDocumentAtBegin = getScrollTopDocument();
var gap = (getScrollTopElement(element) - getScrollTopDocumentAtBegin) / hop_count;
for(var i = 1; i <= hop_count; i++)
{
(function()
{
var hop_top_position = gap*i;
setTimeout(function(){ window.scrollTo(0, hop_top_position + getScrollTopDocumentAtBegin); }, moving_frequency*i);
})();
}
}
return false;
};
}
}
var getScrollTopElement = function (e)
{
var top = 0;
while (e.offsetParent != undefined && e.offsetParent != null)
{
top += e.offsetTop + (e.clientTop != null ? e.clientTop : 0);
e = e.offsetParent;
}
return top;
};
var getScrollTopDocument = function()
{
return document.documentElement.scrollTop + document.body.scrollTop;
};
})();

View file

@ -1,54 +0,0 @@
(function() // Code in a function to create an isolate scope
{
var speed = 500;
var moving_frequency = 15; // Affects performance !
var links = document.getElementsByTagName('a');
var href;
for(var i=0; i<links.length; i++)
{
href = (links[i].attributes.href === undefined) ? null : links[i].attributes.href.nodeValue.toString();
if(href !== null && href.length > 1 && href.substr(0, 1) == '#')
{
links[i].onclick = function()
{
var element;
var href = this.attributes.href.nodeValue.toString();
if(element = document.getElementById(href.substr(1)))
{
var hop_count = speed/moving_frequency
var getScrollTopDocumentAtBegin = getScrollTopDocument();
var gap = (getScrollTopElement(element) - getScrollTopDocumentAtBegin) / hop_count;
for(var i = 1; i <= hop_count; i++)
{
(function()
{
var hop_top_position = gap*i;
setTimeout(function(){ window.scrollTo(0, hop_top_position + getScrollTopDocumentAtBegin); }, moving_frequency*i);
})();
}
}
return false;
};
}
}
var getScrollTopElement = function (e)
{
var top = 0;
while (e.offsetParent != undefined && e.offsetParent != null)
{
top += e.offsetTop + (e.clientTop != null ? e.clientTop : 0);
e = e.offsetParent;
}
return top;
};
var getScrollTopDocument = function()
{
return document.documentElement.scrollTop + document.body.scrollTop;
};
})();