Hi,
I'm trying to apply this workaround to have images instead of the usual checkboxes/radio design.
link
according to that I should replace "yourTemplateName" with your template directory name but I'm not sure exactly what line i'm supposed to edit?!
$(document).ready(function(){
var templatePath = $('head link[href*="template.css"]').attr('href').replace(/template.css/, '');
// Apply images to radios
$('input[type="radio"]').imageTick({
// Image to use as a selected state of the radio
tick_image_path: templatePath+"radio.gif",
// Image to use as a non-selected state
no_tick_image_path: templatePath+"no_radio.gif",
// Class to apply to all radio images that are dynamically created
image_tick_class: "radios"
});
// Apply images to checkboxes
$('input[type="checkbox"]').imageTick({
// Image to use as a selected state of the checkbox
tick_image_path: templatePath+"check.gif",
// Image to use as a non-selected state
no_tick_image_path: templatePath+"no_check.gif",
// Class to apply to all checkbox images that are dynamically created
image_tick_class: "checkboxes"
});
});
Peace
/Adam