Different MultiLookup width, different results in IE and other browsers

Mar 11, 2012 at 2:31 PM

Hi! I connected jQuery and SPServices library and trying to use $().SPServices.SPSetMultiSelectSizes:

 

<script language="javascript" type="text/javascript" src="http://localhost/Shared%20Documents/jquery-1.7.1.min.js"></script>
<script language="javascript" type="text/javascript" src="http://localhost/Shared%20Documents/jquery.SPServices-0.7.1a.min.js"></script>

<script type="text/javascript">
$(document).ready(function() {
  $().SPServices.SPSetMultiSelectSizes({
    multiSelectColumn: "ML"
  });
  // You can include other script which you want to run at page load in this block as well
});</script>

 

It is Ok with Pale Moon(Firefox) and Chrome, but looks broken in IE8:

Image Hosted by ImageShack.us
 Image Hosted by ImageShack.us

Coordinator
Mar 12, 2012 at 1:37 AM
Edited Mar 12, 2012 at 1:38 AM

Rockie:

I'm not sure which screenshot is which, but you may want to specify the minWidth option if you have such short values.

M.

Coordinator
Mar 12, 2012 at 1:39 AM

p.s. As for your other question "It's very interestnig, I'll try it now. But is there function that changes height?", no, I haven't built that into this function. Setting the height with jQuery is much simpler, so you should be able to do it fairly easily.

M.

Mar 12, 2012 at 2:59 PM

sympmarc, great! setting minwidth helped!

Thank You for Your great work!