[parenscript-devel] this.bgcolor

Daniel Gackle danielgackle at gmail.com
Sun Jun 20 19:41:37 UTC 2010


<Or am I being dumb and you're talking about something else? >

Not at all, I forgot about it. I think it didn't do what I wanted way
back when, but I'll check it out again and report back. Thanks for
reminding me.

Dan

On Sun, Jun 20, 2010 at 11:56 AM, Vladimir Sedach <vsedach at gmail.com> wrote:

> 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
> >
> >
>
> _______________________________________________
> parenscript-devel mailing list
> parenscript-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/parenscript-devel/attachments/20100620/acb736c9/attachment.html>


More information about the parenscript-devel mailing list