2015-04-25, 11:21 PM
Hi there,
I want to a add a multiple custom field with images, something like this:
http://www.marghoobsuleman.com/mywork/jc...index.html
This is the javascript working in the sample:
http://www.marghoobsuleman.com/jquery-image-dropdown
I try to add that code in usercp_profile_profilefields_multiselect, changing the default code:
For this:
But don't work, any idea how to make it work?
Greetings.
I want to a add a multiple custom field with images, something like this:
http://www.marghoobsuleman.com/mywork/jc...index.html
This is the javascript working in the sample:
http://www.marghoobsuleman.com/jquery-image-dropdown
I try to add that code in usercp_profile_profilefields_multiselect, changing the default code:
<select name="profile_fields[$field][]" size="{$profilefield['length']}" multiple="multiple">
{$select}
</select>
For this:
<select name="profile_fields[$field][]" size="{$profilefield['length']}" multiple="multiple">
<option value="{$select}" data-image="images/juegos/{$select}.png">{$select}</option>
</select>
But don't work, any idea how to make it work?
Greetings.