tÃüren texste geschrieben
This commit is contained in:
@@ -174,34 +174,31 @@
|
||||
echo "var dayMap = ". json_encode($numberArray) . ";\n";
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
const bgImages = [
|
||||
"1-", // 1
|
||||
"2-",
|
||||
"3-",
|
||||
"4-",
|
||||
"5-",
|
||||
"6-",
|
||||
"7-",
|
||||
"8-",
|
||||
"9-",
|
||||
"10-",
|
||||
"11-",
|
||||
"12-",
|
||||
"13-",
|
||||
"14-",
|
||||
"15-",
|
||||
"16-",
|
||||
"17-",
|
||||
"18-",
|
||||
"19-",
|
||||
"20-",
|
||||
"21-",
|
||||
"22-",
|
||||
"23-",
|
||||
"24-",
|
||||
"1-image", // 1
|
||||
"2-image",
|
||||
"3-image",
|
||||
"4-image",
|
||||
"5-image",
|
||||
"6-image",
|
||||
"7-image",
|
||||
"8-image",
|
||||
"9-image",
|
||||
"10-image",
|
||||
"11-image",
|
||||
"12-image",
|
||||
"13-image",
|
||||
"14-image",
|
||||
"15-image",
|
||||
"16-image",//
|
||||
"1-image",
|
||||
"2-image",
|
||||
"3-image",
|
||||
"4-image",
|
||||
"5-image",
|
||||
"6-image",
|
||||
"7-image",
|
||||
"24",
|
||||
"scheniiW",
|
||||
"packa"
|
||||
];
|
||||
@@ -211,7 +208,7 @@
|
||||
let n = dayMap[i-1];
|
||||
let parent = $("#"+id);
|
||||
let imageName = bgImages[n-1];
|
||||
let imageUrl = "src/images/bibi/"+imageName+".png";
|
||||
let imageUrl = "src/images/peperPig/"+imageName+".png";
|
||||
parent.find("span").css("background-image", "url(" + imageUrl + ")");
|
||||
parent.find("span").html(n);
|
||||
parent.find("h3").html(""+n);
|
||||
|
||||
Reference in New Issue
Block a user