Website/_Template/Default/Scripts/khd_product.js

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/// <reference path="jquery-vsdoc-cn.js" />
$(function() {
    bind_jzoom();
    $("#piclist").imageScroller({
        next: "picbtn1",
        prev: "picbtn2",
        frame: "piclistframe",
        width: 100,
        child: "li",
        auto: false
    });
    $("#hotlist").imageScroller({
        next: "hotbtn1",
        prev: "hotbtn2",
        frame: "hotlistframe",
        width: 100,
        child: "a",
        auto: true
    });
    $("#choiceResult").html("");
    $('span[id^=C_custom_]').each(function() {
        str = $("#choiceResult").html() + $(this).html()+" <br/>";
        $("#choiceResult").html(str);
    });
    $("#txtfieldvalues").val($("#choiceResult").html());
});

function bind_jzoom() {
    $(".jqzoom").jqueryzoom({
        xzoom: 300,
        yzoom: 300,
        offset: 10,
        position: "right",
        preload: 1,
        lens: 1
    });
}
//转到大图
function go_pic_bigpic(objimgid) {
    var tempID = objimgid.id;
    var selectPic = $("#" + tempID).attr("src");
    var selectPic1 = selectPic.replaceAll("products", "productm");
    var selectPic2 = selectPic.replaceAll("products", "productl");
    $("#jqzoomhaha").attr("src", selectPic1).attr("jqimg", selectPic2);
    $("#hignslidepic").attr("href", selectPic2);
}
//选择产品属性
function changeCustom(str1, str2) {
    $("#" + str1).html(str2);
    $("#C_" + str1).html(str2);
    var okResult = $("#" + str1).html();
    $("#choiceResult").html("");
    $('span[id^=C_custom_]').each(function() {
        str = $("#choiceResult").html() + $(this).html()+" <br/>";
        $("#choiceResult").html(str);
    });
    $("#txtfieldvalues").val($("#choiceResult").html());
}

function open_dialge(_width, _height) {
后面还有 25 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。