Сообщение от roe
|
<div class="thumbnails">
<a class="thumbnail" href="/link">
<img alt="Партнеры" src="/images/nd/part.gif">
</a>
</div>
|
Как вариант...
<!DOCTYPE html>
<html>
<head>
<script src='http://code.jquery.com/jquery-latest.js'></script>
<!--
<script src="https://code.angularjs.org/1.3.9/angular.min.js"></script>
<script src="https://code.angularjs.org/1.3.9/angular-route.js"></script>
<link rel='stylesheet type=text/css href=tmp.css' />
-->
<style type='text/css'>
</style>
<script type='text/javascript'>
$(function(){
$('.thumbnail').click(function(){
alert('Ok');
return false;
});
});
</script>
</head>
<body>
<div class="thumbnails">
<a class="thumbnail" href="/link">
<img alt="Партнеры" src="/images/nd/part.gif">
</a>
</div>
</body>
</html>