Author: Christian Lopes
Date: 2010-07-15 09:36:13 -0700 (Thu, 15 Jul 2010)
New Revision: 20936
Modified:
cytoscapeweb/trunk/website/default.properties
cytoscapeweb/trunk/website/src/js/content/documentation.js
cytoscapeweb/trunk/website/src/php/content/documentation/list_functions.php
Log:
Fixed documentation links.
Modified: cytoscapeweb/trunk/website/default.properties
===================================================================
--- cytoscapeweb/trunk/website/default.properties 2010-07-15 00:26:46 UTC
(rev 20935)
+++ cytoscapeweb/trunk/website/default.properties 2010-07-15 16:36:13 UTC
(rev 20936)
@@ -1,7 +1,7 @@
# Website version
-build.version=0.3
+build.version=0.3.1
# The released Cytoscape Web version (downloadable zip & API doc)
-cw.build.version=0.5
+cw.build.version=0.5.1
CYTOSCAPEWEB_HOME=../cytoscapeweb
CW_FILE_HOME=../file
\ No newline at end of file
Modified: cytoscapeweb/trunk/website/src/js/content/documentation.js
===================================================================
--- cytoscapeweb/trunk/website/src/js/content/documentation.js 2010-07-15
00:26:46 UTC (rev 20935)
+++ cytoscapeweb/trunk/website/src/js/content/documentation.js 2010-07-15
16:36:13 UTC (rev 20936)
@@ -4,8 +4,6 @@
var matches = $(this).attr("href").match(/\#(.+)/);
$("#content .right a[href=" + matches[0] + "]").click();
-
- return false;
});
});
\ No newline at end of file
Modified:
cytoscapeweb/trunk/website/src/php/content/documentation/list_functions.php
===================================================================
--- cytoscapeweb/trunk/website/src/php/content/documentation/list_functions.php
2010-07-15 00:26:46 UTC (rev 20935)
+++ cytoscapeweb/trunk/website/src/php/content/documentation/list_functions.php
2010-07-15 16:36:13 UTC (rev 20936)
@@ -37,9 +37,9 @@
$cat = $api->cls_name_to_cat_name[$cls_name];
if( $cat == $category_name ){
- return '<a class="class_link direct" href="#' .
short_cls_name($cls_name) . '">' . short_cls_name($cls_name) . '</a>';
+ return '<a class="class_link direct" href="#section/' .
short_cls_name($cls_name) . '">' . short_cls_name($cls_name) . '</a>';
} else {
- return '<a class="class_link" href="/documentation/' .
$api->cls_name_to_cat_name[$cls_name] . '#' . short_cls_name($cls_name) . '">'
. short_cls_name($cls_name) . '</a>';
+ return '<a class="class_link" href="/documentation/' .
$api->cls_name_to_cat_name[$cls_name] . '#section/' . short_cls_name($cls_name)
. '">' . short_cls_name($cls_name) . '</a>';
}
} else {
return short_cls_name($cls_name);
@@ -56,9 +56,9 @@
global $category_name;
if( $cat == $category_name ){
- return '<a class="function_link direct" href="#' . $fn_name .
'">' . $fn_name . '</a>';
+ return '<a class="function_link direct" href="#section/' .
$fn_name . '">' . $fn_name . '</a>';
} else {
- return '<a href="/documentation/' .
$api->cls_name_to_cat_name[$cls_name] . '#' . $fn_name . '">' .
short_cls_name($cls_name) . ' :: ' . $fn_name . '</a>';
+ return '<a href="/documentation/' .
$api->cls_name_to_cat_name[$cls_name] . '#section/' . $fn_name . '">' .
short_cls_name($cls_name) . ' :: ' . $fn_name . '</a>';
}
}
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.