MORE LAYOUTgit add public/mobile public/nojs/ public/shoop.png resources/views/layout1/apply.blade.php resources/views/layout1/nojs.blade.php resources/views/layout1/tos.blade.php resources/views/layout4/ resources/views/layout5!
This commit is contained in:
18
public/mobile/js/animethumbnailer.js
Normal file
18
public/mobile/js/animethumbnailer.js
Normal file
@@ -0,0 +1,18 @@
|
||||
window.onload = function (){
|
||||
var video = document.getElementById('video_html5_api');
|
||||
var thecanvas = document.getElementById('thecanvas');
|
||||
var img = document.getElementById('thumbnail_img');
|
||||
|
||||
video.addEventListener('pause', function(){
|
||||
draw( video, thecanvas, img);
|
||||
}, false);
|
||||
};
|
||||
|
||||
function draw( video, thecanvas, img ){
|
||||
img.setAttribute('crossOrigin', 'anonymous');
|
||||
var context = thecanvas.getContext('2d');
|
||||
context.drawImage( video, 0, 0, thecanvas.width, thecanvas.height);
|
||||
var dataURL = thecanvas.toDataURL();
|
||||
img.setAttribute('src', dataURL);
|
||||
video.setAttribute('crossOrigin', 'anonymous');
|
||||
}
|
7
public/mobile/js/bootstrap-tagsinput.min.js
vendored
Normal file
7
public/mobile/js/bootstrap-tagsinput.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
public/mobile/js/bootstrap.min.js
vendored
Normal file
7
public/mobile/js/bootstrap.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
public/mobile/js/clipboard.min.js
vendored
Normal file
7
public/mobile/js/clipboard.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1015
public/mobile/js/clippy.js
Normal file
1015
public/mobile/js/clippy.js
Normal file
File diff suppressed because it is too large
Load Diff
29
public/mobile/js/handlebars.min.js
vendored
Normal file
29
public/mobile/js/handlebars.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
public/mobile/js/imagesloaded.pkgd.min.js
vendored
Normal file
7
public/mobile/js/imagesloaded.pkgd.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
12
public/mobile/js/isotope.pkgd.min.js
vendored
Normal file
12
public/mobile/js/isotope.pkgd.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
9300
public/mobile/js/jquery-1.7.js
vendored
Normal file
9300
public/mobile/js/jquery-1.7.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
public/mobile/js/jquery.detectmobilebrowser.js
Normal file
7
public/mobile/js/jquery.detectmobilebrowser.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* jQuery.browser.mobile (http://detectmobilebrowser.com/)
|
||||
*
|
||||
* jQuery.browser.mobile will be true if the browser is a mobile device
|
||||
*
|
||||
**/
|
||||
(function(a){(jQuery.browser=jQuery.browser||{}).mobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4))})(navigator.userAgent||navigator.vendor||window.opera);
|
5
public/mobile/js/jquery.mCustomScrollbar.concat.min.js
vendored
Normal file
5
public/mobile/js/jquery.mCustomScrollbar.concat.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
6
public/mobile/js/jquery.min.js
vendored
Normal file
6
public/mobile/js/jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
225
public/mobile/js/jquery.timeago.js
Normal file
225
public/mobile/js/jquery.timeago.js
Normal file
@@ -0,0 +1,225 @@
|
||||
/**
|
||||
* Timeago is a jQuery plugin that makes it easy to support automatically
|
||||
* updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").
|
||||
*
|
||||
* @name timeago
|
||||
* @version 1.5.2
|
||||
* @requires jQuery v1.2.3+
|
||||
* @author Ryan McGeary
|
||||
* @license MIT License - http://www.opensource.org/licenses/mit-license.php
|
||||
*
|
||||
* For usage and examples, visit:
|
||||
* http://timeago.yarp.com/
|
||||
*
|
||||
* Copyright (c) 2008-2015, Ryan McGeary (ryan -[at]- mcgeary [*dot*] org)
|
||||
*/
|
||||
|
||||
(function (factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['jquery'], factory);
|
||||
} else if (typeof module === 'object' && typeof module.exports === 'object') {
|
||||
factory(require('jquery'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory(jQuery);
|
||||
}
|
||||
}(function ($) {
|
||||
$.timeago = function(timestamp) {
|
||||
if (timestamp instanceof Date) {
|
||||
return inWords(timestamp);
|
||||
} else if (typeof timestamp === "string") {
|
||||
return inWords($.timeago.parse(timestamp));
|
||||
} else if (typeof timestamp === "number") {
|
||||
return inWords(new Date(timestamp));
|
||||
} else {
|
||||
return inWords($.timeago.datetime(timestamp));
|
||||
}
|
||||
};
|
||||
var $t = $.timeago;
|
||||
|
||||
$.extend($.timeago, {
|
||||
settings: {
|
||||
refreshMillis: 60000,
|
||||
allowPast: true,
|
||||
allowFuture: false,
|
||||
localeTitle: false,
|
||||
cutoff: 0,
|
||||
autoDispose: true,
|
||||
strings: {
|
||||
prefixAgo: null,
|
||||
prefixFromNow: null,
|
||||
suffixAgo: "ago",
|
||||
suffixFromNow: "from now",
|
||||
inPast: 'any moment now',
|
||||
seconds: "less than a minute",
|
||||
minute: "about a minute",
|
||||
minutes: "%d minutes",
|
||||
hour: "about an hour",
|
||||
hours: "about %d hours",
|
||||
day: "a day",
|
||||
days: "%d days",
|
||||
month: "about a month",
|
||||
months: "%d months",
|
||||
year: "about a year",
|
||||
years: "%d years",
|
||||
wordSeparator: " ",
|
||||
numbers: []
|
||||
}
|
||||
},
|
||||
|
||||
inWords: function(distanceMillis) {
|
||||
if (!this.settings.allowPast && ! this.settings.allowFuture) {
|
||||
throw 'timeago allowPast and allowFuture settings can not both be set to false.';
|
||||
}
|
||||
|
||||
var $l = this.settings.strings;
|
||||
var prefix = $l.prefixAgo;
|
||||
var suffix = $l.suffixAgo;
|
||||
if (this.settings.allowFuture) {
|
||||
if (distanceMillis < 0) {
|
||||
prefix = $l.prefixFromNow;
|
||||
suffix = $l.suffixFromNow;
|
||||
}
|
||||
}
|
||||
|
||||
if (!this.settings.allowPast && distanceMillis >= 0) {
|
||||
return this.settings.strings.inPast;
|
||||
}
|
||||
|
||||
var seconds = Math.abs(distanceMillis) / 1000;
|
||||
var minutes = seconds / 60;
|
||||
var hours = minutes / 60;
|
||||
var days = hours / 24;
|
||||
var years = days / 365;
|
||||
|
||||
function substitute(stringOrFunction, number) {
|
||||
var string = $.isFunction(stringOrFunction) ? stringOrFunction(number, distanceMillis) : stringOrFunction;
|
||||
var value = ($l.numbers && $l.numbers[number]) || number;
|
||||
return string.replace(/%d/i, value);
|
||||
}
|
||||
|
||||
var words = seconds < 45 && substitute($l.seconds, Math.round(seconds)) ||
|
||||
seconds < 90 && substitute($l.minute, 1) ||
|
||||
minutes < 45 && substitute($l.minutes, Math.round(minutes)) ||
|
||||
minutes < 90 && substitute($l.hour, 1) ||
|
||||
hours < 24 && substitute($l.hours, Math.round(hours)) ||
|
||||
hours < 42 && substitute($l.day, 1) ||
|
||||
days < 30 && substitute($l.days, Math.round(days)) ||
|
||||
days < 45 && substitute($l.month, 1) ||
|
||||
days < 365 && substitute($l.months, Math.round(days / 30)) ||
|
||||
years < 1.5 && substitute($l.year, 1) ||
|
||||
substitute($l.years, Math.round(years));
|
||||
|
||||
var separator = $l.wordSeparator || "";
|
||||
if ($l.wordSeparator === undefined) { separator = " "; }
|
||||
return $.trim([prefix, words, suffix].join(separator));
|
||||
},
|
||||
|
||||
parse: function(iso8601) {
|
||||
var s = $.trim(iso8601);
|
||||
s = s.replace(/\.\d+/,""); // remove milliseconds
|
||||
s = s.replace(/-/,"/").replace(/-/,"/");
|
||||
s = s.replace(/T/," ").replace(/Z/," UTC");
|
||||
s = s.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"); // -04:00 -> -0400
|
||||
s = s.replace(/([\+\-]\d\d)$/," $100"); // +09 -> +0900
|
||||
return new Date(s);
|
||||
},
|
||||
datetime: function(elem) {
|
||||
var iso8601 = $t.isTime(elem) ? $(elem).attr("datetime") : $(elem).attr("title");
|
||||
return $t.parse(iso8601);
|
||||
},
|
||||
isTime: function(elem) {
|
||||
// jQuery's `is()` doesn't play well with HTML5 in IE
|
||||
return $(elem).get(0).tagName.toLowerCase() === "time"; // $(elem).is("time");
|
||||
}
|
||||
});
|
||||
|
||||
// functions that can be called via $(el).timeago('action')
|
||||
// init is default when no action is given
|
||||
// functions are called with context of a single element
|
||||
var functions = {
|
||||
init: function() {
|
||||
var refresh_el = $.proxy(refresh, this);
|
||||
refresh_el();
|
||||
var $s = $t.settings;
|
||||
if ($s.refreshMillis > 0) {
|
||||
this._timeagoInterval = setInterval(refresh_el, $s.refreshMillis);
|
||||
}
|
||||
},
|
||||
update: function(timestamp) {
|
||||
var date = (timestamp instanceof Date) ? timestamp : $t.parse(timestamp);
|
||||
$(this).data('timeago', { datetime: date });
|
||||
if ($t.settings.localeTitle) $(this).attr("title", date.toLocaleString());
|
||||
refresh.apply(this);
|
||||
},
|
||||
updateFromDOM: function() {
|
||||
$(this).data('timeago', { datetime: $t.parse( $t.isTime(this) ? $(this).attr("datetime") : $(this).attr("title") ) });
|
||||
refresh.apply(this);
|
||||
},
|
||||
dispose: function () {
|
||||
if (this._timeagoInterval) {
|
||||
window.clearInterval(this._timeagoInterval);
|
||||
this._timeagoInterval = null;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
$.fn.timeago = function(action, options) {
|
||||
var fn = action ? functions[action] : functions.init;
|
||||
if (!fn) {
|
||||
throw new Error("Unknown function name '"+ action +"' for timeago");
|
||||
}
|
||||
// each over objects here and call the requested function
|
||||
this.each(function() {
|
||||
fn.call(this, options);
|
||||
});
|
||||
return this;
|
||||
};
|
||||
|
||||
function refresh() {
|
||||
var $s = $t.settings;
|
||||
|
||||
//check if it's still visible
|
||||
if ($s.autoDispose && !$.contains(document.documentElement,this)) {
|
||||
//stop if it has been removed
|
||||
$(this).timeago("dispose");
|
||||
return this;
|
||||
}
|
||||
|
||||
var data = prepareData(this);
|
||||
|
||||
if (!isNaN(data.datetime)) {
|
||||
if ( $s.cutoff == 0 || Math.abs(distance(data.datetime)) < $s.cutoff) {
|
||||
$(this).text(inWords(data.datetime));
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
function prepareData(element) {
|
||||
element = $(element);
|
||||
if (!element.data("timeago")) {
|
||||
element.data("timeago", { datetime: $t.datetime(element) });
|
||||
var text = $.trim(element.text());
|
||||
if ($t.settings.localeTitle) {
|
||||
element.attr("title", element.data('timeago').datetime.toLocaleString());
|
||||
} else if (text.length > 0 && !($t.isTime(element) && element.attr("title"))) {
|
||||
element.attr("title", text);
|
||||
}
|
||||
}
|
||||
return element.data("timeago");
|
||||
}
|
||||
|
||||
function inWords(date) {
|
||||
return $t.inWords(distance(date));
|
||||
}
|
||||
|
||||
function distance(date) {
|
||||
return (new Date().getTime() - date.getTime());
|
||||
}
|
||||
|
||||
// fix for IE6 suckage
|
||||
document.createElement("abbr");
|
||||
document.createElement("time");
|
||||
}));
|
225
public/mobile/js/marderchen_cat.js
Normal file
225
public/mobile/js/marderchen_cat.js
Normal file
@@ -0,0 +1,225 @@
|
||||
/*MEOW HTML5 /jquery browser CAT ANEKO by mardechen (png pictures from https://play.google.com/store/apps/details?id=skin.flower10&hl=de apk)
|
||||
script by me (not the soundcript) MEOW! other skins possible if batching pngs filnames with irfanview like "_#" after deleting icon.png don't forget the _bubble.png i like flower CAT! png and sound
|
||||
linked to marderchen.de so only need the script still writing on it hihi*/
|
||||
|
||||
//sound start
|
||||
var html5_audiotypes={
|
||||
"mp3": "audio/mpeg","mp4": "audio/mp4","ogg": "audio/ogg","wav": "audio/wav"}
|
||||
function createsoundbite(sound){
|
||||
var html5audio=document.createElement('audio')
|
||||
if (html5audio.canPlayType){ //check support for HTML5 audio
|
||||
for (var i=0; i<arguments.length; i++){
|
||||
var sourceel=document.createElement('source')
|
||||
sourceel.setAttribute('src', arguments[i])
|
||||
if (arguments[i].match(/\.(\w+)$/i))
|
||||
sourceel.setAttribute('type', html5_audiotypes[RegExp.$1])
|
||||
html5audio.appendChild(sourceel)
|
||||
}
|
||||
html5audio.load()
|
||||
html5audio.playclip=function(){
|
||||
html5audio.pause()
|
||||
html5audio.currentTime=0
|
||||
html5audio.play()
|
||||
}
|
||||
return html5audio
|
||||
}
|
||||
else{
|
||||
return {playclip:function(){throw new Error("Your browser doesn't support HTML5 audio unfortunately")}}
|
||||
}}
|
||||
|
||||
//var mouseoversounds=createsoundbite("http://marderchen.de/wusel/Aneko_data/flower_pngs/meow_click.mp3")
|
||||
//soundend
|
||||
|
||||
function leszeugs() {
|
||||
t=1; daa=1;
|
||||
xm=Math.random()*640; ym=Math.random()*480; ymcach=0; xmcach=0;
|
||||
zeit1=0; zeit3=0; istani=5; zeit4=0; zeit2=0; zeit1random=Math.random()*10; zeit5=0;
|
||||
wohinrandomx=0; wohinrandomy=0; wohinzufallzeit=300+Math.random()*300+100; getnextt=0; xchaos=20;ychaos=20;
|
||||
often=0; oftenist=Math.random()*7; durchlaufcounter=0; active =0;
|
||||
tutrandom=0; tutcounter=0; suchminimumzeit=0; suchmaus=0; spooldone=1;
|
||||
countz=0;katze=1;
|
||||
speedz=5; //pixeldistanz für bewegung
|
||||
meows = 36; //pngs
|
||||
actionenrand=new Array([1,2],[12,21],[17,18],[19,20],[20,21],[19,1],[20,1],[24,25],[26,27],[34,35]); //png zuordnung \/
|
||||
mup= new Array(28,29);
|
||||
mupr= new Array(32,33);
|
||||
mright= new Array(22,23);
|
||||
mdownr= new Array(10,11);
|
||||
mdown= new Array(4,5);
|
||||
mdownl= new Array(8,9);
|
||||
mleft= new Array(15,16);
|
||||
mupl= new Array(30,31);
|
||||
wohin= new Array(mup,mupr,mright,mdownr,mdown,mdownl,mleft,mupl);
|
||||
// ram = document.getElementById('mCSB_2');
|
||||
zeitstart=0; bleibneweile=0;
|
||||
for(var i=1 ; i<meows; i++){ document.write("<SPAN id='a"+i+"' class='a"+i+"' onmouseover='fillmeowzbuffer(Math.round(Math.random()*13))' onmouseover='holdiemaus()'><img id='"+i+"' src='https://w0bm.com/wusel/meow_png/_"+i+".png' /></SPAN>"); } // onmouseover='mouseoversounds.playclip()'
|
||||
kommeaufy=document.getElementById('commentForm').offsetHeight;// + document.getElementById('commentForm').innerHeight ;
|
||||
mittex=document.getElementById('mCSB_2').offsetLeft- document.getElementById('mCSB_2').scrollLeft+350;
|
||||
x=0; y=kommeaufy; xalt=0; yalt=kommeaufy; xcatz=200; ycatz=kommeaufy; malkrier=0;
|
||||
katzensagenmenge= 16;
|
||||
katzensagen1 = "Think have seen movement there ";
|
||||
katzensagen2 = "awesome scratching me with spiky mouscursor ***PURRRRRRRRRR*** ";
|
||||
katzensagen3 = "~ ~ ~ MEOW ~ ~ ~ :3 ";
|
||||
katzensagen4 = "mew MEW MEEEEW (>^.^<) ";
|
||||
katzensagen5 = "Have you CATNIP?? *extremly cute look* ";
|
||||
katzensagen6 = "I like you so much *hug* *";
|
||||
katzensagen7 = "Iam dieing if you close page, not much lifes left *caterwaul* ";
|
||||
katzensagen8 = "mew MIAUS MEOOOOW ... >Purrrrrr< ";
|
||||
katzensagen9 = "Didyou know? Iam noxy =^.^= ";
|
||||
katzensagen10 = "Oh look! webms with sound ~JOY~ ";
|
||||
katzensagen11 = "I want to get invissible hihi *";
|
||||
katzensagen12 = "here I go.. ,,,^.^.,, ";
|
||||
katzensagen13 = "lets take a look behind the w0bm banner";
|
||||
katzensagen14 = "Iam wearily .. so wearily slepping a while..";
|
||||
katzensagen15 = "You terrify me hihihihihi ";
|
||||
katzensagen16 = "Wh00Oops! this is s c a r r y ";
|
||||
katzensagen17 = "Need to catch mouse again its gone :> ";
|
||||
document.write("<SPAN id='blubb' class='blubb'> <img id='blubber' src='https://w0bm.com/wusel/meow_png/_bubble.png' /></SPAN>");
|
||||
document.write("<SPAN id='meowz' class='meowz' ><FONT><P><FONT SIZE=6 STYLE='font-size: 20pt;' >!MEOW!<p>thinking...</p></FONT> </SPAN>");
|
||||
meme=0; countyy=0; meowcach= new Array(); meme=0; zeit5=0; zeit6=0; showeran=Math.random()*500+100; showeraus=0; textposx=100;textposy=100;
|
||||
cuteszeugs=8;fillmeowzbuffer(cuteszeugs);
|
||||
}
|
||||
|
||||
function getmouse() {
|
||||
document.onmousemove = handleMouseMove;
|
||||
function handleMouseMove(event) {
|
||||
xmcach = event.clientX+15 + document.body.scrollLeft;
|
||||
ymcach = event.clientY+15 + document.body.scrollTop ;
|
||||
if (ymcach <document.body.clientHeight){ym=ymcach;}
|
||||
if (xmcach <document.body.clientWidth){xm=ymcach;}
|
||||
}
|
||||
}
|
||||
function bewegz(katze){
|
||||
countz++;
|
||||
if (countz >=2) {countz =0;}
|
||||
for (t=1; t <meows; t++) {
|
||||
if (t == katze){
|
||||
document.all["a"+t].style.position = "absolute";
|
||||
document.all["a"+t].style.left = xcatz+'px';
|
||||
document.all["a"+t].style.top = ycatz+'px';
|
||||
// document.all["a"+t].opacity = 0.6;
|
||||
// document.all["a"+t].style.opacity = 0.6+'opacity';
|
||||
}
|
||||
if (t != katze){
|
||||
document.all["a"+t].style.position = "absolute";
|
||||
document.all["a"+t].style.left = -80+'px';
|
||||
document.all["a"+t].style.top = -80+'px';
|
||||
}
|
||||
}
|
||||
}
|
||||
function initdieCATZ(x2,y2){
|
||||
if(zeitstart ==0){xalt=x2; yalt=y2; xcatz=xalt-2; ycatz=yalt+1;zeitstart =1;}
|
||||
if(getnextt==0 && zeitstart==1) {wuseldahin(x2+mittex,y2,1);}
|
||||
if(getnextt==0 && daa ==1){bleibneweile++; }
|
||||
if (bleibneweile== 29) {active=1;spooldone=0;}
|
||||
if (getnextt==0 && spooldone==1 &&bleibneweile >31 &&active==1) {getnextt=1;}
|
||||
}
|
||||
function wuseldahin(x,y,normal){
|
||||
|
||||
if(x >= (xalt+speedz*1.5) || x <= (xalt-speedz*1.5) || y <= (yalt-speedz*1.5) ||y>= (yalt+speedz*1.5)){
|
||||
daa=0; zeit3++; katze=3; } else {daa=1; zeit3=0; }
|
||||
if(zeit3 >50){
|
||||
if(x < xalt && y < yalt){katze=wohin[7][countz]; xalt-=speedz; yalt-=speedz; }//mupl
|
||||
if(x > xalt && y > yalt){katze=wohin[3][countz]; xalt+=speedz; yalt+=speedz; }//mdownr
|
||||
if(x < xalt && y > yalt){katze=wohin[5][countz]; yalt+=speedz; xalt-=speedz;}//mdownl
|
||||
if(x > xalt && y < yalt){katze=wohin[1][countz]; yalt-=speedz; xalt+=speedz; }//mupr
|
||||
if(x <= (xalt+speedz) && x >= (xalt-speedz) && y < yalt){katze=wohin[0][countz]; yalt-=speedz; }//mup
|
||||
if(x <= (xalt+speedz) && x >= (xalt-speedz) && y > yalt){katze=wohin[4][countz]; yalt+=speedz; }//mdown
|
||||
if(x < xalt&& y >= (yalt-speedz) &&y<= (yalt+speedz)) {katze=wohin[6][countz]; xalt-=speedz*1.5; } //mleft
|
||||
if(x > xalt && y >= (yalt-speedz) &&y<= (yalt+speedz)){katze=wohin[2][countz]; xalt+=speedz; }//mright
|
||||
}
|
||||
// if (Math.round(tutrandom) ==8 && zeit3 ==48) {meme=0;}
|
||||
//if (zeit3>120){meme=0;}
|
||||
xcatz=xalt; ycatz=yalt;
|
||||
bewegz(katze);
|
||||
}
|
||||
|
||||
function animierzufallig() {
|
||||
if(daa==1){
|
||||
if( istani> 4) {katze=actionenrand[Math.round(tutrandom)][tutcounter];}
|
||||
if( istani<=4) {katze=1;}
|
||||
}}
|
||||
function zeitreise() {
|
||||
if (zeit6 <suchminimumzeit&& spooldone ==1) {zeit6++;getnextt=3;}
|
||||
zeit1++;zeit2++;if (zeit3 <60) {zeit3++;} zeit4++; zeit5++;
|
||||
if (zeit1 >=zeit1random ){tutrandom= Math.random()*9; zeit1=0; if (spooldone==1) {malkreier=0; fillmeowzbuffer(Math.round(Math.random()*(katzensagenmenge-3))); }
|
||||
if (Math.round(tutrandom) !=8) {zeit1random=Math.random()*140+90; istani=Math.random()*10;}
|
||||
if(zeit5 > showeran && spooldone ==1){ spooldone=0; }
|
||||
// if (zeit6 > (suchminimumzeit-3)){zeit6++;}
|
||||
if (zeit6 >showeraus &&spooldone==1){zeit5=0; zeit6=0; spooldone=0; showeran =Math.random()*400+300; showeraus=Math.random()*1+3;}}
|
||||
if (Math.round(tutrandom) ==8) {if (malkreier ==0) {fillmeowzbuffer(13); malkreier=1;} zeit1random=Math.random()*300+650; istani=6; wohinzufallzeit=Math.random()*300+700;}
|
||||
|
||||
if (zeit2 >=20){tutcounter++;if (tutcounter >=2) {tutcounter=0;}zeit2=0;}
|
||||
setTimeout('zeitreise()',10);
|
||||
}
|
||||
function wuselirgentwohin() {
|
||||
wohinrandomx=xcatz+Math.random()*400-200; wohinrandomy=ycatz+Math.random()*400-200;
|
||||
if (zeit4 > wohinzufallzeit && getnextt==1){zeit4=0; getnextt=2; wohinzufallzeit=Math.random()*150+80; often=Math.random()*8+2;}
|
||||
if (getnextt ==2) {zeit5++; if(daa==1){zeit5=100;}}
|
||||
// if (oftenist > often && getnextt==2 &&spooldone ==1) {getnextt=1;}
|
||||
if (getnextt ==2 && (zeit5 > 40 || daa ==1)) {
|
||||
if ((wohinrandomx)< (document.body.clientHeight-document.body.scrollTop-600) && (wohinrandomx)> 100 ) {xchaos=wohinrandomx;oftenist++;}
|
||||
if ((wohinrandomy)< (document.body.clientWidth-document.body.scrollLeft-600) && (wohinrandomy)> 100 ) {ychaos=wohinrandomy;oftenist++;} zeit5=0;
|
||||
}
|
||||
}
|
||||
function fillmeowzbuffer(cuteszeugs){
|
||||
durchlaufcounter=0; color =0; countyy=1; zeit6=0;
|
||||
// if ((Math.random()*20) <6) { meme=1; } else{meme=0;}
|
||||
if (getnextt ==0){cuteszeugs =8;}
|
||||
meowcach ="";
|
||||
if (cuteszeugs ==0) {meowcach = katzensagen1.split('');}
|
||||
if (cuteszeugs ==1) {meowcach = katzensagen2.split('');}
|
||||
if (cuteszeugs ==2) {meowcach = katzensagen3.split('');}
|
||||
if (cuteszeugs ==3) {meowcach = katzensagen4.split('');}
|
||||
if (cuteszeugs ==4) {meowcach = katzensagen5.split('');}
|
||||
if (cuteszeugs ==5) {meowcach = katzensagen6.split('');}
|
||||
if (cuteszeugs ==6) {meowcach = katzensagen7.split('');}
|
||||
if (cuteszeugs ==7) {meowcach = katzensagen8.split('');}
|
||||
if (cuteszeugs ==8) {meowcach = katzensagen9.split('');}
|
||||
if (cuteszeugs ==9) {meowcach = katzensagen10.split('');}
|
||||
if (cuteszeugs ==10) {meowcach = katzensagen11.split('');}
|
||||
if (cuteszeugs ==11) {meowcach = katzensagen12.split('');}
|
||||
if (cuteszeugs ==12) {meowcach = katzensagen13.split('');}
|
||||
if (cuteszeugs ==13) {meowcach = katzensagen14.split('');}
|
||||
if (cuteszeugs ==14) {meowcach = katzensagen15.split('');}
|
||||
if (cuteszeugs ==15) {meowcach = katzensagen16.split('');}
|
||||
if (cuteszeugs ==16) {meowcach = katzensagen17.split('');}
|
||||
}
|
||||
function mewmewmew() {
|
||||
if (spooldone==0) { document.all["blubb"].style.position = "absolute";
|
||||
textposx= 20+Math.random()*2+xcatz;
|
||||
textposy= -30+Math.random()*2+ycatz;
|
||||
document.all["blubb"].style.left = textposx+'px'; document.all["blubb"].style.top = textposy+'px';
|
||||
document.all["meowz"].style.left = 5+textposx+'px'; document.all["meowz"].style.top = textposy+'px';
|
||||
haarkneul="";
|
||||
for(var iy=0 ; iy< 18; iy++){ haarkneul +=meowcach[iy];}
|
||||
meowcach[meowcach.length]= meowcach[0];
|
||||
meowcach.splice( 0,1);
|
||||
document.all["meowz"].style.color="#00ff00"; //or use rainbowarray rainbow[chosencolor]
|
||||
document.getElementById("meowz").textContent=haarkneul;
|
||||
durchlaufcounter++;
|
||||
if (durchlaufcounter> (meowcach.length*3)){ spooldone=1;meme=0;}
|
||||
if (cuteszeugs ==12){wuseldahin(0,0,0);}}//document.getElementById('commentForm').innerHeight;
|
||||
if (meme ==0) { document.all["blubb"].style.position = "absolute"; document.all["meowz"].style.position = "absolute";
|
||||
document.all["blubb"].style.left = -120+'px'; document.all["blubb"].style.top = -120+'px';
|
||||
document.all["meowz"].style.left = -120+'px'; document.all["meowz"].style.top = -120+'px'; meme=1; }
|
||||
setTimeout('mewmewmew()',100);
|
||||
}
|
||||
function holdiemaus() {
|
||||
if (spooldone==1){fillmeowzbuffer(Math.round(Math.random()*2+(katzensagenmenge-2))); getmouse(); getnextt=3; spooldone=0; zeit6=0; suchminimumzeit= Math.random()*50+400; }
|
||||
}
|
||||
function wusel() {
|
||||
getmouse();
|
||||
if (getnextt==0) {initdieCATZ(-40,kommeaufy);}
|
||||
if (getnextt==1) {xchaos=ym; ychaos=xm; wuseldahin(xchaos,ychaos,0);}
|
||||
if (getnextt==2) { wuselirgentwohin(); wuseldahin(xchaos,ychaos,0);}
|
||||
if (getnextt==3) {wuseldahin(xm,ym,0);}
|
||||
animierzufallig();
|
||||
setTimeout('wusel()',100);
|
||||
}
|
||||
|
||||
getmouse();
|
||||
leszeugs();
|
||||
wusel();
|
||||
mewmewmew();
|
||||
zeitreise();
|
3
public/mobile/js/raven.min.js
vendored
Normal file
3
public/mobile/js/raven.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
3027
public/mobile/js/simplebar.js
Normal file
3027
public/mobile/js/simplebar.js
Normal file
File diff suppressed because it is too large
Load Diff
64
public/mobile/js/styleswitcher.js
Normal file
64
public/mobile/js/styleswitcher.js
Normal file
@@ -0,0 +1,64 @@
|
||||
function setActiveStyleSheet(title) {
|
||||
var i, a, main;
|
||||
for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
|
||||
if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
|
||||
a.disabled = true;
|
||||
if(a.getAttribute("title") == title) a.disabled = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function getActiveStyleSheet() {
|
||||
var i, a;
|
||||
for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
|
||||
if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title") && !a.disabled) return a.getAttribute("title");
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
function getPreferredStyleSheet() {
|
||||
var i, a;
|
||||
for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
|
||||
if(a.getAttribute("rel").indexOf("style") != -1
|
||||
&& a.getAttribute("rel").indexOf("alt") == -1
|
||||
&& a.getAttribute("title")
|
||||
) return a.getAttribute("title");
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
function createCookie(name,value,days) {
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime()+(days*24*60*60*1000));
|
||||
var expires = "; expires="+date.toGMTString();
|
||||
}
|
||||
else expires = "";
|
||||
document.cookie = name+"="+value+expires+"; path=/";
|
||||
}
|
||||
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
window.onload = function(e) {
|
||||
var cookie = readCookie("style");
|
||||
var title = cookie ? cookie : getPreferredStyleSheet();
|
||||
setActiveStyleSheet(title);
|
||||
}
|
||||
|
||||
window.onunload = function(e) {
|
||||
var title = getActiveStyleSheet();
|
||||
createCookie("style", title, 365);
|
||||
}
|
||||
|
||||
var cookie = readCookie("style");
|
||||
var title = cookie ? cookie : getPreferredStyleSheet();
|
||||
setActiveStyleSheet(title);
|
25
public/mobile/js/video.min.js
vendored
Normal file
25
public/mobile/js/video.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1412
public/mobile/js/w0bmscript.js
Normal file
1412
public/mobile/js/w0bmscript.js
Normal file
File diff suppressed because it is too large
Load Diff
3
public/mobile/js/w0bmscript.min.js
vendored
Normal file
3
public/mobile/js/w0bmscript.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/mobile/js/w0bmscript.min.js.map
Normal file
1
public/mobile/js/w0bmscript.min.js.map
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user