[ / / / / / / / / ] [ b / news+ / boards ] [ operate / meta ] [ ]

/gakuran/ - dobre chłopaki

xD

Catalog

E-mail
Komentarz *
Plik
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Osadź
(replaces files and can be used instead)
Options
Hasło (For file and post deletion.)

Allowed file types: jpg, jpeg, gif, png, webm, mp4
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 1 per post.


File: 1421610824699.png (315,84 KB, 612x548, 153:137, 135093973892.png)

 No.32

/gakuran/ jest miejscem, w którym można po polsku, anonimowo i nieatencyjnie porozmawiać o chińskich bajkach i pokrewnych tematach.

Na chwilę obecną jedyne co bezwzględnie moderuję to rzeczy o wątpliwej legalności w świetle prawa Polski lub Stanów Zjednoczonych.

 No.92

File: 1421789511857.png (3,74 KB, 16x16, 1:1, kardigan.png)

Custom favikonka. 8ch nie pozwala na odgórną zmianę, trzeba sobie wkleić w user js (we wbudowanych opcjach)
var path = window.location.pathname;
if (path.search("gakuran") != -1) {
ico=document.createElement("link");
ico.setAttribute("rel", "icon");
ico.setAttribute("href","http://a.pomf.se/lsgaoj.ico");
document.documentElement.firstChild.appendChild(ico);
}
Post last edited at 2015-01-20 23:41:00

 No.273

Nowe gify się nie animują bo generują thumbnaile w jpg i tak już zostanie.

Site-wide ramka taka jak mamy tutaj przy webmach, wklejasz to w user CSS:
a[href$=".gif"] img.post-image {
border: 2px solid #FF9100;
padding: 2px;
}


Site-wide podmiana thumbnaili na właściwe gify, wklejasz to w user JS:
$('document').ready(function () {
var animateGif = function () {
if ($(this).children('img.post-image').attr('src') != '/static/spoiler.png')
$(this).children('img.post-image').attr('src', $(this).attr('href'));
}

$('div.file').children('a[href*=".gif"]').each(animateGif);
$(document).on('new_post', function (e, post) {
$(post).find('div.file').children('a[href*=".gif"]').each(animateGif);
});
});
Post last edited at 2015-02-01 19:36:33



Usuń post [ ]
[]
[Powrót][Do góry][Catalog]
[ / / / / / / / / ] [ b / news+ / boards ] [ operate / meta ] [ ]