AppJet
My Apps
App Directory
Docs
Forum
Help
sign in
App:
docman-htmldoc2.appjet.net
(by
david
)
Overview
Source
Docs
Comments (0)
Clone This App
view as plaintext
/* appjet:version 0.1 */
page
.
setTitle
(
"
A Potentially Colorful Page
"
)
;
page
.
head
.
write
(
"""
<style>
h1, a { background: white; padding: 0.5em; }
body { background:
"""
+
toHTML
(
request
.
query
)
+
"""
}
</style>
"""
)
;
print
(
H1
(
"
This page comes in different colors.
"
)
)
;
printp
(
link
(
"
/?red
"
,
"
Red
"
)
)
;
printp
(
link
(
"
/?green
"
,
"
Green
"
)
)
;
printp
(
link
(
"
/?blue
"
,
"
Blue
"
)
)
;
© Copyright 2007-2008 AppJet Inc.