PluginProbe
Tagembed: Social Media Feeds and Customer Reviews Widget / 7.8
Tagembed: Social Media Feeds and Customer Reviews Widget v7.8
7.8 7.5 7.6 7.7 7.4 trunk 3.10 3.9 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 5.0 5.1 5.2 5.3 5.4 5.5 5.6 All 43 releases
tagembed-widget / assets / js / customize / tagembed.customize.script.js

tagembed.customize.script.js in Tagembed: Social Media Feeds and Customer Reviews Widget 7.8, at assets/js/customize/tagembed.customize.script.js

405 lines 22.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 window.addEventListener ? window.addEventListener("load", __tagembed__getCustomizationOption, false) : window.attachEvent && window.attachEvent("onload", __tagembed__getCustomizationOption);
2 function __tagembed__getCustomizationOption() {
3 /*Manage Customizaton Section Hide Show*/
4 document.querySelector("#__tagembed__customization_section").style.display = "none";
5 let widgetId = document.querySelector("#__tagembed__widgets").selectedOptions[0];
6 widgetId = widgetId.value.split('#')[0];
7 let __tagembed__toast = new TagembedToast;
8 let formData = new FormData();
9 formData.append('action', 'tagembed_data');
10 formData.append('widgetId', widgetId);
11 formData.append('__tagembed__ajax_call_nones', __tagembed__ajax_call_nones);
12 formData.append('__tagembed__ajax_action', '__tagembed__get_customization_option');
13 __tagembed__open_loader();
14 fetch(__tagembed__ajax_url, {
15 method: 'POST',
16 headers: {
17 'x-requested-with': 'XMLHttpRequest',
18 },
19 body: formData,
20 }).then(response => {
21 return response.json()
22 }).then(response => {
23 __tagembed__close_loader();
24 if (response.status == true) {
25 __tagembed__manageCustomizationOptions(response.data);
26 __tagembed__manageBlockAndUnblockSection(response.data.ThemeRule.inheritStyles);
27 } else {
28 if (response.hasOwnProperty("message")) {
29 __tagembed__toast.danger({ message: response.message, position: '__tagembed__is-top-right' });
30 } else {
31 __tagembed__toast.danger({ message: "Something went wrong. Please try after sometime", position: '__tagembed__is-top-right' });
32 }
33 }
34 }).catch((error) => {
35 console.log(error);
36 __tagembed__close_loader();
37 __tagembed__toast.danger({ message: "Something went wrong. Please try after sometime", position: '__tagembed__is-top-right' });
38 });
39 }
40 /*--Start-- Manage Inherit Styles Customize Options */
41 function __tagembed__manageBlockAndUnblockSection(inheritStylesValue) {
42 if (inheritStylesValue == "1") {
43 document.querySelector("#__tagembed__inherit_styles_auther_font_color").classList.add("__tagembed__inherit_styles_font_color");
44 document.querySelector("#__tagembed__inherit_styles_font_color").classList.add("__tagembed__inherit_styles_font_color");
45 document.querySelector("#__tagembed__inherit_styles_font_size").classList.add("__tagembed__inherit_styles_font_size");
46 }
47 if (inheritStylesValue == "0") {
48 document.querySelector("#__tagembed__inherit_styles_auther_font_color").classList.remove("__tagembed__inherit_styles_font_color");
49 document.querySelector("#__tagembed__inherit_styles_font_color").classList.remove("__tagembed__inherit_styles_font_color");
50 document.querySelector("#__tagembed__inherit_styles_font_size").classList.remove("__tagembed__inherit_styles_font_size");
51 }
52 }
53 function __tagembed__manageInheritStylesCustomizeOptions() {
54 let __tagembed__show_is_ck = document.querySelector("#__tagembed__show_is_ck");
55 if (__tagembed__show_is_ck.checked) {
56 __tagembed__manageBlockAndUnblockSection("1");
57 } else {
58 __tagembed__manageBlockAndUnblockSection("0");
59 }
60 }
61 /*--End-- Manage Inherit Styles Customize Options */
62 /*--Start-- Manage Customization Options*/
63 function __tagembed__manageCustomizationOptions(__tagembed__customizationsOptions) {
64 document.querySelector("#__tagembed__personalization_id").value = __tagembed__customizationsOptions.Personalization.id;
65 document.querySelector("#__tagembed__themeRule_id").value = __tagembed__customizationsOptions.ThemeRule.id;
66
67 /*--Start-- Manage Layout Setting*/
68 document.querySelector("#__tagembed__featured_popup").checked = false;
69 document.querySelector("#__tagembed__direct_to_source").checked = false;
70 document.querySelector("#__tagembed__none").checked = false;
71 if (__tagembed__customizationsOptions.Personalization.postFeatured == 1)
72 document.querySelector("#__tagembed__featured_popup").checked = true;
73 if (__tagembed__customizationsOptions.Personalization.mobilePopup == 1)
74 document.querySelector("#__tagembed__direct_to_source").checked = true;
75 if (__tagembed__customizationsOptions.Personalization.postFeatured == 0 && __tagembed__customizationsOptions.Personalization.mobilePopup == 0)
76 document.querySelector("#__tagembed__none").checked = true;
77 document.querySelector("#__tagembed__total_noptd").value = __tagembed__customizationsOptions.ThemeRule.numberOfPosts;
78 document.querySelector("#__tagembed__hide_top_ck").checked = false;
79 if (__tagembed__customizationsOptions.Personalization.postText == 1)
80 document.querySelector("#__tagembed__hide_top_ck").checked = true;
81 document.querySelector("#__tagembed__ps").value = __tagembed__customizationsOptions.Personalization.padding;
82 document.querySelector("#__tagembed__post_spacing_range_value_section").textContent = __tagembed__customizationsOptions.Personalization.padding;
83 document.querySelector("#__tagembed__post_mw").value = __tagembed__customizationsOptions.Personalization.minimumPostWidth;
84 document.querySelector("#__tagembed__post_width_range_value_section").textContent = __tagembed__customizationsOptions.Personalization.minimumPostWidth;
85 document.querySelector("#__tagembed__columnCount").value = __tagembed__customizationsOptions.ThemeRule.numberOfColumn;
86 document.querySelector("#__tagembed__columnCountMobile").value = __tagembed__customizationsOptions.ThemeRule.mobileColumn;
87 /*--End-- Manage Layout Setting*/
88
89 /*--Start-- Manage Card Setting*/
90 document.querySelector("#__tagembed__fontColor").value = __tagembed__customizationsOptions.ThemeRule.fontColor;
91 document.querySelector("#__tagembed__post_font_color_value_section").textContent = __tagembed__customizationsOptions.ThemeRule.fontColor;
92 document.querySelector("#__tagembed__authorFontColor").value = __tagembed__customizationsOptions.ThemeRule.authorColor;
93 document.querySelector("#__tagembed__author_font_color_value_section").textContent = __tagembed__customizationsOptions.ThemeRule.authorColor;
94 document.querySelector("#__tagembed__cardColor").value = __tagembed__customizationsOptions.ThemeRule.cardColor;
95 document.querySelector("#__tagembed__card_color_value_section").textContent = __tagembed__customizationsOptions.ThemeRule.cardColor;
96 document.querySelector("#__tagembed__post_font_size").textContent = __tagembed__customizationsOptions.ThemeRule.fontSize;
97 document.querySelector("#__tagembed__post_font_size_section").textContent = __tagembed__customizationsOptions.ThemeRule.fontSize;
98 document.querySelector("#__tagembed__show_is_ck").checked = false;
99 if (__tagembed__customizationsOptions.ThemeRule.inheritStyles == 1)
100 document.querySelector("#__tagembed__show_is_ck").checked = true;
101 document.querySelector("#__tagembed__show_so_ck").checked = false;
102 if (__tagembed__customizationsOptions.ThemeRule.shareOption == 1)
103 document.querySelector("#__tagembed__show_so_ck").checked = true;
104 document.querySelector("#__tagembed__hide_c_ck").checked = false;
105 if (__tagembed__customizationsOptions.ThemeRule.hideContent == 1)
106 document.querySelector("#__tagembed__hide_c_ck").checked = true;
107 document.querySelector("#__tagembed__show_ad_ck").checked = false;
108 if (__tagembed__customizationsOptions.Personalization.postAuthor == 1)
109 document.querySelector("#__tagembed__show_ad_ck").checked = true;
110 document.querySelector("#__tagembed__show_date_ck").checked = false;
111 if (__tagembed__customizationsOptions.Personalization.postTime == 1)
112 document.querySelector("#__tagembed__show_date_ck").checked = true;
113 document.querySelector("#__tagembed__linetrim").value = (__tagembed__customizationsOptions.ThemeRule.lineTrim == null) ? 0 : __tagembed__customizationsOptions.ThemeRule.lineTrim
114 document.querySelector("#__tagembed__aspectimageratio").value = __tagembed__customizationsOptions.ThemeRule.aspectImageRatio;
115 document.querySelector("#__tagembed__left_alignment").checked = false;
116 document.querySelector("#__tagembed__center_alignment").checked = false;
117 document.querySelector("#__tagembed__right_alignment").checked = false;
118 if (__tagembed__customizationsOptions.ThemeRule.textAlignment == 'left')
119 document.querySelector("#__tagembed__left_alignment").checked = true;
120 if (__tagembed__customizationsOptions.ThemeRule.textAlignment == 'right')
121 document.querySelector("#__tagembed__right_alignment").checked = true;
122 if (__tagembed__customizationsOptions.ThemeRule.textAlignment == 'center' || __tagembed__customizationsOptions.ThemeRule.textAlignment == 'NULL')
123 document.querySelector("#__tagembed__center_alignment").checked = true;
124 document.querySelector("#__tagembed__square_curve").checked = false;
125 document.querySelector("#__tagembed__rounded_corner").checked = false;
126 document.querySelector("#__tagembed__circular_corner").checked = false;
127 if (__tagembed__customizationsOptions.ThemeRule.roundEdge == 0)
128 document.querySelector("#__tagembed__square_curve").checked = true;
129 if (__tagembed__customizationsOptions.ThemeRule.roundEdge == 8)
130 document.querySelector("#__tagembed__rounded_corner").checked = true;
131 if (__tagembed__customizationsOptions.ThemeRule.roundEdge == 24)
132 document.querySelector("#__tagembed__circular_corner").checked = true;
133 /*--End-- Manage Card Setting*/
134
135 /*--Start-- Manage Custom Css Setting*/
136 document.querySelector("#__tagembed__custom_css").value = __tagembed__customizationsOptions.Personalization.css;
137 /*--End-- Manage Custom Css Setting*/
138
139 /*--Start-- Manage Footer Setting*/
140 document.querySelector("#__tagembed__show_more").checked = false;
141 document.querySelector("#__tagembed__auto_load").checked = false;
142 document.querySelector("#__tagembed__showmore_autoload_none").checked = false;
143 if (__tagembed__customizationsOptions.Personalization.loadMoreStatus == 1)
144 document.querySelector("#__tagembed__show_more").checked = true;
145 if (__tagembed__customizationsOptions.Personalization.autoScrollStatus == 1)
146 document.querySelector("#__tagembed__auto_load").checked = true;
147 if (__tagembed__customizationsOptions.Personalization.loadMoreStatus == 0 && __tagembed__customizationsOptions.Personalization.autoScrollStatus == 0)
148 document.querySelector("#__tagembed__showmore_autoload_none").checked = true;
149 /*--End-- Manage Footer Setting*/
150
151 /*Manage Customizaton Section Hide Show*/
152 document.querySelector("#__tagembed__customization_section").style.display = "flex";
153 }
154 /*--End-- Manage Customization Options*/
155 /*--End--Get Customization Option*/
156
157 /*--Start--Update Customization Option*/
158 function __tagembed__updateCustomizationOption(__tagembed__optionType) {
159 let __tagembed__toast = new TagembedToast;
160 let formData = new FormData();
161 formData.append('personalizationId', document.querySelector("#__tagembed__personalization_id").value);
162 formData.append('themeRuleId', document.querySelector("#__tagembed__themeRule_id").value);
163 switch (__tagembed__optionType) {
164 case 'footer':
165 let __tagembed__autoScrollStatusValue = 0;
166 let __tagembed__showMoreValue = 0;
167 if (document.querySelector("#__tagembed__show_more").checked) {
168 __tagembed__showMoreValue = 1;
169 __tagembed__autoScrollStatusValue = 0;
170 }
171 if (document.querySelector("#__tagembed__auto_load").checked) {
172 __tagembed__showMoreValue = 0;
173 __tagembed__autoScrollStatusValue = 1;
174 }
175 if (document.querySelector("#__tagembed__showmore_autoload_none").checked) {
176 __tagembed__showMoreValue = 0;
177 __tagembed__autoScrollStatusValue = 0;
178 }
179 /*Manage Form Data*/
180 formData.append('loadMoreStatus', __tagembed__showMoreValue);
181 formData.append('autoScrollStatus', __tagembed__autoScrollStatusValue);
182 break;
183 case 'layout':
184 let __tagembed__total_numberOFPostToDisplay = document.querySelector("#__tagembed__total_noptd").value;
185 let __tagembed__postSpacing = document.querySelector("#__tagembed__ps").value;
186 let __tagembed__maximumPostWidth = document.querySelector("#__tagembed__post_mw").value;
187 let __tagembed__columnCountDesktop = document.querySelector("#__tagembed__columnCount").value;
188 let __tagembed__columnCountMobile = document.querySelector("#__tagembed__columnCountMobile").value;
189 let __tagembed__hideTextOnlyPostCheckBoxValue = 0;
190 let __tagembed__hideTextOnlyPost = document.querySelector("#__tagembed__hide_top_ck");
191 if (__tagembed__hideTextOnlyPost.checked)
192 __tagembed__hideTextOnlyPostCheckBoxValue = 1;
193
194 let __tagembed__featurePopupCheckBoxValue = 0;
195 let __tagembed__directToSourceCheckBoxValue = 0;
196
197 if (document.querySelector("#__tagembed__featured_popup").checked) {
198 __tagembed__featurePopupCheckBoxValue = 1;
199 __tagembed__directToSourceCheckBoxValue = 1;
200 }
201 if (document.querySelector("#__tagembed__direct_to_source").checked) {
202 __tagembed__directToSourceCheckBoxValue = 2;
203 __tagembed__featurePopupCheckBoxValue = 2;
204 }
205 if (document.querySelector("#__tagembed__none").checked) {
206 __tagembed__directToSourceCheckBoxValue = 0;
207 __tagembed__featurePopupCheckBoxValue = 0;
208 }
209 /*Manage Form Data*/
210 formData.append('numberOfPosts', __tagembed__total_numberOFPostToDisplay);
211 formData.append('padding', __tagembed__postSpacing);
212 formData.append('minimumPostWidth', __tagembed__maximumPostWidth);
213 formData.append('columnCount', __tagembed__columnCountDesktop);
214 formData.append('columnCountMobile', __tagembed__columnCountMobile);
215 formData.append('postText', __tagembed__hideTextOnlyPostCheckBoxValue);
216 formData.append('mobilePopup', __tagembed__directToSourceCheckBoxValue);
217 formData.append('postFeatured', __tagembed__featurePopupCheckBoxValue);
218 break;
219 case 'card':
220 let __tagembed__fontColor = document.querySelector("#__tagembed__fontColor").value;
221 let __tagembed__authorFontColor = document.querySelector("#__tagembed__authorFontColor").value;
222 let __tagembed__cardColor = document.querySelector("#__tagembed__cardColor").value;
223 let __tagembed__fontSize = document.querySelector("#__tagembed__post_font_size").value;
224 let __tagembed__inheritStylesOptionCheckBoxValue = 0;
225 let __tagembed__show_is_ck = document.querySelector("#__tagembed__show_is_ck");
226 if (__tagembed__show_is_ck.checked)
227 __tagembed__inheritStylesOptionCheckBoxValue = 1;
228 let __tagembed__showShareOptionCheckBoxValue = 0;
229 let __tagembed__show_so_ck = document.querySelector("#__tagembed__show_so_ck");
230 if (__tagembed__show_so_ck.checked)
231 __tagembed__showShareOptionCheckBoxValue = 1;
232 let __tagembed__hideContentCheckBoxValue = 0;
233 let __tagembed__hide_c_ck = document.querySelector("#__tagembed__hide_c_ck");
234 if (__tagembed__hide_c_ck.checked)
235 __tagembed__hideContentCheckBoxValue = 1;
236 let __tagembed__showAuthorDetailsCheckBoxValue = 0;
237 let __tagembed__show_ad_ck = document.querySelector("#__tagembed__show_ad_ck");
238 if (__tagembed__show_ad_ck.checked)
239 __tagembed__showAuthorDetailsCheckBoxValue = 1;
240 let __tagembed__showDataCheckBoxValue = 0;
241 let __tagembed__show_date_ck = document.querySelector("#__tagembed__show_date_ck");
242 if (__tagembed__show_date_ck.checked)
243 __tagembed__showDataCheckBoxValue = 1;
244 /*New Card Style Data*/
245
246 let __tagembed__linetrim = document.querySelector("#__tagembed__linetrim").value;
247 let __tagembed__aspectImageRatio = document.querySelector("#__tagembed__aspectimageratio").value;
248 if (document.querySelector("#__tagembed__left_alignment").checked)
249 __tagembed__textAlignment = 'left';
250 if (document.querySelector("#__tagembed__center_alignment").checked)
251 __tagembed__textAlignment = 'center';
252 if (document.querySelector("#__tagembed__right_alignment").checked)
253 __tagembed__textAlignment = 'right';
254 if (document.querySelector("#__tagembed__square_curve").checked)
255 __tagembed__cardCurve = 0;
256 if (document.querySelector("#__tagembed__rounded_corner").checked)
257 __tagembed__cardCurve = 8;
258 if (document.querySelector("#__tagembed__circular_corner").checked)
259 __tagembed__cardCurve = 24;
260 /*Manage Form Data*/
261 formData.append('inheritStyles', __tagembed__inheritStylesOptionCheckBoxValue);
262 formData.append('fontColor', __tagembed__fontColor);
263 formData.append('authorColor', __tagembed__authorFontColor);
264 formData.append('cardColor', __tagembed__cardColor);
265 formData.append('fontSize', __tagembed__fontSize);
266 formData.append('shareOption', __tagembed__showShareOptionCheckBoxValue);
267 formData.append('hideContent', __tagembed__hideContentCheckBoxValue);
268 formData.append('postAuthor', __tagembed__showAuthorDetailsCheckBoxValue);
269 formData.append('postTime', __tagembed__showDataCheckBoxValue);
270 formData.append('lineTrim', __tagembed__linetrim);
271 formData.append('aspectImageRatio', __tagembed__aspectImageRatio);
272 formData.append('textAlignment', __tagembed__textAlignment);
273 formData.append('roundEdge', __tagembed__cardCurve);
274 break;
275 case 'other':
276 let __tagembed__customCss = document.querySelector("#__tagembed__custom_css").value;
277 /*Manage Form Data*/
278 formData.append('css', __tagembed__customCss);
279 break;
280 default:
281 return __tagembed__toast.danger({ message: "Something went wrong. Please try after sometime", position: '__tagembed__is-top-right' });
282 break;
283 }
284 /*Get And Manage Widget Id*/
285 let widgetId = document.querySelector("#__tagembed__widgets").selectedOptions[0];
286 widgetId = widgetId.value.split('#')[0];
287 formData.append('action', 'tagembed_data');
288 formData.append('widgetId', widgetId);
289 formData.append('__tagembed__ajax_call_nones', __tagembed__ajax_call_nones);
290 formData.append('__tagembed__ajax_action', '__tagembed__update_' + __tagembed__optionType + '_customization_option');
291 __tagembed__open_loader();
292 fetch(__tagembed__ajax_url, {
293 method: 'POST',
294 headers: {
295 'x-requested-with': 'XMLHttpRequest',
296 },
297 body: formData,
298 }).then(response => {
299 return response.json()
300 }).then(response => {
301 __tagembed__close_loader();
302 if (response.status == true) {
303 if (response.data.hasOwnProperty("message"))
304 __tagembed__toast.success({ message: response.data.message, position: '__tagembed__is-top-right' });
305 } else {
306 if (response.hasOwnProperty("message")) {
307 __tagembed__toast.danger({ message: response.message, position: '__tagembed__is-top-right' });
308 } else {
309 __tagembed__toast.danger({ message: "Something went wrong. Please try after sometime", position: '__tagembed__is-top-right' });
310 }
311 }
312 }).catch((error) => {
313 console.log(error);
314 __tagembed__toast.danger({ message: "Something went wrong. Please try after sometime", position: '__tagembed__is-top-right' });
315 });
316 }
317 /*--End--Update Customization Option*/
318
319 /*--Start--Manage Customize Menue Hide Show*/
320 function __tagembed__manageCustomizeMenueHideShow(__tagembed__customize_menue) {
321 /*Section*/
322 let __tagembed__layoutSettings = document.querySelector("#__tagembed__layout_settings");
323 let __tagembed__cardSettings = document.querySelector("#__tagembed__card_settings");
324 let __tagembed__otherSettings = document.querySelector("#__tagembed__other_settings");
325 let __tagembed__footer_settings = document.querySelector("#__tagembed__footer_settings");
326 /*Menue*/
327 let __tagembed__layoutSettingsMenue = document.querySelector("#__tagembed__layout_settings_menue");
328 let __tagembed__cardSettingsMenue = document.querySelector("#__tagembed__card_settings_menue");
329 let __tagembed__otherSettingsMenue = document.querySelector("#__tagembed__other_settings_menue");
330 let __tagembed__footer_settings_menue = document.querySelector("#__tagembed__footer_settings_menue");
331 switch (__tagembed__customize_menue) {
332 case 'ls':
333 __tagembed__cardSettingsMenue.classList.remove("__tagembed__active");
334 __tagembed__cardSettings.style.display = "none";
335
336 __tagembed__otherSettingsMenue.classList.remove("__tagembed__active");
337 __tagembed__otherSettings.style.display = "none";
338
339 __tagembed__footer_settings_menue.classList.remove("__tagembed__active");
340 __tagembed__footer_settings.style.display = "none";
341
342 __tagembed__layoutSettingsMenue.classList.add("__tagembed__active");
343 __tagembed__layoutSettings.style.display = "block";
344 break;
345 case 'cs':
346 __tagembed__layoutSettingsMenue.classList.remove("__tagembed__active");
347 __tagembed__layoutSettings.style.display = "none";
348
349 __tagembed__otherSettingsMenue.classList.remove("__tagembed__active");
350 __tagembed__otherSettings.style.display = "none";
351
352 __tagembed__footer_settings_menue.classList.remove("__tagembed__active");
353 __tagembed__footer_settings.style.display = "none";
354
355 __tagembed__cardSettingsMenue.classList.add("__tagembed__active");
356 __tagembed__cardSettings.style.display = "block";
357 break;
358 case 'os':
359 __tagembed__layoutSettingsMenue.classList.remove("__tagembed__active");
360 __tagembed__layoutSettings.style.display = "none";
361
362 __tagembed__cardSettingsMenue.classList.remove("__tagembed__active");
363 __tagembed__cardSettings.style.display = "none";
364
365 __tagembed__footer_settings_menue.classList.remove("__tagembed__active");
366 __tagembed__footer_settings.style.display = "none";
367
368 __tagembed__otherSettingsMenue.classList.add("__tagembed__active");
369 __tagembed__otherSettings.style.display = "block";
370 break;
371 case 'fo':
372 __tagembed__layoutSettingsMenue.classList.remove("__tagembed__active");
373 __tagembed__layoutSettings.style.display = "none";
374
375 __tagembed__cardSettingsMenue.classList.remove("__tagembed__active");
376 __tagembed__cardSettings.style.display = "none";
377
378 __tagembed__otherSettingsMenue.classList.remove("__tagembed__active");
379 __tagembed__otherSettings.style.display = "none";
380
381 __tagembed__footer_settings_menue.classList.add("__tagembed__active");
382 __tagembed__footer_settings.style.display = "block";
383 break;
384 default:
385 let __tagembed__toast = new TagembedToast;
386 __tagembed__toast.danger({ message: "Something went wrong. Please try after sometime", position: '__tagembed__is-top-right' });
387 break;
388 }
389 }
390 /*--End--Manage Customize Menue Hide Show*/
391 /*--Start-- Show Range Input Value*/
392 function __tagembed__showRangeInputValue(__tagembed__range_val, __tagembed__range_value_Show_section_id) {
393 let __tagembed__rangeValueShowSection = document.getElementById(__tagembed__range_value_Show_section_id);
394 if (__tagembed__rangeValueShowSection)
395 __tagembed__rangeValueShowSection.textContent = __tagembed__range_val;
396 }
397 /*--End-- Show Range Input Value*/
398 /*--Start-- Show Range Input Value*/
399 function __tagembed__showColorInputValue(__tagembed__color_val, __tagembed__color_value_Show_section_id) {
400 let __tagembed__colorValueShowSection = document.getElementById(__tagembed__color_value_Show_section_id);
401 if (__tagembed__colorValueShowSection)
402 __tagembed__colorValueShowSection.textContent = __tagembed__color_val;
403 }
404 /*--End-- Show Range Input Value*/
405