Здесь делается вжух 🪄

10%
тест, антуражка

DRAGON

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » DRAGON » Новый форум » Code


Code

Сообщений 1 страница 4 из 4

1

Сброс кодов

0

2

Код:
[html]<!DOCTYPE html>
<html lang="ru">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Опросник</title>
    <style>
        
        h1 {
            text-align: center;
            color: #333;
        }
        .poll-container {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        .options {
            margin: 15px 0;
        }
        .option {
            margin: 10px 0;
        }
        button {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }
        button:hover {
            background-color: #45a049;
        }
        #result {
            margin-top: 20px;
            font-weight: bold;
            text-align: center;
            color: #ff5722;
            font-size: 18px;
        }
    </style>
</head>
<body>
    <div class="poll-container">
        <h1>Кто ты?</h1>
        <div class="options">
            <div class="option">
                <input type="radio" id="pickme" name="poll" value="пикми">
                <label for="pickme">пикми</label>
            </div>
            <div class="option">
                <input type="radio" id="sigma" name="poll" value="сигма">
                <label for="sigma">сигма</label>
            </div>
            <div class="option">
                <input type="radio" id="alpha" name="poll" value="альфа">
                <label for="alpha">альфа</label>
            </div>
            <div class="option">
                <input type="radio" id="amega" name="poll" value="амега">
                <label for="amega">амега</label>
            </div>
            <div class="option">
                <input type="radio" id="helicopter" name="poll" value="вертолет">
                <label for="helicopter">вертолет</label>
            </div>
        </div>
        <button onclick="showResult()">Голосовать</button>
        <div id="result"></div>
    </div>

    <script>
        function showResult() {
            const selectedOption = document.querySelector('input[name="poll"]:checked');
            const resultDiv = document.getElementById('result');
            
            if (selectedOption) {
                resultDiv.innerHTML = "Супер! ★ Но твой голос мы не сохраним так как код калечный💘💝💖💓";
            } else {
                resultDiv.textContent = "голосни";
            }
        }
    </script>
</body>
</html>[/html]

0

3

стикосы
формы хтмл ответы
txt в формате анси редактировать из админ.-файлы

Код:
<!----------------------------------------------------------------------------------------------------- СТИКЕРЫ ---->

<script src="https://forumstatic.ru/files/0017/95/29/40399.js"></script>
<script>
$(document).ready(function() {
  hvStickerPack.init("https://forumstatic.ru/files/001c/7d/bb/12727.txt");
});
</script>

бб-цитирование с умным модулем

Код:
<!-- BB-цитирование © Alex_63 для ForumD.ru, 2024 -->
<script type="text/javascript" src="https://forumstatic.ru/f/su/1bb/bbquote.js?v=1"></script>
<script type="text/javascript" src="https://forumstatic.ru/f/su/1bb/bbquote.custom_quotes.js?v=1"></script>

0

4

хтмл низ

Код:
<!--Убрать сокращатель ссылок -->
<script>
FORUM.set("editor.link.short_url", function() { return false; });
</script>
<!--- конец --->
Код:
<!--Отправка сообщений ctrl+entr-->
<script type="text/javascript">
document.onkeydown=function(e){
if (e) event=e
if ((event.keyCode==13)&&(event.ctrlKey)){
document.getElementById('post').submit.click();
}}
</script>
<!-- Конец -->
Код:
<!-- Исключение из "Цитировать" подписи и "отредактировано" -->
<script type="text/javascript"> (function(){    var p =[];
  $('.post').find('.pl-quote').click(function(){
    p[0] = $(this).parents('.post').find('.lastedit');
    p[1] = $(this).parents('.post').find('.post-sig');
    p[2] = p[0].html();p[3] = p[1].html();
    p[0].html('');p[1].html('');
    setTimeout(function(){p[0].html(p[2]);p[1].html(p[3])},600);});
}());
</script>
<!-- конец -->

0


Вы здесь » DRAGON » Новый форум » Code


Рейтинг форумов | Создать форум бесплатно