Jquery - If DIV is shown //do something
<p>I have a slot machine plugin here that rotates UL's and shows one of them randomly.</p>

<p>I would like the shown UL to set a value.</p>

<p>Something like this:</p>

<pre><code>if ($("#1").is(":visible") == true) {
 dial.setValue(8);
};
</code></pre>

<p>Hope you can help.</p>

<p>Thanks.</p>
