[
板情報
|
カテゴリランキング
]
したらばTOP
■掲示板に戻る■
全部
1-100
最新50
|
1-
101-
201-
301-
401-
501-
601-
701-
801-
901-
この機能を使うにはJavaScriptを有効にしてください
|
レス数が900を超えています。1000を超えると投稿できなくなるよ。
●●●●●日本中のゴキブリを一掃する!●●●●●
771
:
Guest
:2020/09/30(水) 08:16:01 ID:???
432: 大島 ◆oPFpoxa1ys :2020/09/30(水) 06:45:43 ID:???
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {height: 100vh; margin: 0; display: flex; flex-direction: column;}
fieldset {border: none; background: antiquewhite; margin: 0; padding: 5px;}
main {flex: 1;}select {height: 26px; margin-left: 5px;} input {width: 170px; height: 20px;}
</style>
</head>
<body>
<fieldset>
<input id="input" type="text" placeholder="- 参加者欄からの書き込み -">
<button id="btn">送信</button><select id="select"></select><select id="select1"></select>
</fieldset>
<main><iframe id="iframe" frameborder="0"width="100%"height="100%"></iframe></main>
<script>
const array = [
['部屋選択',''],
['新-free部屋',`
http://vvvvvvvv.xsrv.jp/nendai/comchat.cgi?retime=0&lines=50&name=
`],
['新-40部屋',`
http://vvvvvvvv.xsrv.jp/40a/comchat.cgi?retime=0&lines=50&name=
`],
['新-50部屋',`
http://vvvvvvvv.xsrv.jp/50a/comchat.cgi?retime=0&lines=50&name=
`],
['新-60部屋',`
http://vvvvvvvv.xsrv.jp/60a/comchat.cgi?retime=0&lines=50&name=
`],
['新-1970部屋',`
http://vvvvvvvv.xsrv.jp/1970/comchat.cgi?retime=0&lines=50&name=
`],
['新-1960部屋',`
http://vvvvvvvv.xsrv.jp/1960/comchat.cgi?retime=0&lines=50&name=
`],
['新-1950部屋',`
http://vvvvvvvv.xsrv.jp/1950/comchat.cgi?retime=0&lines=50&name=
`],
['G-free部屋',`
http://chat.exp.jp/7771/comchat.cgi?retime=0&lines=50&name=
`],
['G-40部屋',`
http://chat.exp.jp/4440/comchat.cgi?retime=0&lines=50&name=
`],
['G-50A部屋',`
http://chat.exp.jp/5550/comchat.cgi?retime=0&lines=50&name=
`],
['G-50B部屋',`
http://chat.exp.jp/5551/comchat.cgi?retime=0&lines=50&name=
`],
['G-60部屋',`
http://chat.exp.jp/6660/comchat.cgi?retime=0&lines=50&name=
`],
['G-1970部屋',`
http://chat.exp.jp/1970/comchat.cgi?retime=0&lines=50&name=
`],
['G-1960部屋',`
http://chat.exp.jp/1960a/comchat.cgi?retime=0&lines=50&name=
`],
['G-1950部屋',`
http://chat.exp.jp/1950a/comchat.cgi?retime=0&lines=50&name=
`],
['BBS-大島','
https://9203.teacup.com/negentropy/bbs'
],
['BBS-したらば','
https://jbbs.shitaraba.net/internet/15589'
],
];
let res;
array.forEach(a =>{
const option = document.createElement('option');
option.value = a[1]; option.textContent = a[0];
if(/新/.test(option.textContent)) option.style.color = '#4285f4';
if(/BBS/.test(option.textContent)) option.style.color = 'red';
select.appendChild(option);
});
select.addEventListener('change',()=>{
res = select.value.replace( "retime=0" , `retime=${select1.value}`);
iframe.src = res;
});
btn.addEventListener('click',()=>{
if(select.selectedIndex === 0 || /BBS/.test(array[select.selectedIndex][0])) {
input.value = ""; return;
};
iframe.src = `${res}${input.value}`; input.value = "";
});
retime = [0, 5, 10, 20, 30, 40];
retime.forEach(re =>{
const option = document.createElement('option');
option.value = re; option.textContent = `${re}秒`;
select1.appendChild(option);
});
select1.addEventListener('change',()=>{
res = select.value.replace("retime=0", `retime=${select1.value}`);
iframe.src = res;
legend.textContent = array[select.selectedIndex][0];
});
</script>
</body>
</html>
新着レスの表示
名前:
E-mail
(省略可)
:
※書き込む際の注意事項は
こちら
※画像アップローダーは
こちら
(画像を表示できるのは「画像リンクのサムネイル表示」がオンの掲示板に限ります)
スマートフォン版
掲示板管理者へ連絡
無料レンタル掲示板