0601238e0258b0ae247f8c1aefe85bf50c039405 kate Fri Jan 17 17:25:34 2014 -0800 Make cell abbrev table into a collapsible section to reduce clutter on details page diff --git src/hg/inc/web.h src/hg/inc/web.h index e0b8855..0dcf382 100644 --- src/hg/inc/web.h +++ src/hg/inc/web.h @@ -25,30 +25,37 @@ void webStartWrapperDetailedArgs(struct cart *theCart, char *db, char *headerText, char *format, va_list args, boolean withHttpHeader, boolean withLogo, boolean skipSectionHeader, boolean withHtmlHeader); /* output a CGI and HTML header with the given title in printf format with * quite a few options. See also next: */ void webStartWrapperDetailedNoArgs(struct cart *theCart, char *db, char *headerText, char *format, boolean withHttpHeader, boolean withLogo, boolean skipSectionHeader, boolean withHtmlHeader); /* output a CGI and HTML header with the given title in printf format with * quite a few options. Same as above without va_list args */ void webNewSection(char* format, ...); /* create a new section on the web page */ +void webNewSectionHeaderStart(); +/* Start a new collapsible section on the web page, with +- control. + Allows use of jsBeginCollapsibleSection() */ + +void webNewSectionHeaderEnd(); +/* Properly close header of collapsible section on web page */ + void webEnd(); /* output the footer of the HTML page */ void webEndSectionTables(); /* Finish with section tables (but don't do /BODY /HTML lik * webEnd does. */ void webVaWarn(char *format, va_list args); /* Warning handler that closes off web page. */ boolean webGotWarnings(); /* Return TRUE if webVaWarn has been called. */ void webAbort(char* title, char* format, ...); /* an abort function that outputs a error page */