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

From Public Domain Knowledge Bank
Jump to: navigation, search
 
Line 4: Line 4:
 
* one with html frame name="index" src="cg?cb-index-frame&c1" i.e. (cb-index-frame '("c1"))
 
* 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"))
 
* and another with html frame name="content" src="cg?cb-content-frame&c1" i.e. (cb-content-frame '("c1"))
 
<!--
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!--!>
 
<!-->
 
<html><frameset cols="30%,*">
 
<frame name="index" src="cg?cb-index-frame&c1">
 
<frame </frameset>
 
</html>
 
<--!><--!>
 
  
 
==== cb-index-frame '("c1")) ====
 
==== cb-index-frame '("c1")) ====

Latest revision as of 17:49, 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"))

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

generates an index frame for constant 1 #$Lenat

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

generates a content frame for constant 1 #$Lenat