Tue, 2021-03-30 08:05
Hi all I am very new to css, been using it for 4 weeks,
I have a dropdown menu that I use on a page. but what to use in on all html pages.
i have tried java script like this
<body> <script type="text/JavaScript" language="JavaScript" src="js/menu-Ddown.js"> </script>
which has the code in it like this. but it does not work. any help would be useful and greatly received.
mike
Document.write (' <div class="flexbox-container">'); Document.write (' <div class="flexbox-item flexbox-item-1">'); Document.write (' <h4> left of logo</h4>'); Document.write (' </DIV>'); Document.write (' <!-- items in the box are centerd on one line -->'); Document.write (' <div class="flexbox-item flexbox-item-1">'); Document.write (' <img src="company images/small logo.png" alt="LandG logo" style="width:40%" style="height:40%" >'); Document.write (' </DIV>'); Document.write (' <div class="flexbox-item flexbox-item-1">'); Document.write (' <h4> looking cool at cool prices </h4>'); Document.write (' </DIV>'); Document.write (' </div>'); Document.write ('<br> </br>'); Document.write ('<div class="flexbox-container1row" >'); Document.write ('<nav>'); Document.write (' <div class="dropdown">'); Document.write (' <button> <a href="http://www.LandGfashion.com/index.html">Home</a></button>'); Document.write (' <div class="Ladies">'); Document.write (' <button>Ladies</button>'); Document.write (' <ul>'); Document.write (' <li><a href="indexladies.html">All dresses</a></li>'); Document.write (' <li><a href="Tops.html">Tops</a></li>'); Document.write (' <li> <a href="Jeans.html">Jeans</a></li>'); Document.write (' <li><a href="Lt-shirts.html">t-shirts</a></li>'); Document.write (' <li> <a href="Swimwear.html">Swimwear</a></li>'); Document.write (' <li><a href="Shorts.html">Shorts</a></li>'); Document.write (' <li><a href="Shorts.html">Lauangery</a></li>'); Document.write (' </ul>'); Document.write (' </div>'); Document.write (' <div class="Mens"> <!--<a href="http://www.LandGfashion.com/Uc.html">Mens</a> -->'); Document.write (' <button>Mens</button>'); Document.write (' <ul>'); Document.write (' <li><a href="#">Shirts</a></li>'); Document.write (' <li> <a href="Swimwear.html">Swimwear</a></li>'); Document.write (' <li><a href="Shorts.html">Shorts</a></li>'); Document.write (' </ul>'); Document.write (' </div>'); Document.write (' </div>'); Document.write (' </div> '); Document.write (' <!-- end of javescript Document.write --> ');
Fri, 2021-04-16 18:55
#1
The question is unclear.
The question is unclear. Please restate.