You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metamodel.apache.org by bu...@apache.org on 2014/12/23 08:16:01 UTC

svn commit: r933725 - in /websites/staging/metamodel/trunk/content: ./ index.html

Author: buildbot
Date: Tue Dec 23 07:16:00 2014
New Revision: 933725

Log:
Staging update by buildbot for metamodel

Modified:
    websites/staging/metamodel/trunk/content/   (props changed)
    websites/staging/metamodel/trunk/content/index.html

Propchange: websites/staging/metamodel/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Dec 23 07:16:00 2014
@@ -1 +1 @@
-1647433
+1647493

Modified: websites/staging/metamodel/trunk/content/index.html
==============================================================================
--- websites/staging/metamodel/trunk/content/index.html (original)
+++ websites/staging/metamodel/trunk/content/index.html Tue Dec 23 07:16:00 2014
@@ -11,14 +11,33 @@
 	media="screen">
 <link href="css/prettify-metamodel.css" rel="stylesheet" type="text/css"
 	media="screen" />
-<link href="css/metamodel.css" rel="stylesheet" type="text/css"
+<link href="css/metamodel.css?v=2" rel="stylesheet" type="text/css"
 	media="screen">
 
 <script type="text/javascript"
 	src="js/google-code-prettify/run_prettify.js?skin=desert"></script>
 <script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
 <script type="text/javascript" src="js/bootstrap.min.js"></script>
+<script type="text/javascript">
+//<![CDATA[
+$(document).ready(function() {
+	$('a[href^="#"]').on('click', function(e) {
+		// animate hash based anchors
+		e.preventDefault();
 
+		var target = this.hash, $target = $(target);
+
+		$('html, body').stop().animate({
+			'scrollTop' : $target.offset().top
+		}, 900, 'swing', function() {
+			// do nothing, forget the hash
+
+			// window.location.hash = target;
+		});
+	});
+});
+//]]>
+</script>
 </head>
 
 <body data-spy="scroll" data-target="#nav-metamodel">
@@ -34,8 +53,7 @@
 						class="icon-bar"></span> <span class="icon-bar"></span> <span
 						class="icon-bar"></span>
 				</button>
-				<a class="navbar-brand" style="padding: 0px" href="/"> </a> <a
-					class="navbar-brand" href="#">Apache MetaModel</a>
+				<a class="navbar-brand" href="/">Apache MetaModel</a>
 			</div>
 
 			<div id="navbar" class="collapse navbar-collapse">