incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z..@apache.org
Subject svn commit: r1053135 - /incubator/aries/branches/site/trunk/content/resources/menus.js
Date Mon, 27 Dec 2010 18:51:59 GMT
Author: zoe
Date: Mon Dec 27 18:51:59 2010
New Revision: 1053135

URL: http://svn.apache.org/viewvc?rev=1053135&view=rev
Log:
fix urls

Modified:
    incubator/aries/branches/site/trunk/content/resources/menus.js

Modified: incubator/aries/branches/site/trunk/content/resources/menus.js
URL: http://svn.apache.org/viewvc/incubator/aries/branches/site/trunk/content/resources/menus.js?rev=1053135&r1=1053134&r2=1053135&view=diff
==============================================================================
--- incubator/aries/branches/site/trunk/content/resources/menus.js (original)
+++ incubator/aries/branches/site/trunk/content/resources/menus.js Mon Dec 27 18:51:59 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