Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alfakhori
M4labplatform
Commits
6097c6f4
Commit
6097c6f4
authored
Nov 30, 2020
by
Patrick
Browse files
add Legend header
parent
4a0fcaaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
vcm/templates/custom.js
View file @
6097c6f4
...
...
@@ -10,8 +10,20 @@ $("#tour-button").hide();
// checkagent();
// removebuildings();
var
checkExist
=
setInterval
(
function
()
{
if
(
$
(
'
.featured-company
'
).
length
)
{
var
fCompany
=
document
.
getElementsByClassName
(
"
featured-company
"
)[
0
];
fCompany
.
setAttribute
(
"
id
"
,
"
featuredCompany
"
);
var
comp
=
document
.
getElementById
(
"
featuredCompany
"
);
g
=
document
.
createElement
(
'
div
'
);
g
.
setAttribute
(
"
id
"
,
"
Div1
"
);
g
.
innerHTML
=
(
"
Legende:
"
)
g
.
setAttribute
(
"
style
"
,
"
font-size: large; position: absolute; top: -31px; left: -2px;font-weight: bold; width: 100px; padding: 5px; text-align: center; vertical-align: middle; background: rgba(255,255,255,0.9);
"
);
comp
.
appendChild
(
g
);
clearInterval
(
checkExist
);
}
},
200
);
};
...
...
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