[Seaside] Smalltalk Variable into CSS Style Method
dirkdirk at gmail.com
Thu May 10 19:37:45 UTC 2007
In an attempt to copy the MySpace effect where a user controls the CSS of
their own page, is it possible to achieve that simply by passing a Smalltalk
object into the CSS 'style' Method???
I've been playing around but can't get it to work.
For example let's say the user has set:
testColor := '#000099'
How do I pass that into the Style Method - I'm guessing that Smalltalk code
must be surrounded by <* ..... *> as the 'style' Method reads as per normal
html - is this correct?.
So if I have my divClass as follows:
border: 1px solid boack
background-color: <* *WHAT DO I PUT IN HERE?* *>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside