Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
JakDojade
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rafal
JakDojade
Commits
d9558456
Commit
d9558456
authored
Jan 09, 2016
by
Rafal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
078e3615
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
index.html
index.html
+4
-4
No files found.
index.html
View file @
d9558456
...
...
@@ -97,10 +97,10 @@
</div>
</div>
<div
class=
"col-md-6 text-center"
>
<img
id=
"first_city"
class=
"center-block"
src=
"img/city_icon.png"
style=
"width:200px; height:242px;"
/>
<img
id=
"first_city"
class=
"center-block"
src=
"
./
img/city_icon.png"
style=
"width:200px; height:242px;"
/>
</div>
<div
class=
"col-md-6 text-center"
>
<img
id=
"second_city"
class=
"center-block"
src=
"img/city_icon.png"
style=
"width:200px; height:242px;"
/>
<img
id=
"second_city"
class=
"center-block"
src=
"
./
img/city_icon.png"
style=
"width:200px; height:242px;"
/>
</div>
...
...
@@ -126,7 +126,7 @@
$
(
'#validate-select'
).
on
(
'change'
,
function
(){
console
.
log
(
2
);
if
(
$
(
'#validate-select'
).
val
()
===
"item_1"
){
$
(
'#first_city'
).
attr
(
"src"
,
"img/krakow_city.jpg"
);
$
(
'#first_city'
).
attr
(
"src"
,
"
./
img/krakow_city.jpg"
);
console
.
log
(
1
);
}
});
...
...
@@ -135,7 +135,7 @@
console
.
log
(
2
);
if
(
$
(
'#validate-select2'
).
val
()
===
"item_1"
){
$
(
'#second_city'
).
attr
(
"src"
,
"img/frozen_logo.png"
);
$
(
'#second_city'
).
attr
(
"src"
,
"
./
img/frozen_logo.png"
);
console
.
log
(
1
);
}
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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