jquery - what does this line of code do?
<p>In the colorbox plugin, I've got this line:</p>

<pre><code>.css({width: getWidth(), overflow: settings.scrolling ? 'auto' : 'hidden'})
</code></pre>

<p>For my purposes, I need the overflow set to 'visible'. If I do this:</p>

<pre><code>.css({width: getWidth(), overflow: settings.scrolling ? 'visible' : 'visible'})
</code></pre>

<p>then everything works fine. But I'd like to understand what's going on (mostly at the end of the line). I'd guess it means something like "if the setting is this then do this, otherwise do this". Is that right? I guess I just don't understand what the syntax is and such.</p>

<p>Thanks.</p>
