Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Administrator
m4lab_landing_page
Commits
20c9bddc
Commit
20c9bddc
authored
Jan 24, 2020
by
Wolfgang Knopki
Browse files
image width footer
parents
431a356a
f3807805
Pipeline
#388
passed with stage
in 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
js/headfoot.js
View file @
20c9bddc
...
...
@@ -5,7 +5,7 @@ var hft_links = [{'url':'http://www.hft-stuttgart.de/Forschung/M4-Lab/Team/index
var
socialmedias
=
[{
'
url
'
:
'
https://twitter.com/InnolabM4
'
,
'
name
'
:
'
fa-twitter
'
},
{
'
url
'
:
'
https://www.facebook.com/HfTStuttgart/
'
,
'
name
'
:
'
fa-facebook-square
'
},
{
'
url
'
:
'
https://www.instagram.com/m4_lab/
'
,
'
name
'
:
'
fa-instagram
'
},
{
'
url
'
:
'
https://de.linkedin.com/school/hochschule-f%C3%BCr-technik-stuttgart-%E2%80%93-university-of-applied-sciences/
'
,
'
name
'
:
'
fa-linkedin
'
},
{
'
url
'
:
'
https://www.youtube.com/channel/UCi0_JfF2qMZbOhOnNH5PyHA
'
,
'
name
'
:
'
fa-youtube
'
}];
var
footer_images
=
[{
'
src
'
:
'
/images/demo/bbf_logo.png
'
,
'
alt
'
:
'
BMBF
'
},
{
'
src
'
:
'
/images/demo/Innovative_Hochschule_Initiative_BMBF_GWK_RGB.jpg
'
,
'
alt
'
:
'
Innovative Hochschule
'
}]
var
footer_images
=
[
/*
{'src':'/images/demo/bbf_logo.png', 'alt':'BMBF'},
*/
{
'
src
'
:
'
/images/demo/Innovative_Hochschule_Initiative_BMBF_GWK_RGB.jpg
'
,
'
alt
'
:
'
Innovative Hochschule
'
}]
function
prependChild
(
parent
,
child
){
parent
.
insertBefore
(
child
,
parent
.
childNodes
[
0
]);
...
...
@@ -224,8 +224,8 @@ function foot(){
for
(
let
k
=
0
;
k
<
footer_images
.
length
;
k
++
){
let
image
=
document
.
createElement
(
'
img
'
);
image
.
src
=
footer_images
[
k
].
src
;
image
.
width
=
"
1
00
"
;
image
.
height
=
"
50
"
;
image
.
width
=
"
3
00
"
;
image
.
height
=
"
73
"
;
image
.
alt
=
footer_images
[
k
].
alt
;
imagediv
.
appendChild
(
image
);
}
...
...
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