Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
git-svn-id: svn://cherokee-project.com/CTK/trunk@4237 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information
alobbs committed Feb 11, 2010
1 parent 15b01c0 commit e468453
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 23 deletions.
9 changes: 9 additions & 0 deletions static/css/CTK.css
Expand Up @@ -80,3 +80,12 @@ h1 { color: #c00; font-weight: normal; }
/* Optional text entries
*/
.optional { color: #ccc; }


/* Help menu
*/
.help {
position: fixed;
top: 0;
right: 0;
}
23 changes: 0 additions & 23 deletions static/js/Help.js
Expand Up @@ -20,39 +20,16 @@
* 02110-1301, USA.
*/

/*
<div class="help">
<div class="help_entry"><a href="/help/General Configuration.html">config_general</a></div>
<div class="help_entry"><a href="/help/Configuration Quickstart.html">config_quickstart</a></div>
<div class="help_group" id="help_group_help_server!collector">
<div class="help_group" id="help_group_rrd">
<div class="help_entry"><a href="/help/prueba.html">prueeeeeeeba</a></div>
</div>
<div class="help_group" id="help_group_post_track">
<div class="help_entry"><a href="/help/modules_handlers_post_report.html">POST Report</a></div>
</div>
</div>
<div class="help_group" id="help_group_help_server!post_track">
<div class="help_group" id="help_group_post_track">
<div class="help_entry"><a href="/help/modules_handlers_post_report.html">POST Report</a></div>
</div>
</div>
</div>
*/

function Help_update_group (group_prefix, active_value) {
prefix = group_prefix.replace('!','_');

/* Hide all the entries */
selector = '.help #help_group_'+prefix;
$(selector).children().each(function(){
$(this).hide();
//console.log ('Hides #'+this.id);
});

/* Show the right group */
selector = '.help #help_group_'+prefix+' #help_group_'+active_value;
$(selector).show();

//console.log ("Show: #"+$(selector).attr('id'));
}

0 comments on commit e468453

Please sign in to comment.