Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.preview = function () {
- xOffset = 45, yOffset = 20, jQuery("a.tip").hover(function (e) {
- 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")
- }, function () {
- this.title = this.t, jQuery("#preview").remove()
- }), jQuery("a.tip").mousemove(function (e) {
- jQuery("#preview").css("top", e.pageY - xOffset + "px").css("left", e.pageX + yOffset + "px")
- })
- }, jQuery(document).ready(function () {
- preview(), jQuery(".tip img").removeAttr("title")
- });
- function get_submenu() {
- jQuery.post(fct_path, {
- option: jQuery("#select_s").val(),
- pid: postID,
- ceck: sk
- }, function (t) {
- jQuery("#option2").html(t)
- })
- }
- function get_custom() {
- jQuery.post(fct_path, {
- option: jQuery("#select_e").val(),
- pid: postID,
- ceck: sk
- }, function (t) {
- jQuery("#single-streams").html(t)
- })
- }
- var postID = "10135",
- fct_path = "/drop.php",
- sk = "sec";
- !
- function (e) {
- "function" == typeof define && define.amd ? define(["jquery"], e) : e("object" == typeof exports ? require("jquery") : jQuery)
- }(function (e) {
- function n(e) {
- return u.raw ? e : encodeURIComponent(e)
- }
- function o(e) {
- return u.raw ? e : decodeURIComponent(e)
- }
- function i(e) {
- return n(u.json ? JSON.stringify(e) : String(e))
- }
- function r(e) {
- 0 === e.indexOf('"') && (e = e.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, "\\"));
- try {
- return e = decodeURIComponent(e.replace(c, " ")), u.json ? JSON.parse(e) : e
- } catch (n) {}
- }
- function t(n, o) {
- var i = u.raw ? n : r(n);
- return e.isFunction(o) ? o(i) : i
- }
- var c = /\+/g,
- u = e.cookie = function (r, c, f) {
- if (void 0 !== c && !e.isFunction(c)) {
- if (f = e.extend({}, u.defaults, f), "number" == typeof f.expires) {
- var a = f.expires,
- d = f.expires = new Date;
- d.setTime(+d + 864e5 * a)
- }
- 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("")
- }
- for (var p = r ? void 0 : {}, s = document.cookie ? document.cookie.split("; ") : [], m = 0, x = s.length; x > m; m++) {
- var v = s[m].split("="),
- k = o(v.shift()),
- l = v.join("=");
- if (r && r === k) {
- p = t(l, c);
- break
- }
- r || void 0 === (l = t(l)) || (p[k] = l)
- }
- return p
- };
- u.defaults = {}, e.removeCookie = function (n, o) {
- return void 0 === e.cookie(n) ? !1 : (e.cookie(n, "", e.extend({}, o, {
- expires: -1
- })), !e.cookie(n))
- }
- });
- jQuery.cookie("style1-3") && jQuery("link#alt_style").attr("href", jQuery.cookie("style1-3")), jQuery(document).ready(function () {
- jQuery(".style span a").click(function () {
- return jQuery("link#alt_style").attr("href", jQuery(this).attr("rel")), jQuery.cookie("style1-3", jQuery(this).attr("rel"), {
- expires: 365,
- path: "/"
- }), !1
- })
- });
Add Comment
Please, Sign In to add comment