diff --git a/docs/picturam.html b/docs/picturam.html index b596b23..954658a 100644 --- a/docs/picturam.html +++ b/docs/picturam.html @@ -30,68 +30,117 @@ -

Numerordĭnātĭo pictūrae

- -
- -
-
-
-
- - +
+ +

Numerordĭnātĭo pictūrae

+ +
+
+
+
+
+ + +
+
+ +
+
+
+
+ + + +
+
+ +
-
- - - +
+
+
+
+ BCP47 language + +
+
+
+
+ BCP47 script + +
+
+
+
+ BCP47 region + +
+
+
+
+
+
+ BCP47 variant + +
+
+
+
+ BCP47 extension (*) + +
+
+
+
+ BCP47 privateuse + +
+
+
-
@@ -118,7 +167,7 @@

Numerordĭnātĭo pictūrae

render_optionem() } - function picturam_css(object_de_array, stylesheet_id = 'picturam-stylesheet'){ + function picturam_css(object_de_array, stylesheet_id = 'picturam-stylesheet') { let picturamStylesheet = document.getElementById(stylesheet_id) let crudumStylesheet = [] console.log(picturamStylesheet) @@ -163,6 +212,38 @@

Numerordĭnātĭo pictūrae

picturam_css_optionem[`dl [data-bcp47-script="${rem}" i]`] = ['display: block !important;'] } } + + let cloco_val = document.querySelector('#cloco') + let cloco_val_list = cloco_val.value.split(',').map(item => item.trim()).filter(item => item) + if (cloco_val_list && cloco_val_list.length > 0) { + for (let rem of cloco_val_list) { + picturam_css_optionem[`dl [data-bcp47-region="${rem}" i]`] = ['display: block !important;'] + } + } + + let cv_val = document.querySelector('#cv') + let cv_val_list = cv_val.value.split(',').map(item => item.trim()).filter(item => item) + if (cv_val_list && cv_val_list.length > 0) { + for (let rem of cv_val_list) { + picturam_css_optionem[`dl [data-bcp47-variant="${rem}" i]`] = ['display: block !important;'] + } + } + + let cext_val = document.querySelector('#cext') + let cext_val_list = cext_val.value.split(',').map(item => item.trim()).filter(item => item) + if (cext_val_list && cext_val_list.length > 0) { + for (let rem of cext_val_list) { + picturam_css_optionem[`dl [data-bcp47-extension="${rem}" i]`] = ['display: block !important;'] + } + } + let cp_val = document.querySelector('#cp') + let cp_val_list = cp_val.value.split(',').map(item => item.trim()).filter(item => item) + if (cp_val_list && cp_val_list.length > 0) { + for (let rem of cp_val_list) { + picturam_css_optionem[`dl [data-bcp47-privateuse="${rem}" i]`] = ['display: block !important;'] + } + } + console.log('picturam_css_optionem', picturam_css_optionem) picturam_css(picturam_css_optionem)