- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 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
I would like the language to change when a different flag icon is clicked but somehow I don't think
my jquery is correct because it's not working. Any guidance would be great.
Thanks!
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Mini-Coding Assessment 5</title>
<script src="//ajax.googleapis.com/ajax/libs/jqu… jquery.min.js"></script>
<script>
$(document).ready(function(){
$("#images/us.png").click(function(){
$("en").hide();
});
});
</script>
</head>
<body>
<img src="images/us.png"</a>
<img src="images/it.png"</a>
<img src="images/es.png"</a>
<h1>How to Care for Your Cat</h1>
<ul>
<li>
<div lang="en">Make sure that you take...</li></div>
<li>
<div lang="it">Assicurarsi che si prende il gatto dal veterinario...</li></div>
<li>
<div lang="es">Asegúrese de llevar a su gato al veterinario regularmente para...</li></div>
</ul>
</body>
</html>
Ну ты и падонок, чувак
Так вот кто нужен автору!
показалось
Я смеялась до слез.
Если уже и делать картинку ссылку, то уже вот так:
<a><img src="images/us.png" /></a>
а эта вложенность никого не смущает? )) тут шедевр по всему коду!
Браузер выправит, он знает толк в говне ;)