//This file is just for demo purpose.
//no use in your project :)
// please dont use this file in your project
function showValue(arg, arg2) {
//alert("calling show me: arg1 " + arg + " arg2 " + arg2);
var s = (arg2==undefined) ? '' : "
value: "+ arg2;
$("#selectedvalue").html("label: " + arg + s);
}
function convertNow(byIds) {
//MSDropDown.showIconWithTitle(false);
try {
if(byIds==undefined) {
$("body select").msDropDown({iconHolder:'data-icon'});
} else {
$(byIds).msDropDown({iconHolder:'data-icon'});
}
$("#converta").hide("fast");
//$("#convertBtn").hide("fast");
} catch(e) {
//console.debug(e);
alert(e);
}
$('#info').html('
I would appreciate your feedback.
');
}
var counter = 1;
function output(msg, id) {
if(counter>=100) counter = 1;
var old = $("#output").html();
var sID = (typeof id=="string") ? id : id.id;
$("#output").html((counter++)+": id= "+ sID +" : " + msg+"
"+old);
}
function clearDebugWindow() {
counter = 1;
$("#output").html("");
}
function disabledcombo(id, disabled) {
document.getElementById(id).disabled = disabled;
//custom function
if(document.getElementById(id).refresh!=undefined)
document.getElementById(id).refresh();
}
var cmbOption = new Object();
cmbOption["none"] = new Array("Please select and option");
cmbOption["prestashop"] = new Array("Extra Tab", "Categories Menu", "Add to cart extended", "Image Enlarger");
cmbOption["jquery"] = new Array("Javascript Image dropdown", "Accordion Common", "jQuery Tabs");
cmbOption["component"] = new Array("Magic Text", "Counter Text", "Rounded Text");
function populateCombo(val) {
var targetCombo = 'dynamic';
document.getElementById(targetCombo).options.length =0;
var target_array = cmbOption[val];
for(var i=0;i