Skip to content
GitLab
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
1549468d
Commit
1549468d
authored
Apr 05, 2020
by
Sylvain Coulange
🌼
Browse files
test 4
parent
719479ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/coloriseur.html
View file @
1549468d
...
...
@@ -96,9 +96,9 @@
var
phonList
=
document
.
getElementsByClassName
(
"
phon
"
);
for
(
var
i
=
0
;
i
<
phonList
.
length
;
i
++
)
{
if
(
i
%
2
==
0
)
{
phonList
.
item
(
i
).
classList
.
add
(
"
bicolor1
"
)
;
phonList
.
item
(
i
).
style
.
color
=
'
red
'
;
}
else
{
phonList
.
item
(
i
).
classList
.
add
(
"
bicolor2
"
)
;
phonList
.
item
(
i
).
style
.
color
=
'
yellow
'
;
};
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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