У меня есть код, когда вы переворачиваете изображение, оно увеличивается рядом с ним, но когда я добавляю другое изображение, оно увеличивается в одном и том же месте, как я могу сделать так, чтобы каждое изображение увеличивалось рядом с маленький оригинальный один? это код;HTML Hovering Image Code
<div id="imgmenu">
<div class="p1" title="Karla"><img src="small image" title="Thumbnail image" alt="Thumbnail image"/><img class="large" src="large image" title="enlarged view of image" alt="enlarged view of image" /></div></div>
<style type="text/css">
<#imgmenu {position:relative; top:10px; left:10px; width:75px; background-color:#fff; z-index:100;}
#imgmenu .p1 {display:block; width:150px; height:150px; text-decoration:none; background:#fff; top:0; left:0; border:0;}
#imgmenu .p1:hover {text-decoration:none; background-color:#8c97a3; color:#000;}
#imgmenu .large {display:block; position:absolute; width:0; height:0; border:0; top:0; left:0;}
#imgmenu .p1:hover .large {display:block; position:absolute; top:-0px; left:150px; width:400px; height:300px; border:2px solid #ccc;}
#info {z-index:100; height:22em;}
</style>
<div id="imgmenu">
<div class="p1" title="Beanie"><img src="small image" title="Thumbnail image" alt="Thumbnail image"/><img class="large" src="large image" title="enlarged view of image" alt="enlarged view of image" /></div></div>
<style type="text/css">
<#imgmenu {position:relative; top:10px; left:10px; width:75px; background-color:#fff; z-index:100;}
#imgmenu .p1 {display:block; width:150px; height:150px; text-decoration:none; background:#fff; top:0; left:0; border:0;}
#imgmenu .p1:hover {text-decoration:none; background-color:#8c97a3; color:#000;}
#imgmenu .large {display:block; position:absolute; width:0; height:0; border:0; top:0; left:0;}
#imgmenu .p1:hover .large {display:block; position:absolute; top:-0px; left:150px; width:400px; height:300px; border:2px solid #ccc;}
#info {z-index:100; height:22em;}
</style>
BTW, я обновил jsfiddle где я извлекал столько, сколько лишнего кода как возможно: http://jsfiddle.net/Lw8Kf/5/ – frenchie