<div>I confirm what Boris said, </div>
<div>I already did stuff like that and it works great !</div>
<div> </div>
<div>Sylvain<br><br> </div>
<div><span class="gmail_quote">2007/5/10, Boris Popov <<a href="mailto:boris@deepcovelabs.com">boris@deepcovelabs.com</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">MyComponent>>style<br>^'.testArea {background-color: ', self session user preferredColor,<br>
';}'<br><br>Hope this helps,<br><br>-Boris<br><br>--<br>+1.604.689.0322<br>DeepCove Labs Ltd.<br>4th floor 595 Howe Street<br>Vancouver, Canada V6C 2T5<br><a href="http://tinyurl.com/r7uw4">http://tinyurl.com/r7uw4
</a><br><br><a href="mailto:boris@deepcovelabs.com">boris@deepcovelabs.com</a><br><br>CONFIDENTIALITY NOTICE<br><br>This email is intended only for the persons named in the message<br>header. Unless otherwise indicated, it contains information that is
<br>private and confidential. If you have received it in error, please<br>notify the sender and delete the entire message including any<br>attachments.<br><br>Thank you.<br><br>> -----Original Message-----<br>> From:
<a href="mailto:seaside-bounces@lists.squeakfoundation.org">seaside-bounces@lists.squeakfoundation.org</a> [mailto:<a href="mailto:seaside-">seaside-</a><br>> <a href="mailto:bounces@lists.squeakfoundation.org">bounces@lists.squeakfoundation.org
</a>] On Behalf Of dirk newbold<br>> Sent: Thursday, May 10, 2007 12:38 PM<br>> To: Seaside - general discussion<br>> Subject: [Seaside] Smalltalk Variable into CSS Style Method<br>><br>> All,<br>><br>> In an attempt to copy the MySpace effect where a user controls the CSS
<br>of<br>> their own page, is it possible to achieve that simply by passing a<br>> Smalltalk object into the CSS 'style' Method???<br>><br>> I've been playing around but can't get it to work.<br>
><br>> For example let's say the user has set:<br>> testColor := '#000099'<br>><br>> How do I pass that into the Style Method - I'm guessing that Smalltalk<br>> code must be surrounded by <* ..... *> as the 'style' Method reads as
<br>per<br>> normal html - is this correct?.<br>> So if I have my divClass as follows:<br>><br>> .testArea {<br>> float: left;<br>> border: 1px solid boack<br>> background-color: <* WHAT DO I PUT IN HERE? *>
<br>> }<br>><br>> Cheers,<br>><br>> Dirk<br>><br>_______________________________________________<br>Seaside mailing list<br><a href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org
</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br></blockquote></div><br>