修改视频关键帧图片窗口宽度与高度参数
This commit is contained in:
@@ -71,14 +71,7 @@ $(function(){
|
|||||||
$("#picPath").val(data.picFilePath);
|
$("#picPath").val(data.picFilePath);
|
||||||
$("#showPicture").removeClass("hidden");
|
$("#showPicture").removeClass("hidden");
|
||||||
var url = "${ctx}/ntc/av/sample/selectVedioPicture?picFilePath="+encodeURIComponent(data.picFilePath);
|
var url = "${ctx}/ntc/av/sample/selectVedioPicture?picFilePath="+encodeURIComponent(data.picFilePath);
|
||||||
$.jBox("iframe:"+url, {
|
openPicWindow(url);
|
||||||
title: "",
|
|
||||||
top: '1%',
|
|
||||||
draggable:false,
|
|
||||||
width: 1000,
|
|
||||||
height:500,
|
|
||||||
buttons: { 'close': true }
|
|
||||||
});
|
|
||||||
}else{
|
}else{
|
||||||
alert(data.msg);
|
alert(data.msg);
|
||||||
}
|
}
|
||||||
@@ -171,16 +164,21 @@ $(function(){
|
|||||||
$("#showPicture").on('click',function(){
|
$("#showPicture").on('click',function(){
|
||||||
var srcPath = $("#srcPath").val()
|
var srcPath = $("#srcPath").val()
|
||||||
var url = "${ctx}/ntc/av/sample/selectVedioPicture?picFilePath="+encodeURIComponent($("#picPath").val())+"&srcPath="+encodeURIComponent(srcPath);
|
var url = "${ctx}/ntc/av/sample/selectVedioPicture?picFilePath="+encodeURIComponent($("#picPath").val())+"&srcPath="+encodeURIComponent(srcPath);
|
||||||
$.jBox("iframe:"+url, {
|
openPicWindow(url);
|
||||||
title: "",
|
|
||||||
width: 1350,
|
|
||||||
height:800,
|
|
||||||
dragLimit: true,
|
|
||||||
buttons: { 'close': true,"ok":"ok" }
|
|
||||||
});
|
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
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(){
|
function hiddenlevel(){
|
||||||
var action=$("input[name='action']:checked").val();
|
var action=$("input[name='action']:checked").val();
|
||||||
if(action==16){
|
if(action==16){
|
||||||
|
|||||||
Reference in New Issue
Block a user