-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscripts.js
More file actions
107 lines (99 loc) · 4.57 KB
/
Copy pathscripts.js
File metadata and controls
107 lines (99 loc) · 4.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// Blue Color --------------------------------------------------------------------------------------------
function blue() {
let target = document.getElementById("colorset__iximage");
target.setAttribute("src", "assets/png/bluebmw.png");
}
function blueout() {
var target = document.getElementById("colorset__iximage");
console.log(target);
target.setAttribute("src", "assets/png/lightoff.png");
}
// End Blue Color ----------------------------------------------------------------------------------------
// Cyan Color --------------------------------------------------------------------------------------------
function cyan() {
let target = document.getElementById("colorset__iximage");
target.setAttribute("src", "assets/png/cyanbmw.png");
}
function cyanout() {
var target = document.getElementById("colorset__iximage");
console.log(target);
target.setAttribute("src", "assets/png/lightoff.png");
}
// End Cyan Color ----------------------------------------------------------------------------------------
// Gray Color --------------------------------------------------------------------------------------------
function gray() {
let target = document.getElementById("colorset__iximage");
target.setAttribute("src", "assets/png/greybmw.png");
}
function grayout() {
var target = document.getElementById("colorset__iximage");
console.log(target);
target.setAttribute("src", "assets/png/lightoff.png");
}
// End Gray Color -----------------------------------------------------------------------------------------
// Green Color --------------------------------------------------------------------------------------------
function green() {
let target = document.getElementById("colorset__iximage");
target.setAttribute("src", "assets/png/greenbmw.png");
}
function greenout() {
var target = document.getElementById("colorset__iximage");
console.log(target);
target.setAttribute("src", "assets/png/lightoff.png");
}
// End Green Color ----------------------------------------------------------------------------------------
// Cyan Color ---------------------------------------------------------------------------------------------
function cyan() {
let target = document.getElementById("colorset__iximage");
target.setAttribute("src", "assets/png/cyanbmw.png");
}
function cyanout() {
var target = document.getElementById("colorset__iximage");
console.log(target);
target.setAttribute("src", "assets/png/lightoff.png");
}
// End Cyan Color ------------------------------------------------------------------------------------------
// Orange Color --------------------------------------------------------------------------------------------
function orange() {
let target = document.getElementById("colorset__iximage");
target.setAttribute("src", "assets/png/orangebmw.png");
}
function orangeout() {
var target = document.getElementById("colorset__iximage");
console.log(target);
target.setAttribute("src", "assets/png/lightoff.png");
}
// End Orange Color ----------------------------------------------------------------------------------------
// Red Color -----------------------------------------------------------------------------------------------
function red() {
let target = document.getElementById("colorset__iximage");
target.setAttribute("src", "assets/png/redbmw.png");
}
function redout() {
var target = document.getElementById("colorset__iximage");
console.log(target);
target.setAttribute("src", "assets/png/lightoff.png");
}
// End Red Color -------------------------------------------------------------------------------------------
// Violet Color --------------------------------------------------------------------------------------------
function violet() {
let target = document.getElementById("colorset__iximage");
target.setAttribute("src", "assets/png/violetbmw.png");
}
function violetout() {
var target = document.getElementById("colorset__iximage");
console.log(target);
target.setAttribute("src", "assets/png/lightoff.png");
}
// End Violet Color ----------------------------------------------------------------------------------------
// Yellow Color --------------------------------------------------------------------------------------------
function yellow() {
let target = document.getElementById("colorset__iximage");
target.setAttribute("src", "assets/png/yellowbmw.png");
}
function yellowout() {
var target = document.getElementById("colorset__iximage");
console.log(target);
target.setAttribute("src", "assets/png/lightoff.png");
}
// End Yellow Color ----------------------------------------------------------------------------------------