Hi Paul,<br><br>thank you, I have it running now with custom icons.<br><br>Sabine<br><br><div class="gmail_quote">On Wed, Jan 30, 2013 at 9:33 PM, Paul DeBruicker <span dir="ltr">&lt;<a href="mailto:pdebruic@gmail.com" target="_blank">pdebruic@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sabine,<br>
<br>
I haven&#39;t looked at that since shortly after I uploaded it.  I decided<br>
to stick to the native elements for my project.  The JS code in<br>
Squeaksource may be outdated or just not work with whichever version of<br>
jQuery you&#39;re using so check that the version the SelectMenu expects<br>
works with your version of jQuery.<br>
<br>
&gt;From looking at the docs for the plugin it looks like they&#39;re adding it<br>
to jQuery UI (<a href="https://github.com/fnagel/jquery-ui/issues/140" target="_blank">https://github.com/fnagel/jquery-ui/issues/140</a>) so it<br>
should become easier to use and better documented once that is released<br>
and the seaside packages are updated.<br>
<br>
<br>
My best guesses for the version on Squeaksource you probably need:<br>
<br>
for icons:<br>
<br>
        make an array of Dictionaries. Each dictionary has a &#39;find&#39; key and<br>
value that is a jQuery selector. (e.g. &#39;$(&quot;#myId&quot;)&#39; ) and a &#39;icon&#39; key<br>
with value that is a icon name from those shown here:<br>
<a href="http://jqueryui.com/themeroller/#!icons=undefined" target="_blank">http://jqueryui.com/themeroller/#!icons=undefined</a> . e.g.<br>
&#39;.ui-icon-carat-1-n&#39;  Then pass that array of dictionaries to the<br>
#icons: method<br>
<br>
<br>
for bgImage:<br>
<br>
         it needs to be a function that generates a valid css string so<br>
something that returns something like:<br>
&#39;#CCC<br>
url(<a href="http://old.jqueryui.com/themeroller/images/?new=cccccc&amp;w=1&amp;h=100&amp;f=png&amp;q=100&amp;fltr%5B%5D=over%7Ctextures%2F03_highlight_soft.png%7C0%7C0%7C75" target="_blank">http://old.jqueryui.com/themeroller/images/?new=cccccc&amp;w=1&amp;h=100&amp;f=png&amp;q=100&amp;fltr%5B%5D=over%7Ctextures%2F03_highlight_soft.png%7C0%7C0%7C75</a>)<br>


50% 50% repeat-x&#39;<br>
<br>
so if that was your desired css for the background image was and you<br>
didn&#39;t want to do any computation to determine what the css was going to<br>
be you could just:<br>
<br>
bgIcons:(JSStream on: &#39;return &quot;#CCC<br>
url(<a href="http://old.jqueryui.com/themeroller/images/?new=cccccc&amp;w=1&amp;h=100&amp;f=png&amp;q=100&amp;fltr%5B%5D=over%7Ctextures%2F03_highlight_soft.png%7C0%7C0%7C75" target="_blank">http://old.jqueryui.com/themeroller/images/?new=cccccc&amp;w=1&amp;h=100&amp;f=png&amp;q=100&amp;fltr%5B%5D=over%7Ctextures%2F03_highlight_soft.png%7C0%7C0%7C75</a>)<br>


50% 50% repeat-x&quot;&#39;) asFunction;<br>
<br>
<br>
<br>
<br>
<br>
<br>
Good luck and if it were me I&#39;d just muddle along with native stuff<br>
until jQuery-UI includes SelectMenu as a fully supported UI element.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On 01/30/2013 12:50 AM, Sabine Knöfel wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I need an example how to use<br>
&gt;<br>
&gt; JQSelectMenu&gt;&gt;bgImage: and<br>
&gt; JQSelectMenu&gt;&gt;icons:<br>
&gt;<br>
&gt; The JQSelectMenu is part of JQWidgetBox.<br>
&gt;<br>
&gt; It works fine but I did not succeed in adding Icons/bg images.<br>
&gt;<br>
&gt; A code example from someone who is using it would help me<br>
&gt;<br>
&gt; Sabine<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; View this message in context: <a href="http://forum.world.st/JQSelectMenu-bgImage-tp4666503.html" target="_blank">http://forum.world.st/JQSelectMenu-bgImage-tp4666503.html</a><br>
&gt; Sent from the Seaside General mailing list archive at Nabble.com.<br>
&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<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" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br>