dropdown menü geht nicht

  • Hi, ich versuche gerade ein dropdown Menü in mein Skript einzubinden. Bloß leider lässt sich dieses nicht öffnen. Stimmt hier etwas mit der jquery Verlinkung nicht? Ich hoffe ihr könnt mir helfen.

    Ps: den überflüssigen Teil des Skriptes habe ich weggelassen.

    Danke für eure Hilfe


    <!DOCTYPE html>
    <!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements. See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership. The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License. You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied. See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    <html>
    <head>
    <meta charset="utf-8">
    <!--
    Customize this policy to fit your own app's needs. For more guidance, see:
    https://github.com/apache/cord…d#content-security-policy
    Some notes:
    * gap: is required only on iOS (when using UIWebView) and is needed for JS->native communication
    * https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
    * Disables use of inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
    * Enable inline JS: add 'unsafe-inline' to default-src
    -->
    <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data: content:;">
    <meta name="format-detection" content="telephone=no">
    <meta name="msapplication-tap-highlight" content="no">
    <meta name="viewport" content="initial-scale=1, width=device-width, viewport-fit=cover">
    <meta name="color-scheme" content="light dark">
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" href="js/jquery.min.js">
    <title>TODOs</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
           
    </head>
    <body>
    <div class="app">
    <div class="container-fluid">
    <div>
    <div class="row">
                           
    </div>
    </div>
                       
                        
                       
                        
    </div>
    <div class="dropdown">
    <button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Dropdown Example
    <span class="caret"></span></button>
    <ul class="dropdown-menu">
    <li><a href="#">HTML</a></li>
    <li><a href="#">CSS</a></li>
    <li><a href="#">JavaScript</a></li>
    </ul>
    </div>
                
    </div>
                
    </div>
    <script src="cordova.js"></script>
    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/index.js"></script>
          
    </body>
    </html>

  • Das hilft uns nicht viel.

    Wir können ohne die JS und CSS nicht viel helfen.

    Erstelle bitte einen Lauffähigen Code den wir testen können.

    ZB bei Codepen.io

    Da kannst du die CSS und JS mit reinkopieren.

    Es muß nicht alles sein , nur die CSS und JS die für die Navagition wichtig sind.


    Noch besser wäre ein Link zu deiner Seite , da hat man normalerweise alle Datein eingebunden und wir können dann mit der Konsole testen was da los ist.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!