f0ckv2/public/js/rt.js

54 lines
1.3 KiB
JavaScript
Raw Normal View History

2019-05-07 20:23:19 +00:00
export default {
layout: {
margin: 6,
min_cols: 3,
min_rows: 4,
itemsize: 130
},
url: "//f0ck.me",
2019-05-15 17:51:11 +00:00
api: "//dev.f0ck.me/api",
vars: {
cd: 700,
block: "start"
},
2019-05-07 20:23:19 +00:00
tmp: {
scroll: false,
2019-05-15 17:51:11 +00:00
resize: null,
hash: true
},
items: {
first: null,
last: null,
newest: null,
oldest: null,
next: null,
prev: null,
act: null,
eps: 0
2019-05-07 20:23:19 +00:00
},
2019-05-15 17:51:11 +00:00
ct: {
content: document.querySelector("div#content"),
wrapper: {
pages: document.querySelectorAll("div.p_item"),
items: document.querySelectorAll("div.i_item")
},
tabs: {
item: document.querySelector("div#itemwrapper"),
howto: document.querySelector("div#howtowrapper")
},
arrows: document.querySelectorAll("div.arrow"),
2019-05-11 09:20:48 +00:00
header: {
iteminfo: document.querySelector("div#itemInfo"),
pagepos: document.querySelector("div#pagePosition"),
itempos: document.querySelector("div#itemPosition"),
infos: {
title: document.querySelector("span#itemTitle"),
source: document.querySelector("a#itemSource"),
time: document.querySelector("span#itemTime"),
nick: document.querySelector("span#itemNick"),
channel: document.querySelector("span#itemChannel")
}
2019-05-15 17:51:11 +00:00
}
2019-05-07 20:23:19 +00:00
}
};