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

From Public Domain Knowledge Bank
Jump to: navigation, search
(Created page with "==== (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...")
 
 
(10 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
* 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"))
  
<!--->
+
==== cb-index-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%,*">
+
generates an index frame for constant 1 [[cyc;Lenat|#$Lenat]]
<frame name="index" src="cg?cb-index-frame&c1">
+
 
<frame </frameset>
+
==== (cb-content-frame '("c1")) ====
</html>
+
 
</---!>
+
generates a content frame for constant 1 [[cyc;Lenat|#$Lenat]]

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