SHARE ON
  1. COMICポラリス
  2. 漫画を読む
  3. ラブストーリー

ラブストーリーの作品

' }; g.prototype = { init: function () { var a = this; c(this.element).each(function () { var b = c(this), d = b.css("max-height").replace(/[^-\d\.]/g, "") > a.options.maxHeight ? b.css("max-height").replace(/[^-\d\.]/g, "") : a.options.maxHeight; "none" != b.css("max-height") && b.css("max-height", "none"); b.data("boxHeight", "100%"); if (b.innerHeight() < d) return !0; b.after(c(a.options.moreLink).on("click", function (c) { a.openSlider(this, b, c) })); sliderHeight = d; b.css("height", sliderHeight).css("overflow", "hidden") }) }, openSlider: function (a, b, d) { d.preventDefault(); var e = this; d = c(b).data().boxHeight; c(b).animate({ height: d }, { duration: e.options.speed }); c(a).replaceWith(c(e.options.lessLink).on("click", function (a) { e.closeSlider(this, b, a) })) }, closeSlider: function (a, b, d) { d.preventDefault(); var e = this; c(b).animate({ height: sliderHeight }, { duration: e.options.speed }); c(a).replaceWith(c(e.options.moreLink).on("click", function (a) { e.openSlider(this, b, a) })) } }; c.fn[f] = function (a) { var b = arguments; if (void 0 === a || "object" === typeof a) return this.each(function () { c.data(this, "plugin_" + f) || c.data(this, "plugin_" + f, new g(this, a)) }); if ("string" === typeof a && "_" !== a[0] && "init" !== a) return this.each(function () { var d = c.data(this, "plugin_" + f); d instanceof g && "function" === typeof d[a] && d[a].apply(d, Array.prototype.slice.call(b, 1)) }) } })(jQuery);