(defpackage #:clog-user (:use #:cl #:clog) (:export start-demo)) (in-package :clog-user) (defun start-demo () "How to allow only one CLOG app to be executed. Normally many browsers can can be started with the same app." (clog:initialize (lambda (win) (let ((click-target (clog:create-child win "

Hello World!

"))) (clog:set-on-click click-target (lambda () (clog:create-child win "

You Clicked me!

"))) (clog:set-on-new-window (lambda (win) (clog:put-br (clog:html-document win) "Only single connection premitted.")))))) (clog:open-browser))