<
div
><
img
src
=
"<?=$rs3["
img_name"]?>" class="img-responsive img-rounded img_guige" draggable="false" style="cursor:move;"></
>
//默认将拖动,浮动的div下的图片高度以第一个进行统一
$(document).ready(
function
(){
if
($(
".img_guige"
).eq(0).length > 0){
//判断元素是否存在
var
first_height=$(
).eq(0).css(
"height"
);
//获取指定元素中第一个元素的高度
$(
).each(
() {
//e_class = $(this).attr("class");//获取classname样式
this
).css(
,first_height);
})
}
});