修改视频关键帧图片窗口宽度与高度参数

This commit is contained in:
zhangwei
2018-10-30 09:29:10 +08:00
parent b8fe5f58da
commit c6947267ef

View File

@@ -71,14 +71,7 @@ $(function(){
$("#picPath").val(data.picFilePath);
$("#showPicture").removeClass("hidden");
var url = "${ctx}/ntc/av/sample/selectVedioPicture?picFilePath="+encodeURIComponent(data.picFilePath);
$.jBox("iframe:"+url, {
title: "",
top: '1%',
draggable:false,
width: 1000,
height:500,
buttons: { 'close': true }
});
openPicWindow(url);
}else{
alert(data.msg);
}
@@ -171,16 +164,21 @@ $(function(){
$("#showPicture").on('click',function(){
var srcPath = $("#srcPath").val()
var url = "${ctx}/ntc/av/sample/selectVedioPicture?picFilePath="+encodeURIComponent($("#picPath").val())+"&srcPath="+encodeURIComponent(srcPath);
$.jBox("iframe:"+url, {
title: "",
width: 1350,
height:800,
dragLimit: true,
buttons: { 'close': true,"ok":"ok" }
});
openPicWindow(url);
})
});
function openPicWindow(url){
$.jBox("iframe:"+url, {
title: "",
top: '1%',
draggable:false,
width: $(document).width()*0.9,
height:$(document).height()*0.9,
buttons: { 'close': true }
});
}
function hiddenlevel(){
var action=$("input[name='action']:checked").val();
if(action==16){