[url]http://www.mypocket-technologies.com/jquery/SelectBoxPlugin/
I have spent the whole day trying to get this custom selectbox to automatically slide up after an option is selected.
So far I only accomplished preventing the selected option from showing after contracting the box, but I cannot for the life of me get the box to automatically contract after an option is selected.
I have tried adding these two lines:
[CODE]jQuery(this).removeClass(classselectboxopen).addClass(classselectbox);
jQuery(this).parent().find(selectboxoptions_wrap).slideUp(“fast”);
after:
[CODE]if(boxtype.indexOf(“selectboxoptions_radio”) >-1)
{
if(!jQuery(this).hasClass(classselected))
{
however this has no effect.
Can anyone look into the code and help me out?