html-utils

Method summary
html-pprint-list (thing list) (first-el t) &optional (append "")
make-html (object t) &key &allow-other-keys
make-html (blackboard blackboard) &key
Function summary
draw-node-with-children node children &key (right-to-left nil) (color "#888") (width "10px") (line-width "1px") (style "solid")
expand-or-collapse-node-aux id expand?
expand/collapse-example
get-color-for-symbol symbol-name
get-wi-object id-string
html-hide-rest-of-long-list list threshold draw-fn
html-hide-rest-of-long-list-example
html-length-list lst
html-pprint thing &key max-width
html-pprint-aux thing &optional (append "")
html-pprint-example
html-pprint-list-aux lst &optional (append "")
make-div-with-menu &key menu-items div-attributes div-children
make-div-with-menu-example
make-expand/collapse-all-link expand/collapse-all-id content &optional expand-title collapse-title
make-expand/collapse-all-link-parameters expand/collapse-all-id expand? &optional title
make-expand/collapse-link-parameters element-id expand? &optional title
make-expandable/collapsable-element element-id expand/collapse-all-id collapsed-element expanded-element &key (expand-initially nil)
make-response-link-parameters response
make-toggle-display-style-all-link-parameters element-name display-value-1 display-value-2 title
make-toggle-display-style-link-parameters element-id display-value-1 display-value-2 title
reset-expandable/collapsable-elements
reset-html-pprint
reset-wi-objects
store-wi-object object id
tree-drawing-example
wait-for-response
wait-for-response-example
*expandable/collapsable-elements*    [Variable]
*expand/collapse-all-ids*    [Variable]
*colors*    [Variable]

colors for highlighing symbols

*symbol-name->color*    [Variable]

makes sure that all instances of the same symbol get the same background color

*response*    [Variable]
*wi-objects*    [Variable]
html-pprint-list   (thing list) (first-el t) &optional (append "")  [Method]
make-html   (object t) &key &allow-other-keys  [Method]
make-html   (blackboard blackboard) &key  [Method]
draw-node-with-children   node children &key (right-to-left nil) (color "#888") (width "10px") (line-width "1px") (style "solid")  [Function]
tree-drawing-example    [Function]
make-toggle-display-style-link-parameters   element-id display-value-1 display-value-2 title  [Function]

to be used when creating a <a >click</a> link for setting display style

make-toggle-display-style-all-link-parameters   element-name display-value-1 display-value-2 title  [Function]

to be used when creating a <a >click</a> link for setting display style

reset-expandable/collapsable-elements    [Function]
make-expandable/collapsable-element   element-id expand/collapse-all-id collapsed-element expanded-element &key (expand-initially nil)  [Function]

Adds both the expanded and the collapsed version to the hashtable and packages the collapsed version into a properly named div.

make-expand/collapse-link-parameters   element-id expand? &optional title  [Function]

to be used when creating a <a >click</a> link for expanding/ collapsing nodes

make-expand/collapse-all-link-parameters   expand/collapse-all-id expand? &optional title  [Function]

can be used to create collapse-all/ expand-all links

make-expand/collapse-all-link   expand/collapse-all-id content &optional expand-title collapse-title  [Function]

A helper function that creates an <a ../> element for expanding/ collapsing a group of elements

expand-or-collapse-node-aux   id expand?  [Function]

A helper function that sends the correct version of an element to the browser

expand/collapse-example    [Function]
reset-html-pprint    [Function]
get-color-for-symbol   symbol-name  [Function]

Returns for the same symbols the same color

html-length-list   lst  [Function]
html-pprint-list-aux   lst &optional (append "")  [Function]

Avoids the web interface from crashing when the list contains (x . y)

html-pprint-aux   thing &optional (append "")  [Function]
html-pprint   thing &key max-width  [Function]

Creates html code for displaying an x-expression in the web browser. The result lookes like coming from pprint (proper indention), but the layout is dynamic depending on the available width.

html-pprint-example    [Function]
html-hide-rest-of-long-list   list threshold draw-fn  [Function]

Appends the result of draw-fn to every element in list. When the list is longer than 'threshold' elements, then only the first elements are shown together with a link for expanding the rest.

html-hide-rest-of-long-list-example    [Function]
make-div-with-menu   &key menu-items div-attributes div-children  [Function]

Makes a div that shows a menu above when the mouse is over it.

make-div-with-menu-example    [Function]
make-response-link-parameters   response  [Function]
wait-for-response    [Function]
wait-for-response-example    [Function]
reset-wi-objects    [Function]
store-wi-object   object id  [Function]
get-wi-object   id-string  [Function]