You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
2.0 KiB
JavaScript
64 lines
2.0 KiB
JavaScript
$(function() {
|
|
|
|
|
|
})
|
|
|
|
/**
|
|
* 根据视频类型跳转到视频播放页面
|
|
* @param videoType
|
|
*/
|
|
function getVideoShowPage(videoType) {
|
|
debugger
|
|
document.getElementById("onclick1").style.color = "";
|
|
if (null != document.getElementById("onclick2")) {
|
|
document.getElementById("onclick2").style.color = "";
|
|
}
|
|
if (null != document.getElementById("onclick3")) {
|
|
document.getElementById("onclick3").style.color = "";
|
|
}
|
|
if (null != document.getElementById("onclick4")) {
|
|
document.getElementById("onclick4").style.color = "";
|
|
}
|
|
if (null != document.getElementById("onclick5")) {
|
|
document.getElementById("onclick5").style.color = "";
|
|
}
|
|
if (null != document.getElementById("onclick6")) {
|
|
document.getElementById("onclick6").style.color = "";
|
|
}
|
|
if (null != document.getElementById("onclick7")) {
|
|
document.getElementById("onclick7").style.color = "";
|
|
}
|
|
if (null != document.getElementById("onclick8")) {
|
|
document.getElementById("onclick8").style.color = "";
|
|
}
|
|
if (videoType == 1) {
|
|
document.getElementById("onclick1").style.color = "red";
|
|
}
|
|
if (videoType == 2) {
|
|
document.getElementById("onclick2").style.color = "red";
|
|
}
|
|
if (videoType == 3) {
|
|
document.getElementById("onclick3").style.color = "red";
|
|
}
|
|
if (videoType == 4) {
|
|
document.getElementById("onclick4").style.color = "red";
|
|
}
|
|
if (videoType == 5) {
|
|
document.getElementById("onclick5").style.color = "red";
|
|
}
|
|
if (videoType == 6) {
|
|
document.getElementById("onclick6").style.color = "red";
|
|
}
|
|
if (videoType == 7) {
|
|
document.getElementById("onclick7").style.color = "red";
|
|
}
|
|
if (videoType == 9) {
|
|
document.getElementById("onclick8").style.color = "red";
|
|
}
|
|
$("#iframeVideoDiv").show();
|
|
$("#iframe").prop("src",path+"/video/videoShow?videoType=" + videoType);
|
|
}
|
|
|
|
function videoManager() {
|
|
$("#iframeVideoDiv").hide();
|
|
} |