(31.08.2015 )
#11142
Rapti
/*
* Dies ist eine JavaScript-Umgebung.
*
* Geben Sie etwas JavaScript ein und führen Sie einen Rechtsklick aus oder wählen Sie aus dem Ausführen-Menü:
* 1. Ausführen, um den ausgewählten Text zu evaluieren (Strg+R),
* 2. Untersuchen, um den Objekt-Inspektor auf das Resultat anzuwenden (Strg+I), oder
* 3. Anzeigen, um das Ergebnis in einem Kommentar hinter der Auswahl einzufügen. (Strg+L)
*/
/*var refresh = function() {
$.ajax().done(function(data) {
var tnew = $(data).find("div > table.tborder");
var told = $("#content > div > table.tborder");
initNode(tnew);
var tidsnew = [], tidsold = [], topsnew = [], topsold = [];
var top = 0;
told.find(".inline_row").each(function(i, e) {
e = $(e);
var tid = e.find('a[id^="tid_"]').attr("id").match(/\d/);
tidsold.push(tid);
topsold[tid] = top;
top += e.height();
});
told.replaceWith(tnew);
top = 0;
tnew.find(".inline_row").each(function(i, e) {
e = $(e);
var tid = e.find('a[id^="tid_"]').attr("id").match(/\d/);
tidsnew.push(tid);
topsnew[tid] = top;
top += e.height();
});
});
}
refresh();*/
move_contact_solid(direction,12)
vspeed=0 hspeed=0
(31.08.2015 )
#11144
Rapti
var tid = e.find('a[id^="tid_"]').attr("id").match(/\d/);
(31.08.2015 )
#11146
Rapti
var refresh = function() {
$.ajax().done(function(data) {
var dur = 1000;
var tnew = $(data).find("div > table.tborder");
var told = $("#content > div > table.tborder");
initNode(tnew);
oldheight = told.height;
var tidsnew = [], tidsold = [], topsnew = [], topsold = [];
var top = told.offset().top;
told.find(".inline_row").each(function(i, e) {
e = $(e);
var tid = e.find('a[id^="tid_"]').attr("id").match(/\d+/);
tidsold.push(tid);
topsold[tid] = e.offset().top - top;
});
told.replaceWith(tnew);
tnew.css("position", "relative");
tnew.find(".inline_row").each(function(i, e) {
e = $(e);
var tid = e.find('a[id^="tid_"]').attr("id").match(/\d+/);
tidsnew.push(tid);
topsnew[tid] = e.offset().top - top;
}).each(function(i, e) {
e = $(e);
var tid = e.find('a[id^="tid_"]').attr("id").match(/\d+/);
if(topsold[tid] > 0) {
e.css({position: "relative", top: topsold[tid] - topsnew[tid]}).animate({top: 0}, dur);
} else {
e.css({textIndent: 0, transformOrigin: "50% 0%"}).animate({textIndent: 1}, {step: function(now) {$(this).css({transform: "scaleY("+now+")"})}, duration: dur});
}
});
told.find(".inline_row").each(function(i, e) {
e = $(e);
var tid = e.find('a[id^="tid_"]').attr("id").match(/\d+/);
if(typeof topsnew[tid] == "undefined")
e.appendTo(tnew.children("tbody"))
.css({position: "absolute", top: topsold[tid], textIndent: 1, transformOrigin: "50% 100%", width: "100%"})
.animate({textIndent: 0}, {step: function(now) {$(this).css({transform: "scaleY("+now+")"})}, complete: function() {$(this).remove();}, duration: dur});
});
});
}
refresh();
if (hspeed=0)=false then
{
if (keyboard_check(vk_left))=false then
{
if hspeed<0 then
{
if hspeed<-0.99 then
{
hspeed+=1
}
else
{
hspeed=0
}
}
}
}
if (keyboard_check(vk_right))=false then
{
if hspeed>0 then
{
if hspeed>0.99 then
{
hspeed-=1
}
else
{
hspeed=0
}
}
}
if x<0 then
{
x=0
}
if y<-7 then
{
y=-7
}
if x+16>room_width then
{
x=room_width-16
}
if y>room_height then
{
show_message("You Died")
room_restart()
}
//No Health
if health<0.1 then
{
show_message("You Died")
room_restart()
}
Da ich das Thema 2 WK generell interessant finde
(31.08.2015 )
#11151
FlaK
Wohl weil es da ein schönerer Effekt ist, weiß mit normalen Halogenlampen zu blenden, die nicht hart an- und ausgehen. Mit LEDs ist das zwar auch realisierbar, aber immernoch recht teuer
DEr Mama & die Papa, die finden dat nicht gut xD
(31.08.2015 )
#11153
Shibanu
Bitte!!!!!!!!!!!!!!1elf ._.
(31.08.2015 )
#11155
Rapti
var refresh = function() {
$.ajax().done(function(data) {
var dur = 1000;
var tnew = $(data).find("div > table.tborder");
var told = $("#content > div > table.tborder");
initNode(tnew);
oldheight = told.height;
var tidsnew = [], tidsold = [], topsnew = [], topsold = [];
var top = told.offset().top;
told.find(".inline_row").each(function(i, e) {
e = $(e);
var tid = e.find('a[id^="tid_"]').attr("id").match(/\d+/);
tidsold.push(tid);
topsold[tid] = e.offset().top - top;
});
told.replaceWith(tnew);
tnew.css("position", "relative");
tnew.find(".inline_row").each(function(i, e) {
e = $(e);
var tid = e.find('a[id^="tid_"]').attr("id").match(/\d+/);
tidsnew.push(tid);
topsnew[tid] = e.offset().top - top;
}).each(function(i, e) {
e = $(e);
var tid = e.find('a[id^="tid_"]').attr("id").match(/\d+/);
if(topsold[tid] > 0) {
e.css({position: "relative", top: topsold[tid] - topsnew[tid]}).animate({top: 0}, dur);
} else {
e.css({textIndent: 0, transformOrigin: "50% 0%"}).animate({textIndent: 1}, {step: function(now) {$(this).css({transform: "scaleY("+now+")"})}, duration: dur});
}
});
told.find(".inline_row").each(function(i, e) {
e = $(e);
var tid = e.find('a[id^="tid_"]').attr("id").match(/\d+/);
if(typeof topsnew[tid] == "undefined")
e.appendTo(tnew.children("tbody"))
.css({position: "absolute", top: topsold[tid], textIndent: 1, transformOrigin: "50% 100%", width: "100%"})
.animate({textIndent: 0}, {step: function(now) {$(this).css({transform: "scaleY("+now+")"})}, complete: function() {$(this).remove();}, duration: dur});
});
});
}
fek disch isch haben gaze zwai tege niht gespilt
Er redet schon wie ein Ausländer, aufgrund der Entzugserschenungen D:<
(31.08.2015 )
#11160
Rapti
$(window).focus(function() {$("#test").val("Focussed");});