I've got some multiple select boxes where you can move text from one box to another. I've had some feedback that the boxes should be fixed width, instead of changing size with the data. Only problem is, the data in the boxes is from the database, and variable length. So if I the data changes and I make it too small then some of the text will get truncated (I could probably use code to calculate the length but that will slow things down).
So is it possible to have some kind of thing where the option shows the whole text when you hover over it, like in some windows apps where it shows up in a yellow box?I have not tried it myself, but logic says that this should work:<option value="value" title="This is the full text, but it may be truncated in the option box.">This is the full text, but it may be truncated in the option box.</option>Unfortunately it didn't work but thanks for the suggestion.Like this here (<!-- m --><a class="postlink" href="http://www.webreference.com/js/column16/index.html">http://www.webreference.com/js/column16/index.html</a><!-- m -->)
Also would you know how long the longest text will be if so then you can make that your char width for the boxes
So is it possible to have some kind of thing where the option shows the whole text when you hover over it, like in some windows apps where it shows up in a yellow box?I have not tried it myself, but logic says that this should work:<option value="value" title="This is the full text, but it may be truncated in the option box.">This is the full text, but it may be truncated in the option box.</option>Unfortunately it didn't work but thanks for the suggestion.Like this here (<!-- m --><a class="postlink" href="http://www.webreference.com/js/column16/index.html">http://www.webreference.com/js/column16/index.html</a><!-- m -->)
Also would you know how long the longest text will be if so then you can make that your char width for the boxes