File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -803,11 +803,12 @@ url = {http://statnetproject.org}
803803 uiOutput(" listofterms" )
804804 ),
805805 div(id = " termdocbox" ,
806- verbatimTextOutput(" termdoc" )),
807- fluidRow(align = " center" ,
808- div(id = " termexpand" ,
809- icon(name = " angle-double-down" , class = " fa-2x" ))
810- )
806+ verbatimTextOutput(" termdoc" ),
807+ fluidRow(align = " center" ,
808+ div(id = " termexpand" ,
809+ icon(name = " angle-double-down" , class = " fa-2x" ))
810+ ))
811+
811812 ),
812813 tabPanel(" Control Options" ,
813814 fluidRow(
@@ -852,6 +853,7 @@ url = {http://statnetproject.org}
852853 ))
853854 )
854855 ),
856+ br(),br(),
855857 fluidRow(
856858 column(2 ,
857859 p(' Current ergm formula:' )),
Original file line number Diff line number Diff line change @@ -90,6 +90,19 @@ $(document).ready(function(){
9090 $ ( ".chromewarningbox" ) . toggle ( 500 ) ;
9191 } ) ;
9292
93+ $ ( "#termexpand" ) . click ( function ( ) {
94+ if ( $ ( "#termdocbox" ) . height ( ) < 100 ) {
95+ $ ( "#termdocbox" ) . css ( {
96+ "max-height" :"250px"
97+ } ) ;
98+ } else {
99+ $ ( "#termdocbox" ) . css ( {
100+ "max-height" :"75px"
101+ } ) ;
102+ }
103+
104+ } ) ;
105+
93106 $ ( "#mcmchelper" ) . click ( function ( ) {
94107 $ ( "#mcmchelpbox" ) . toggle ( 500 ) ;
95108 } ) ;
Original file line number Diff line number Diff line change @@ -223,12 +223,14 @@ div .mcmcopt {
223223 border : none;
224224}
225225# termdocbox {
226+ position : absolute;
226227 max-height : 75px ;
227228 border : 1px solid # CECED8 ;
228229 border-radius : 5px ;
229230 overflow : scroll;
230231}
231232# termexpand {
233+ position : absolute;
232234 width : 50px ;
233235 height : 22px ;
234236 margin-bottom : 2px ;
You can’t perform that action at this time.
0 commit comments