этот скрипт выводит скрины к материалам,работает хорошо, НО ! есть одно НО
Внизу страницы есть такой же блок "добавить комментарий" и он работает одновременно с верхним блоком скрины материала. Подскажите что в стиле нужно дописать,переписать я не бум-бум
оставлю ссылку для примера, пардон если сочтёте за рекламу
Код
<div class="full-comms ignore-select" id="full-comms">
<div class="comms-title icon-l fx-row">
<span><span class="fa fa-image"></span>Скриншоты </span>
<div class="add-comm-btn button">Просмотреть</div>
</div>
<div class="add-comm-form clearfix add-shadow2" id="add-comm-form">
<b>скриншоты к материалу</b><br />
<center><?if($IMG_URL2$)?><a href="$IMG_URL2$" class="highslide" onclick="return hs.expand(this, {captionId: 'caption1'})"><img src="$IMG_URL2$"></a><?endif?></center>
<center><?if($IMG_URL3$)?><a href="$IMG_URL3$" class="highslide" onclick="return hs.expand(this, {captionId: 'caption1'})"><img src="$IMG_URL3$"></a><?endif?></center>
<center><?if($IMG_URL4$)?><a href="$IMG_URL4$" class="highslide" onclick="return hs.expand(this, {captionId: 'caption1'})"><img src="$IMG_URL4$"></a><?endif?></center>
<center><?if($IMG_URL5$)?><a href="$IMG_URL5$" class="highslide" onclick="return hs.expand(this, {captionId: 'caption1'})"><img src="$IMG_URL5$"></a><?endif?></center>
<center><?if($IMG_URL6$)?><a href="$IMG_URL6$" class="highslide" onclick="return hs.expand(this, {captionId: 'caption1'})"><img src="$IMG_URL6$"></a><?endif?></center>
<center><?if($IMG_URL7$)?><a href="$IMG_URL7$" class="highslide" onclick="return hs.expand(this, {captionId: 'caption1'})"><img src="$IMG_URL7$"></a><?endif?></center>
<center><?if($IMG_URL8$)?><a href="$IMG_URL8$" class="highslide" onclick="return hs.expand(this, {captionId: 'caption1'})"><img src="$IMG_URL8$"></a><?endif?></center>
<center><?if($IMG_URL9$)?><a href="$IMG_URL9$" class="highslide" onclick="return hs.expand(this, {captionId: 'caption1'})"><img src="$IMG_URL9$"></a><?endif?></center>
<center><?if($IMG_URL10$)?><a href="$IMG_URL10$" class="highslide" onclick="return hs.expand(this, {captionId: 'caption1'})"><img src="$IMG_URL10$"></a><?endif?></center>
</div>
</div>