вопрос
<!DOCTYPE html>>
<html>
<head>
<script type="text/javascript" src="http://dle101.ura/engine/classes/js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$( ".year" ).on( "mouseover", function() {
$buffer = '';
$interval = $( this ).text().split('-');
if(parseInt($interval[0]) && parseInt($interval[1])){
for (var kuy = 0; kuy < ($interval[1]-$interval[0])+1; kuy++){
$year = parseInt($interval[0])+kuy;
$buffer += (kuy!=0 ? ', ' : '')+'<a href="index.php?year='+$year+'">'+$year+'</a>';
}
$( this ).replaceWith( $buffer);
}
});
});
</script>
</head><body>
<div class="year">1993-2002</div>
</body>
</html