在 Jquery 的文本字段中包含链接

Including a link in a text field in Jquery

本文关键字:包含 链接 字段 文本 Jquery      更新时间:2023-09-26

我正在使用灯箱jquery脚本在单击图像时显示一些文本。我对jquery很陌生,所以我盲目地进入 - 但是我已经设法找到了我要编辑的文本部分,只是我想在该空间中添加一个链接,但在合并它时遇到问题。

我想添加我写"查询这些项目"的链接。任何帮助将不胜感激。谢谢!

(function () {
    var b, d, c;
    b = jQuery;
    c = (function () {
        function b() {
            this.fadeDuration = 200;
            this.fitImagesInViewport = true;
            this.resizeDuration = 700;
            this.showImageNumberLabel = true;
            this.wrapAround = false
        }
        b.prototype.albumLabel = function (b, c) {
            return "Inquire about these items "
        };
        return b
    })();
    d = (function () {
        function c(b) {
            this.options = b;
            this.album = [];
            this.currentImageIndex = void 0;
            this.init()
        }
        c.prototype.init = function () {
            this.enable();
            return this.build

你可能只需要一些 HTML。制作这样的链接

Inquire about <a href='"http://my-link.com'">there</a> items

这可能会起作用。