').appendTo('#sw-mystart-left'); $("#gb-translate-dropdown .dropdown").creativeTranslate({ "type": 2, // 1 = FRAMESET, 2 = BRANDED, 3 = API "advancedOptions": { "addMethod": "prepend", // PREPEND OR APPEND THE TRANSLATE ELEMENT "dropdownHandleText": "Translate", // ONLY FOR FRAMESET AND API VERSIONS "useTranslatedNames": true // ONLY FOR FRAMESET AND API VERSIONS - true = TRANSLATED LANGUAGE NAME, false = ENGLISH LANGUAGE NAME } }); $("#gb-translate-dropdown").addClass("branded"); } else { $("#gb-translate-dropdown .dropdown").creativeTranslate({ "type": 1, // 1 = FRAMESET, 2 = BRANDED, 3 = API "advancedOptions": { "addMethod": "prepend", // PREPEND OR APPEND THE TRANSLATE ELEMENT "dropdownHandleText": "Translate", // ONLY FOR FRAMESET AND API VERSIONS "customElement": { // ONLY FOR FRAMESET AND API VERSIONS "useCustomElement": true, "translateItemsList": false, // true = THE TRANSLATE ITEMS WILL BE AN UNORDERED LIST, false = THE TRANSLATE ITEMS WILL JUST BE A COLLECTION OF TAGS "customElementMarkup": "[$CreativeTranslateListItems$]" // CUSTOM HTML MARKUP THAT MAKES THE CUSTOM TRANSLATE ELEMENT/STRUCTURE - USE [$CreativeTranslateListItems$] ACTIVE BLOCK IN THE MARKUP WHERE THE TRANSLATE ITEMS SHOULD BE ADDED }, "useTranslatedNames": true // ONLY FOR FRAMESET AND API VERSIONS - true = TRANSLATED LANGUAGE NAME, false = ENGLISH LANGUAGE NAME }, "translateLoaded": function() { $('#gb-translate-dropdown .dropdown a').each(function(){ $(this).wrap('