50 lines
1.2 KiB
JavaScript
50 lines
1.2 KiB
JavaScript
|
|
function gnbzc() {
|
|||
|
|
a = $(window).height();
|
|||
|
|
document.getElementById('gnzcid').style.height = a + 'px';
|
|||
|
|
document.getElementById('gnzcid').style.width = '100%';
|
|||
|
|
$(".rbj").css("height", a);
|
|||
|
|
$(".rbj").css("width", "100%");
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
$(document).ready(function () {
|
|||
|
|
gnbzc();
|
|||
|
|
window.onresize = function () {
|
|||
|
|
gnbzc();
|
|||
|
|
}
|
|||
|
|
$(".stylqhwk").mouseover(
|
|||
|
|
function () {
|
|||
|
|
$(this).css("border", " 2px solid #33f905");
|
|||
|
|
});
|
|||
|
|
$(".stylqhwk").mouseout(
|
|||
|
|
function () {
|
|||
|
|
$(this).css("border", " 2px solid #cfd4d3");
|
|||
|
|
});
|
|||
|
|
|
|||
|
|
$(".stylgdj").mouseover(
|
|||
|
|
function () {
|
|||
|
|
$(this).css("filter", "alpha(opacity=55);");
|
|||
|
|
});
|
|||
|
|
$(".stylgdj").mouseout(
|
|||
|
|
function () {
|
|||
|
|
$(this).css("filter", "alpha(opacity=19);");
|
|||
|
|
});
|
|||
|
|
$(".stylgdjy").mouseover(
|
|||
|
|
function () {
|
|||
|
|
$(this).css("filter", "alpha(opacity=55);");
|
|||
|
|
});
|
|||
|
|
$(".stylgdjy").mouseout(
|
|||
|
|
function () {
|
|||
|
|
$(this).css("filter", "alpha(opacity=19);");
|
|||
|
|
});
|
|||
|
|
|
|||
|
|
$(".stylqhwk").click(
|
|||
|
|
function () {
|
|||
|
|
var ysz = $(this).attr("id");
|
|||
|
|
$("#yangshi").val(ysz);
|
|||
|
|
|
|||
|
|
yulanstyle();
|
|||
|
|
|
|||
|
|
});
|
|||
|
|
});
|
|||
|
|
|