Guest User

Untitled

a guest
Dec 10th, 2016
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. this.preview = function () {
  2.     xOffset = 45, yOffset = 20, jQuery("a.tip").hover(function (e) {
  3.         this.t = this.title, this.title = "", jQuery("body").append("<p id='preview'><img src='" + this.rel + "' alt='Bild wird geladen...' /></p>"), jQuery("#preview").css("top", e.pageY - xOffset + "px").css("left", e.pageX + yOffset + "px").fadeIn("normal")
  4.     }, function () {
  5.         this.title = this.t, jQuery("#preview").remove()
  6.     }), jQuery("a.tip").mousemove(function (e) {
  7.         jQuery("#preview").css("top", e.pageY - xOffset + "px").css("left", e.pageX + yOffset + "px")
  8.     })
  9. }, jQuery(document).ready(function () {
  10.     preview(), jQuery(".tip img").removeAttr("title")
  11. });
  12.  
  13. function get_submenu() {
  14.     jQuery.post(fct_path, {
  15.         option: jQuery("#select_s").val(),
  16.         pid: postID,
  17.         ceck: sk
  18.     }, function (t) {
  19.         jQuery("#option2").html(t)
  20.     })
  21. }
  22. function get_custom() {
  23.     jQuery.post(fct_path, {
  24.         option: jQuery("#select_e").val(),
  25.         pid: postID,
  26.         ceck: sk
  27.     }, function (t) {
  28.         jQuery("#single-streams").html(t)
  29.     })
  30. }
  31. var postID = "10135",
  32.     fct_path = "/drop.php",
  33.     sk = "sec";
  34. !
  35. function (e) {
  36.     "function" == typeof define && define.amd ? define(["jquery"], e) : e("object" == typeof exports ? require("jquery") : jQuery)
  37. }(function (e) {
  38.     function n(e) {
  39.         return u.raw ? e : encodeURIComponent(e)
  40.     }
  41.     function o(e) {
  42.         return u.raw ? e : decodeURIComponent(e)
  43.     }
  44.     function i(e) {
  45.         return n(u.json ? JSON.stringify(e) : String(e))
  46.     }
  47.     function r(e) {
  48.         0 === e.indexOf('"') && (e = e.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, "\\"));
  49.         try {
  50.             return e = decodeURIComponent(e.replace(c, " ")), u.json ? JSON.parse(e) : e
  51.         } catch (n) {}
  52.     }
  53.     function t(n, o) {
  54.         var i = u.raw ? n : r(n);
  55.         return e.isFunction(o) ? o(i) : i
  56.     }
  57.     var c = /\+/g,
  58.         u = e.cookie = function (r, c, f) {
  59.             if (void 0 !== c && !e.isFunction(c)) {
  60.                 if (f = e.extend({}, u.defaults, f), "number" == typeof f.expires) {
  61.                     var a = f.expires,
  62.                         d = f.expires = new Date;
  63.                     d.setTime(+d + 864e5 * a)
  64.                 }
  65.                 return document.cookie = [n(r), "=", i(c), f.expires ? "; expires=" + f.expires.toUTCString() : "", f.path ? "; path=" + f.path : "", f.domain ? "; domain=" + f.domain : "", f.secure ? "; secure" : ""].join("")
  66.             }
  67.             for (var p = r ? void 0 : {}, s = document.cookie ? document.cookie.split("; ") : [], m = 0, x = s.length; x > m; m++) {
  68.                 var v = s[m].split("="),
  69.                     k = o(v.shift()),
  70.                     l = v.join("=");
  71.                 if (r && r === k) {
  72.                     p = t(l, c);
  73.                     break
  74.                 }
  75.                 r || void 0 === (l = t(l)) || (p[k] = l)
  76.             }
  77.             return p
  78.         };
  79.     u.defaults = {}, e.removeCookie = function (n, o) {
  80.         return void 0 === e.cookie(n) ? !1 : (e.cookie(n, "", e.extend({}, o, {
  81.             expires: -1
  82.         })), !e.cookie(n))
  83.     }
  84. });
  85. jQuery.cookie("style1-3") && jQuery("link#alt_style").attr("href", jQuery.cookie("style1-3")), jQuery(document).ready(function () {
  86.     jQuery(".style span a").click(function () {
  87.         return jQuery("link#alt_style").attr("href", jQuery(this).attr("rel")), jQuery.cookie("style1-3", jQuery(this).attr("rel"), {
  88.             expires: 365,
  89.             path: "/"
  90.         }), !1
  91.     })
  92. });
Add Comment
Please, Sign In to add comment