Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pédagogies Multimodales
wikicolor
Commits
869eec4b
Commit
869eec4b
authored
Apr 05, 2020
by
Sylvain Coulange
Browse files
peut-être la solution
parent
8add3870
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/coloriseur.html
View file @
869eec4b
...
...
@@ -98,9 +98,15 @@
for
(
var
i
=
0
;
i
<
phonList
.
length
;
i
++
)
{
if
(
phonList
.
item
(
i
).
classList
.
contains
(
'
phon_neutre
'
)
==
false
)
{
if
(
i
%
2
==
0
)
{
phonList
.
item
(
i
).
classList
.
add
(
"
bicolor1
"
);
//.style.color='red';
phonList
.
item
(
i
).
style
.
color
=
'
red
'
;
phonList
.
item
(
i
).
style
.
background
=
'
none
'
;
phonList
.
item
(
i
).
style
.
webkitTextFillColor
=
'
unset
'
;
phonList
.
item
(
i
).
style
.
backgroundClip
=
'
unset
'
;
}
else
{
phonList
.
item
(
i
).
classList
.
add
(
"
bicolor2
"
);
//.style.color='yellow';
phonList
.
item
(
i
).
style
.
color
=
'
yellow
'
;
phonList
.
item
(
i
).
style
.
background
=
'
none
'
;
phonList
.
item
(
i
).
style
.
webkitTextFillColor
=
'
unset
'
;
phonList
.
item
(
i
).
style
.
backgroundClip
=
'
unset
'
;
};
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment