incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r781783 - /websites/staging/aries/trunk/content/resources/menus.js
Date Mon, 27 Dec 2010 18:52:07 GMT
Author: buildbot
Date: Mon Dec 27 18:52:07 2010
New Revision: 781783

Log:
Staging update by buildbot

Modified:
    websites/staging/aries/trunk/content/resources/menus.js

Modified: websites/staging/aries/trunk/content/resources/menus.js
==============================================================================
--- websites/staging/aries/trunk/content/resources/menus.js (original)
+++ websites/staging/aries/trunk/content/resources/menus.js Mon Dec 27 18:52:07 2010
@@ -28,10 +28,11 @@ if (document.getElementById){ 
 
 // Keep the navigation menu open if the page is a sub directory of that area.
 function SetMenu() {
-	var open = 'url("/images/BigBulletOpen.png")';
+	var open = 'url("http://incubator.apache.org/aries/images/BigBulletOpen.png")';
 	var path = document.location.href;
 	var fields = path.split("/"); 
-	var ident = fields[3];
+        //will need to switch to 3 when website changes on graduation
+	var ident = fields[4];
     if(ident != "") {
     	var docel = document.getElementById(ident);
         var title = document.getElementById(ident+'Title');
@@ -43,8 +44,8 @@ function SetMenu() {
 //Switch navigation pane menu between open and closed on click.
 function SwitchMenu(obj)
 {
-var open = 'url("/images/BigBulletOpen.png")';
-var close = 'url("/images/BigBullet.png")';
+var open = 'url("http://incubator.apache.org/aries/images/BigBulletOpen.png")';
+var close = 'url("http://incubator.apache.org/aries/images/BigBullet.png")';
   if(document.getElementById)  {
     var el = document.getElementById(obj);
     var title = document.getElementById(obj+'Title');



Mime
View raw message