MDL-11681 Changed it so current tab no longer is a link to #

This commit is contained in:
sam_marshall
2007-10-09 16:56:00 +00:00
parent 4388027c37
commit ca3b6e52d1
2 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -6235,7 +6235,8 @@ function convert_tree_to_html($tree, $row=0) {
$str .= (!empty($liclass)) ? '<li class="'.$liclass.'">' : '<li>';
if ($tab->inactive || $tab->active || ($tab->selected && !$tab->linkedwhenselected)) {
$str .= '<a href="#" title="'.$tab->title.'"><span>'.$tab->text.'</span></a>';
// The a tag is used for styling
$str .= '<a class="nolink"><span>'.$tab->text.'</span></a>';
} else {
$str .= '<a href="'.$tab->link.'" title="'.$tab->title.'"><span>'.$tab->text.'</span></a>';
}
+4
View File
@@ -630,6 +630,10 @@ body#grade-index .grades .header {
*** Tabs
***/
.tabtree a.nolink:hover {
text-decoration: none;
}
/***
*** User