打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

用户:Xp00000000/Sandbox:修订间差异

来自Rizline中文维基
Xp00000000留言 | 贡献
无编辑摘要
Xp00000000留言 | 贡献
无编辑摘要
第37行: 第37行:
</html>|| abc
</html>|| abc
|}
|}
-----
{{Video|<html>
<script>
function cycleTextData(element) {
  const states = JSON.parse(element.dataset.states || '["A", "B", "C"]');
  const currentIndex = parseInt(element.dataset.current || 0);
  const nextIndex = (currentIndex + 1) % states.length;
 
  element.textContent = states[nextIndex];
  element.dataset.current = nextIndex;
}
</script>
<div onclick="cycleTextData(this)" data-states='["EZ 1", "HD 6", "IN 9"]'
    data-current="0" style="cursor:pointer;">
  EZ 1
</div>
</html>|<html>
<script>
function cycleTextData(element) {
  const states = JSON.parse(element.dataset.states || '["A", "B"]');
  const currentIndex = parseInt(element.dataset.current || 0);
  const nextIndex = (currentIndex + 1) % states.length;
 
  element.textContent = states[nextIndex];
  element.dataset.current = nextIndex;
}
</script>
<div onclick="cycleTextData(this)" data-states='["4:3", "16:9"]'
    data-current="0" style="cursor:pointer;">
  4:3
</div>
</html>|EZ 1|HD 6|IN 9|1a|2a|3a|1b|2b|3b}}

2025年7月2日 (三) 12:08的版本

EZ 1
4:3
abc

EZ 1
4:3
a_EZ 1_1234.HD 6