Minichan

Topic: wololol

Anonymous A started this discussion 15 years ago #13,215

$(document).ready(function() {
div_names = {
//home : true
};

var url = '/users';
var data = $.ajax({
type: 'GET',
dataType: 'html',
url: url,
cache: false
});
$('#register')
.click(function() {
$('#main').html(data.responseText);
});
$('#home')
.bind('click', function() {
divSet('home', true);
if (div_names.home == true) {
$('#menu').animate({
height: '100px'
}, 500, undefined, function() {
var url_if_true = '/home/sub_menu';
$.ajax({
type: 'GET',
dataType: 'html',
url: url_if_true,
cache: false,
success: function(data) {
$('#sub_menu').append(data);
}
});
});
}
else {
divSet('home', true);
$('#menu').animate({
height: '40px'
}, 500, function() {
var url_if_false = '/home/no_sub_menu';
var data_if_false = $.ajax({
type: 'GET',
dataType: 'html',
url: url_if_false,
cache: false,
success: function(data) {
$('#menu').html(data_if_false.responseText);
}
});
});
}
});
});

function divSet(field, permission) {
if (div_names[field] == undefined) {
div_names[field] = permission;
}
else {
if (div_names[field] == true) {
div_names[field] = false;
}
else {
div_names[field] = true;
}
}
}

Fake anon !ZkUt8arUCU joined in and replied with this 15 years ago, 52 seconds later[^] [v] #237,388

@OP
Please translate this into English, thanks.

Anonymous C joined in and replied with this 15 years ago, 3 minutes later, 4 minutes after the original post[^] [v] #237,390

Haha, these lines of code are hilarious! I'm cracking up right now!

Armored Zombie !VoCaLoNunI joined in and replied with this 15 years ago, 3 minutes later, 7 minutes after the original post[^] [v] #237,391

Image went missing

Anonymous C replied with this 15 years ago, 3 minutes later, 11 minutes after the original post[^] [v] #237,392

@previous (Armored Zombie !VoCaLoNunI)
Since you're here, what is armored zombie a reference to?

Armored Zombie !VoCaLoNunI replied with this 15 years ago, 2 minutes later, 13 minutes after the original post[^] [v] #237,395

@previous (C)
It just sounded better than (apparently) a misspelling of Vocaloid.

(which was originally a misspelling of vocal only, but then YouTube users tried to convince me it was a misspelling of Vocaloid)

Anonymous E joined in and replied with this 15 years ago, 2 minutes later, 15 minutes after the original post[^] [v] #237,397

@237,391 (Armored Zombie !VoCaLoNunI)
Please don't post lewd pictures of underanged ponies. Thanks.

Anonymous C replied with this 15 years ago, 5 minutes later, 21 minutes after the original post[^] [v] #237,398

@237,395 (Armored Zombie !VoCaLoNunI)
Okay. lol youtubers.

Anonymous F joined in and replied with this 15 years ago, 3 minutes later, 25 minutes after the original post[^] [v] #237,400

Image went missing@237,392 (C)

Fake anon !ZkUt8arUCU replied with this 15 years ago, 31 seconds later, 25 minutes after the original post[^] [v] #237,401

@previous (F)
This is all I think about when I read his name.

Anonymous A (OP) replied with this 15 years ago, 1 minute later, 27 minutes after the original post[^] [v] #237,402

Image went missing@237,397 (E)

Anonymous C replied with this 15 years ago, 12 minutes later, 40 minutes after the original post[^] [v] #237,407

@237,400 (F)
+1

Armored Zombie !VoCaLoNunI replied with this 15 years ago, 6 minutes later, 46 minutes after the original post[^] [v] #237,410

@237,397 (E)
> implying
:

Please familiarise yourself with the rules and markup syntax before posting.