<div>I confirm what Boris said, </div>
<div>I already did stuff like that and it works great !</div>
<div>&nbsp;</div>
<div>Sylvain<br><br>&nbsp;</div>
<div><span class="gmail_quote">2007/5/10, Boris Popov &lt;<a href="mailto:boris@deepcovelabs.com">boris@deepcovelabs.com</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">MyComponent&gt;&gt;style<br>^&#39;.testArea {background-color: &#39;, self session user preferredColor,<br>
&#39;;}&#39;<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>&gt; -----Original Message-----<br>&gt; From: 
<a href="mailto:seaside-bounces@lists.squeakfoundation.org">seaside-bounces@lists.squeakfoundation.org</a> [mailto:<a href="mailto:seaside-">seaside-</a><br>&gt; <a href="mailto:bounces@lists.squeakfoundation.org">bounces@lists.squeakfoundation.org
</a>] On Behalf Of dirk newbold<br>&gt; Sent: Thursday, May 10, 2007 12:38 PM<br>&gt; To: Seaside - general discussion<br>&gt; Subject: [Seaside] Smalltalk Variable into CSS Style Method<br>&gt;<br>&gt; All,<br>&gt;<br>&gt; In an attempt to copy the MySpace effect where a user controls the CSS
<br>of<br>&gt; their own page, is it possible to achieve that simply by passing a<br>&gt; Smalltalk object into the CSS &#39;style&#39; Method???<br>&gt;<br>&gt; I&#39;ve been playing around but can&#39;t get it to work.<br>
&gt;<br>&gt; For example let&#39;s say the user has set:<br>&gt; testColor := &#39;#000099&#39;<br>&gt;<br>&gt; How do I pass that into the Style Method - I&#39;m guessing that Smalltalk<br>&gt; code must be surrounded by &lt;* ..... *&gt; as the &#39;style&#39; Method reads as
<br>per<br>&gt; normal html - is this correct?.<br>&gt; So if I have my divClass as follows:<br>&gt;<br>&gt; .testArea {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;float: left;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border: 1px solid boack<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color: &lt;* WHAT DO I PUT IN HERE? *&gt;
<br>&gt; }<br>&gt;<br>&gt; Cheers,<br>&gt;<br>&gt; Dirk<br>&gt;<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>