【问题标题】:How do I get the menus become fully independent [closed]我如何让菜单变得完全独立[关闭]
【发布时间】:2023-03-27 23:03:01
【问题描述】:

我有这个项目http://codepen.io/neuberfran/pen/LZEgEr

But when I click in second menu, change the first menu

How I fix this issue?

【问题讨论】:

  • 已由 Batuhan Çilingiroğlu 解决

标签: html css angularjs forms intel-edison


【解决方案1】:
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <link rel="stylesheet" href="css/estilos.css">
    <title>wHome automatização</title>
</head>
<body>
    <div class="wrap">
        <div class="info">
            <h1>Controlando minha Janela</h1>
        </div>

        <form action="" class="formulario">
            <div class="radio">
                <h2>Lado Direito</h2>
                <input type="radio" name="radio" id="Abrir">
                <label for="Abrir">Abrir</label>

                <input type="radio" name="radio" id="Parar">
                <label for="Parar">Parar</label>

                <input type="radio" name="radio" id="Fechar">
                <label for="Fechar">Fechar</label>
            </div>
        </form>

        <form action="" class="formulariob">
            <div class="radiob">
                <h3>Lado Esquerdo</h3>
                <input type="radio" name="radio" id="test">
                <label for="test">Abrir</label> 

                <input type="radio" name="radio" id="test1">
                <label for="test1">Parar</label>

                <input type="radio" name="radio" id="test3">
                <label for="test3">Fechar</label>
            </div>
        </form>
    </div>
</body>
</html>

您必须更改第二个菜单的 ID 和标签

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-07-01
    • 1970-01-01
    • 1970-01-01
    • 2018-07-29
    相关资源
    最近更新 更多