Difference between revisions of "SubL/examples.generate-html"

From Public Domain Knowledge Bank
Jump to: navigation, search
Line 6: Line 6:
  
 
<!--
 
<!--
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <--!>
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!--!>
 
<!-->
 
<!-->
 
<html><frameset cols="30%,*">
 
<html><frameset cols="30%,*">

Revision as of 17:48, 9 March 2019

(cb-cf '("c1") )

generates HTML frameset with two frames

  • one with html frame name="index" src="cg?cb-index-frame&c1" i.e. (cb-index-frame '("c1"))
  • and another with html frame name="content" src="cg?cb-content-frame&c1" i.e. (cb-content-frame '("c1"))

<html><frameset cols="30%,*"> <frame name="index" src="cg?cb-index-frame&c1"> <frame </frameset> </html> <--!><--!>

cb-index-frame '("c1"))

generates an index frame for constant 1 #$Lenat

(cb-content-frame '("c1"))

generates a content frame for constant 1 #$Lenat