Skip to content

Commit

Permalink
#541: additional example, cannot reproduce error on Chrome or IE 10.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidstutz committed May 25, 2015
1 parent 0d50ee7 commit 47bf17e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1099,6 +1099,38 @@ <h2 id="configuration-options">Configuration Options</h2>
});
&lt;/script&gt;
</pre>
</div>

<p>
This does also work for long options:
</p>

<div class="example">
<script type="text/javascript">
$(document).ready(function() {
$('#example-buttonWidth-overflow-option').multiselect({
buttonWidth: '150px'
});
});
</script>
<select id="example-buttonWidth-overflow-option" multiple="multiple">
<option value="1" selected>Long Long Long Option 1</option>
<option value="2">Very Very Long Option 2</option>
<option value="3">Even Longer Option 3</option>
<option value="4">Ridiculous Long Option 4</option>
</select>
</div>
<div class="highlight">
<pre class="prettyprint linenums">
&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function() {
$('#example-buttonWidth-overflow').multiselect({
buttonWidth: '150px'
});
});
&lt;/script&gt;
</pre>
</div>
</td>
</tr>
<tr>
Expand Down

0 comments on commit 47bf17e

Please sign in to comment.