You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eagle.apache.org by yo...@apache.org on 2016/07/27 05:48:48 UTC
svn commit: r1754217 [17/20] - in /incubator/eagle/site: ./ about/ css/
data/ docs/ docs/tutorial/ fonts/ images/ images/appManager/ images/docs/
images/posts/ images/slider/ images/usecases/ js/ post/ post/2015/
post/2015/10/ post/2015/10/26/
Added: incubator/eagle/site/images/slider/3.jpg
URL: http://svn.apache.org/viewvc/incubator/eagle/site/images/slider/3.jpg?rev=1754217&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/eagle/site/images/slider/3.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/eagle/site/images/slider/4.jpg
URL: http://svn.apache.org/viewvc/incubator/eagle/site/images/slider/4.jpg?rev=1754217&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/eagle/site/images/slider/4.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/eagle/site/images/start-storm.png
URL: http://svn.apache.org/viewvc/incubator/eagle/site/images/start-storm.png?rev=1754217&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/eagle/site/images/start-storm.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/eagle/site/images/step1.png
URL: http://svn.apache.org/viewvc/incubator/eagle/site/images/step1.png?rev=1754217&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/eagle/site/images/step1.png
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/eagle/site/images/step1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/eagle/site/images/step2.png
URL: http://svn.apache.org/viewvc/incubator/eagle/site/images/step2.png?rev=1754217&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/eagle/site/images/step2.png
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/eagle/site/images/step2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/eagle/site/images/step3.png
URL: http://svn.apache.org/viewvc/incubator/eagle/site/images/step3.png?rev=1754217&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/eagle/site/images/step3.png
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/eagle/site/images/step3.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/eagle/site/images/step4.png
URL: http://svn.apache.org/viewvc/incubator/eagle/site/images/step4.png?rev=1754217&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/eagle/site/images/step4.png
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/eagle/site/images/step4.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/eagle/site/images/usecases/1.png
URL: http://svn.apache.org/viewvc/incubator/eagle/site/images/usecases/1.png?rev=1754217&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/eagle/site/images/usecases/1.png
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/eagle/site/images/usecases/1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/eagle/site/images/usecases/2.png
URL: http://svn.apache.org/viewvc/incubator/eagle/site/images/usecases/2.png?rev=1754217&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/eagle/site/images/usecases/2.png
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/eagle/site/images/usecases/2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/eagle/site/images/usecases/3.png
URL: http://svn.apache.org/viewvc/incubator/eagle/site/images/usecases/3.png?rev=1754217&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/eagle/site/images/usecases/3.png
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/eagle/site/images/usecases/3.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/eagle/site/images/usecases/4.png
URL: http://svn.apache.org/viewvc/incubator/eagle/site/images/usecases/4.png?rev=1754217&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/eagle/site/images/usecases/4.png
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/eagle/site/images/usecases/4.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/eagle/site/images/yhd.png
URL: http://svn.apache.org/viewvc/incubator/eagle/site/images/yhd.png?rev=1754217&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/eagle/site/images/yhd.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/eagle/site/index.html
URL: http://svn.apache.org/viewvc/incubator/eagle/site/index.html?rev=1754217&view=auto
==============================================================================
--- incubator/eagle/site/index.html (added)
+++ incubator/eagle/site/index.html Wed Jul 27 05:48:44 2016
@@ -0,0 +1,348 @@
+<!DOCTYPE html>
+
+<head>
+<title>Apache Eagle - Analyze Big Data Platforms For Security and Performance</title>
+<meta name="keywords" content="Apache Eagle, Hadoop, Analyze, Security, Performance, Real Time">
+<meta name="description" content="Apache Eagle - Analyze Big Data Platforms For Security and Performance">
+<meta name="author" content="eBay Inc">
+<meta charset="utf-8">
+<meta name="viewport" content="initial-scale=1">
+
+<!-- Style Sheets -->
+<link rel="stylesheet" href="css/animate.css">
+<link rel="stylesheet" href="css/bootstrap.min.css">
+<link rel="stylesheet" href="css/misc.css">
+<link rel="stylesheet" href="css/style.css">
+<link rel="stylesheet" href="css/styles.css">
+<link rel="stylesheet" href="css/colorbox.css">
+<link rel="shortcut icon" href="images/favicon.png">
+<script src="//load.sumome.com/" data-sumo-site-id="4f1f82ddde38afb72321e7c702051b89fb2ab9d54d314434184ebe0ea5b5fa37" async></script>
+
+ <!-- Baidu Analytics Tracking-->
+ <script>
+ var _hmt = _hmt || [];
+ (function() {
+ var hm = document.createElement("script");
+ hm.src = "//hm.baidu.com/hm.js?fedc55df2ea52777a679192e8f849ece";
+ var s = document.getElementsByTagName("script")[0];
+ s.parentNode.insertBefore(hm, s);
+ })();
+ </script>
+
+ <!-- Google Analytics Tracking -->
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+ ga('create', 'UA-68929805-1', 'auto');
+ ga('send', 'pageview');
+ </script>
+</head>
+<body>
+<!-- header start -->
+<div id="home_page">
+ <div class="topbar">
+ <div class="container">
+ <div class="row" >
+ <nav class="navbar navbar-default">
+ <div class="container-fluid">
+ <!-- Brand and toggle get grouped for better mobile display -->
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
+ <a class="navbar-brand" href="#"><img src="images/logo2.png" height="44px" style="margin-top:-7px"></a> </div>
+
+ <!-- Collect the nav links, forms, and other content for toggling -->
+ <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
+ <ul class="nav navbar-nav navbar-right" id="top-menu">
+ <li><a class="menu" href="#home_page">HOME</a></li>
+ <li><a class="menu" href="#about_page">ABOUT</a></li>
+ <li><a class="menu" href="#diagram_page">ARCHITECTURE</a></li>
+ <li><a class="menu" href="#community_page">COMMUNITY</a></li>
+ </ul>
+ </div>
+ <!-- /.navbar-collapse -->
+ </div>
+ <!-- /.container-fluid -->
+ </nav>
+ </div>
+ </div>
+ </div>
+ <div class="headerimage">
+ <div class="flexslider">
+
+ <ul class="slides">
+
+ <li><img src="images/slider/3.jpg" alt="Slide 1"></li>
+ </ul>
+ </div>
+ </div>
+ <div class="particles"> </div><!---particles-->
+ <div class="slider-caption">
+ <div class="homewrapper">
+ <div class="hometitle"> <img src="images/feather.png" height="60px"> </div>
+ <div class="hometext">
+ <h2 style="font-weight:500;">Apache Eagle (incubating)</h2>
+ <h3>Analyze Big Data Platforms For Security and Performance</h3>
+ </div>
+ </div>
+
+ <div class="download"><a href="https://github.com/apache/incubator-eagle" target="_blank" title="Github">GITHUB</a></div> <div class="download" style="margin-left:10px;" title="Documents"><a href="docs/">DOCS</a></div>
+ </div>
+</div>
+
+<!-- header end -->
+
+<!-- team start -->
+
+
+<!-- team start -->
+<div class="workwrapper" id="about_page">
+ <div class="container">
+ <div class="row">
+ <h2 class="sectiontile">ABOUT APACHE EAGLE</h2>
+ <div class="col-md-12">
+ <p style="width:80%; margin-left:auto; margin-right:auto;"> Apache Eagle is an open source analytics solution for identifying security and performance issues instantly on big data platforms, e.g. Hadoop, Spark etc. It analyzes data activities, yarn applications, jmx metrics, and daemon logs etc., provides state-of-the-art alert engine to identify security breach, performance issues and shows insights.
+</p> <br/>
+ <p style="width:80%; margin-left:auto; margin-right:auto;"> Big data platform normally generates huge amount of operational logs and metrics in realtime. Eagle is founded to solve hard problems in securing and tuning performance for big data platforms by ensuring metrics, logs always available and alerting immediately even under huge traffic.
+</p>
+<div class="sepline">
+ </div>
+
+ <P>Eagle has been accepted as an Apache Incubator Project on Oct 26, 2015.</P>
+ <p>Eagle analyzes big data platforms and reports issues in 3 steps:</p>
+ </div>
+ </div>
+ <section id="cd-timeline" class="cd-container" style="margin-top:-3px;">
+ <div class="cd-timeline-block">
+ <div class="cd-timeline-img cd-picture"> <img src="images/step1.png" alt="Picture"> </div>
+ <div class="cd-timeline-content service-box-content">
+ <h3>Step 1 Data Integrations</h3>
+ <p>Streaming operational logs and data activities into Eagle platform, including but not limited to audit logs, map/reduce jobs, yarn resource usage, jmx metrics and various daemon logs etc.</p>
+ </div>
+ </div>
+ <div class="cd-timeline-block">
+ <div class="cd-timeline-img cd-movie"> <img src="images/step2.png" alt="Picture"> </div>
+ <div class="cd-timeline-content service-box-content">
+ <h3>Step 2 Realtime Analytics and Alerting</h3>
+ <p>Realtime stream data are normalized and then evaluated in alert engine with comprehensive policies including filter, slide window, batch window, and pattern match etc.</p>
+ </div>
+ </div>
+ <div class="cd-timeline-block">
+ <div class="cd-timeline-img cd-icon"> <img src="images/step3.png" alt="Picture"> </div>
+ <div class="cd-timeline-content service-box-content">
+ <h3>Step 3 Insights</h3>
+ <p>Generate alerts, show historical trend, and correlate alert with raw data</p>
+ </div>
+ </div>
+ <div class="cd-timeline-block">
+ <div class="cd-timeline-img cd-location"> <img src="images/step4.png" alt="Picture"> </div>
+ <div class="cd-timeline-content service-box-content">
+ <h3>Additional Bonus</h3>
+ <p>Eagle provides embedded, highly scalable alert engine for user to easily onboard any new data sources into Eagle platform and write comprehensive policies to alert for anomalies.</p>
+ </div>
+ </div>
+ </section>
+ </div>
+</div>
+</div>
+
+<!-- team end -->
+
+<div class="clear"></div>
+
+<!-- diagram start -->
+
+<div class="workwrapper" id="diagram_page">
+ <div class="container">
+ <div class="row">
+ <h2 class="sectiontile">ARCHITECTURE</h2>
+ <div class="col-md-12 marginbot"> <img src="images/diagram2.png" style="border-radius: 10px; margin-top:10px;"> </div>
+ </div>
+ </div>
+</div>
+<!-- diagram end -->
+
+<div class="clear"></div>
+
+<div class="clear"></div>
+<!-- team start -->
+<div class="client_wrapper" id="community_page">
+ <div class="container">
+ <div class="row">
+ <h2 class="sectiontile">WHO USES EAGLE</h2>
+ <div class="row" style="margin-top:50px;">
+ <div class="workmargin">
+ <a href="http://www.ebay.com/"><img style="width: 130px" src="/images/ebay.png" class="usecaseimage"></a>
+ <a href="https://www.paypal.com"><img style="width: 160px;margin-left:60px;" src="/images/paypal.svg" class="usecaseimage"></a>
+ <a href="https://www.dataguise.com"><img style="width: 160px;margin-left:60px;" src="/images/dataguise.jpeg" class="usecaseimage"></a>
+ <a href="https://www.yhd.com"><img style="width: 160px;margin-left:60px;" src="/images/yhd.png" class="usecaseimage"></a>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+<!-- team end -->
+
+<div class="clear"></div>
+
+<!-- team start -->
+<div class="workwrapper" id="community_page">
+ <div class="container">
+ <div class="row">
+ <h2 class="sectiontile">COMMUNITY</h2>
+ <div class="row" style="margin-top:50px;">
+ <div class="col-md-4 workmargin">
+ <h4>Discussion and Contribute</h4>
+ <div style="text-align:left">
+ <p>Get help using Eagle or contribute to the project</p>
+ <ul>
+ <li>
+ <a href="/docs/community.html"><b>Mailing Lists</b></a>
+ </li>
+ <li>
+ <a href="https://issues.apache.org/jira/browse/EAGLE"><b>Issues Tracking</b></a>
+ </li>
+ <li>
+ <a href="https://github.com/eBay/Eagle/wiki/How-to-Contribute"><b>How to Contribute</b></a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ <div class="col-md-4 workmargin">
+ <h4>Events and Meetups</h4>
+ <div style="text-align:left">
+ <p>Learn more about Eagle from Conferences</p>
+ <ul>
+ <li><a href="/docs/community.html"><b>Conferences</b></a></li>
+ <li><a href="/docs/community.html"><b>Meetups</b></a></li>
+ <li><a href="/docs/community.html"><b>News</b></a></li>
+ </ul>
+ </div>
+ <!-- <button type="button" class="btn btn-primary" onclick="window.location='https://github.com/pulsarIO/realtime-analytics/wiki/Get-Started'">Learn More Events</button> -->
+ </div>
+ <div class="col-md-4 workmargin">
+ <h4>Find Us at</h4>
+ <div style="text-align:left">
+
+
+ <p>Learn latest updates about Eagle through:</p>
+ <div class="row">
+ <div class="col-md-6">
+<iframe src="https://ghbtns.com/github-btn.html?user=apache&repo=incubator-eagle&type=star&count=true" frameborder="0" scrolling="0" width="150px" height="20px"></iframe>
+ <iframe src="https://ghbtns.com/github-btn.html?user=apache&repo=incubator-eagle&type=fork&count=true" frameborder="0" scrolling="0" width="150px" height="20px"></iframe>
+<br/>
+
+<a href="https://twitter.com/TheApacheEagle" class="twitter-follow-button" data-show-count="false">Follow @TheApacheEagle</a>
+<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
+<br/>
+
+<div class="fb-like" data-href="https://www.facebook.com/TheApacheEagle" data-layout="button_count" data-action="like" data-show-faces="true" data-share="true"></div>
+
+ </div>
+ <div class="col-md-6">
+ <image width="110px" height="110px" src="/images/qrcode-8cm.jpg"/>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+</div>
+</div>
+
+<!-- footer start -->
+<div class="footerwrapper">
+ <div class="container">
+ <div class="row">
+ <div class="col-md-12"><div style="margin-left:auto; margin-right:auto; text-align:center;font-size:12px;">
+<div>
+Apache Eagle is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+</div>
+<div>
+<a href="http://www.apache.org">
+<img id="asf-logo" alt="Apache Software Foundation" src="/images/apache-logo-small.gif">
+</a>
+<a href="http://incubator.apache.org">
+<img id="incubator-logo" alt="Apache Incubator" src="/images/apache-incubator-logo-small.png">
+</a>
+</div>
+<div>
+Copyright © 2015 <a href="http://www.apache.org">The Apache Software Foundation</a>, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+</div>
+<div>
+Apache Eagle, Eagle, Apache, the Apache feather logo, and the Apache Incubator project logo are trademarks of The Apache Software Foundation.
+</div>
+</div></div>
+ </div>
+ </div>
+</div>
+<!-- footer end -->
+
+<!-- JavaScripts -->
+
+<script src="js/jquery-1.11.1.min.js"></script>
+<script src="js/jquery.singlePageNav.js"></script>
+<script src="js/jquery.flexslider.js"></script>
+<script src="js/custom.js"></script>
+<script src="js/jquery.colorbox.js"></script>
+<script src="js/modernizr.min.js"></script>
+<script src="js/svg.js"></script>
+
+<script>
+$(".youtube").colorbox({iframe:true, innerWidth:728, innerHeight:410});
+
+var lastId,
+ topMenu = $("#top-menu"),
+ topMenuHeight = topMenu.outerHeight() + 15,
+ // All list items
+ menuItems = topMenu.find("a"),
+ // Anchors corresponding to menu items
+ scrollItems = menuItems.map(function() {
+ var item = $($(this).attr("href"));
+ if (item.length) {
+ return item;
+ }
+ });
+
+menuItems.click(function(e) {
+ var href = $(this).attr("href"),
+ offsetTop = href === "#" ? 0 : $(href).offset().top - topMenuHeight + 1;
+ $('html, body').stop().animate({
+ scrollTop: offsetTop
+ }, 300);
+ e.preventDefault();
+});
+// Bind to scroll
+$(window).scroll(function() {
+
+
+ // Get container scroll position
+ var fromTop = $(this).scrollTop() + topMenuHeight;
+ // Get id of current scroll item
+ var cur = scrollItems.map(function() {
+ if ($(this).offset().top < fromTop)
+ return this;
+ });
+ // Get the id of the current element
+ cur = cur[cur.length - 1];
+ var id = cur && cur.length ? cur[0].id : "";
+ if (lastId !== id) {
+ lastId = id;
+ // Set/remove active class
+ menuItems
+ .parent().removeClass("active")
+ .end().filter("[href=#" + id + "]").parent().addClass("active");
+ }
+});
+</script>
+<div id="fb-root"></div>
+<script>(function(d, s, id) {
+ var js, fjs = d.getElementsByTagName(s)[0];
+ if (d.getElementById(id)) return;
+ js = d.createElement(s); js.id = id;
+ js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
+ fjs.parentNode.insertBefore(js, fjs);
+}(document, 'script', 'facebook-jssdk'));</script>
+</body>
+</html>
Propchange: incubator/eagle/site/index.html
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/eagle/site/js/custom.js
URL: http://svn.apache.org/viewvc/incubator/eagle/site/js/custom.js?rev=1754217&view=auto
==============================================================================
--- incubator/eagle/site/js/custom.js (added)
+++ incubator/eagle/site/js/custom.js Wed Jul 27 05:48:44 2016
@@ -0,0 +1,136 @@
+jQuery(document).ready(function($) {
+
+ /************** Scroll Navigation *********************/
+ $('.navigation').singlePageNav({
+ currentClass: 'active'
+ });
+
+
+ /************** FlexSlider *********************/
+ $('.flexslider').flexslider({
+ animation: "fade",
+ directionNav: false
+ });
+
+
+ /************** Responsive Navigation *********************/
+
+ $('.menu-toggle-btn').click(function() {
+ $('.responsive-menu').stop(true, true).slideToggle();
+ });
+
+ /************** Menu Content Opening *********************/
+ $(".main_menu a, .responsive_menu a").click(function() {
+ var id = $(this).attr('class');
+ id = id.split('-');
+ $("#menu-container .content").hide();
+ $("#menu-container #menu-" + id[1]).addClass("animated fadeInDown").show();
+ $("#menu-container .homepage").hide();
+ $(".support").hide();
+ $(".testimonials").hide();
+ return false;
+ });
+
+ $(window).load(function() {
+ $("#menu-container .products").hide();
+ });
+
+ $(".main_menu a.home").addClass('active');
+
+ $(".main_menu a.home, .responsive_menu a.home").click(function() {
+ $("#menu-container .homepage").addClass("animated fadeInDown").show();
+ $(this).addClass('active');
+ $(".main_menu a.page2, .responsive_menu a.page2").removeClass('active');
+ $(".main_menu a.page3, .responsive_menu a.page3").removeClass('active');
+ $(".main_menu a.page5, .responsive_menu a.page5").removeClass('active');
+ return false;
+ });
+
+ $(".main_menu a.page2, .responsive_menu a.page2").click(function() {
+ $("#menu-container .service").addClass("animated fadeInDown").show();
+ $(this).addClass('active');
+ $(".main_menu a.home, .responsive_menu a.home").removeClass('active');
+ $(".main_menu a.page3, .responsive_menu a.page3").removeClass('active');
+ $(".main_menu a.page5, .responsive_menu a.page5").removeClass('active');
+ return false;
+ });
+
+ $(".main_menu a.page3, .responsive_menu a.page3").click(function() {
+ $("#menu-container .portfolio").addClass("animated fadeInDown").show();
+ $(".our-services").show();
+ $(this).addClass('active');
+ $(".main_menu a.page2, .responsive_menu a.page2").removeClass('active');
+ $(".main_menu a.home, .responsive_menu a.home").removeClass('active');
+ $(".main_menu a.page5, .responsive_menu a.page5").removeClass('active');
+ return false;
+ });
+
+ $(".main_menu a.page5, .responsive_menu a.page5").click(function() {
+ $("#menu-container .contact").addClass("animated fadeInDown").show();
+ $(this).addClass('active');
+ $(".main_menu a.page2, .responsive_menu a.page2").removeClass('active');
+ $(".main_menu a.page3, .responsive_menu a.page3").removeClass('active');
+ $(".main_menu a.home, .responsive_menu a.home").removeClass('active');
+
+ return false;
+ });
+
+
+
+
+ /************** LightBox *********************/
+
+
+ $("a.menu-toggle-btn").click(function() {
+ $(".responsive_menu").stop(true, true).slideToggle();
+ return false;
+ });
+
+ $(".responsive_menu a").click(function() {
+ $('.responsive_menu').hide();
+ });
+
+
+ var $timeline_block = $('.cd-timeline-block');
+
+ //hide timeline blocks which are outside the viewport
+ $timeline_block.each(function() {
+ if ($(this).offset().top > $(window).scrollTop() + $(window).height() * 0.75) {
+ $(this).find('.cd-timeline-img, .cd-timeline-content').addClass('is-hidden');
+ }
+ });
+
+ //on scolling, show/animate timeline blocks when enter the viewport
+ $(window).on('scroll', function() {
+ animationPage();
+ $timeline_block.each(function() {
+ if ($(this).offset().top <= $(window).scrollTop() + $(window).height() * 0.75 && $(this).find('.cd-timeline-img').hasClass('is-hidden')) {
+ $(this).find('.cd-timeline-img, .cd-timeline-content').removeClass('is-hidden').addClass('bounce-in');
+ }
+ });
+
+
+
+
+ });
+
+
+
+});
+
+$(".navbar-collapse").css({
+ maxHeight: $(window).height() - $(".navbar-header").height() + "px"
+});
+
+
+function animationPage() {
+
+ var scrollT = $(window).scrollTop();
+ var currentPosition = scrollT + 480;
+ var imageIcon = $('.usecaseimage').offset().top;
+ if (imageIcon < currentPosition) {
+ $(".usecaseimage").addClass('animated bounceIn');
+ } else {
+ $(".usecaseimage").removeClass('animated bounceIn');
+ }
+};
\ No newline at end of file
Propchange: incubator/eagle/site/js/custom.js
------------------------------------------------------------------------------
svn:executable = *