[parenscript-devel] this.bgcolor
Vladimir Sedach
vsedach at gmail.com
Sun Jun 20 17:56:48 UTC 2010
Parenscript has always had an s-expr HTML markup generator
(http://common-lisp.net/project/parenscript/reference.html#ssection-html-gen).
Or am I being dumb and you're talking about something else?
Vladimir
2010/6/20 Daniel Gackle <danielgackle at gmail.com>:
> If I understand correctly, your problem is that you want to express
> HTML in sexprs à la CL-WHO but with inlined PS expressions
> to dynamically change what gets emitted. Since you want PS
> expressions, you must be generating this HTML at runtime in
> the browser. Is that right?
> It so happens that I got frustrated with doing the same thing
> yesterday and wrote a macro to allow me to inline HTML inside
> PS in this way. Before I post it, though, I want to make sure it
> at least covers all our existing cases.
> Can other people pipe up and explain what they do to generate
> HTML from PS? Is there currently a standard solution better than
> "<div>"+blah+"</div>"?
> Daniel
>
> 2010/6/20 Haris Bogdanović <fbogdanovic at xnet.hr>
>>
>> Hi.
>>
>> How to set bgcolor within td tag (cl-who):
>>
>> (:td (ps (setf bgcolor "blue")))
>>
>> or something like this to get
>>
>> this.bgcolor="blue" ?
>>
>> Thanks
>> _______________________________________________
>> parenscript-devel mailing list
>> parenscript-devel at common-lisp.net
>> http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>>
>
>
> _______________________________________________
> parenscript-devel mailing list
> parenscript-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>
>
More information about the parenscript-devel
mailing list