h.shimizu 9月 2022に参加しました コネクションを削除します 接続からを削除してもよろしいですか? 活動状況 プロフィール 動画 写真 コミュニティ ドキュメント トピックス コメント コミュニティのコメント h.shimizu 管理者 2022年11月21日 11:42 ベストアンサーのテストコメント2 ベストアンサー h.shimizu 管理者 2022年11月21日 11:39 ベストアンサーテストコメント ベストアンサー h.shimizu 管理者 2022年11月21日 11:42 ベストアンサーのテストコメント3 ベストアンサー h.shimizu 管理者 2023年10月18日 14:20 aiueo ベストアンサー h.shimizu 管理者 2023年10月18日 14:23 test ベストアンサー h.shimizu 管理者 2023年10月25日 12:18 terst ベストアンサー h.shimizu 管理者 2023年11月28日 12:53 複数ファイル添付テスト sumple1.txt 786 B テキストファイル — クリックして 見る コピーダウンロードリンク // 選択肢がチェックボックスの場合、'next' ボタンの処理 if (self.type === 'checkbox') { let nextButton = current.querySelector('.next-button'); if (!nextButton) { // 次へボタンがない場合は作成する nextButton = document.createElement('div'); nextButton.textContent = '次へ'; nextButton.className = 'next-button'; current.appendChild(nextButton); // ボタンクリック時のイベントを追加 nextButton.addEventListener('click', function() { if (linkBoxAll.length > currentNo + 1) { next = linkBoxAll[currentNo + 1]; scrollPoint = next.getBoundingClientRect().top + window.pageYOffset; _.scrollTo(scrollPoint, setting.duration); } }); } nextButton.style.display = 'block'; return; } クリックして展開 sumple2.txt 290 B テキストファイル — クリックして 見る コピーダウンロードリンク //関連画像がある場合 if (currentNext && currentNext.classList.contains('q1-related-image')) { const imageToShow = document.querySelector('[class*="related-image"]'); imageToShow.style.display = 'block'; imageToShow.scrollIntoView({ behavior: 'smooth' }); } else { //...省略 } クリックして展開 sumple3.txt 234 B テキストファイル — クリックして 見る コピーダウンロードリンク .next-button { background-color: #007540; //カラーはサイト色に合わせてます color: #fff; font-size: 20px; text-align: center; width: 60%; margin:10px auto; padding: 10px 0; cursor: pointer; border-radius: 5px; } クリックして展開 ベストアンサー