Hi I have the following coding for a quick side menu which is working fine but I want to add to it and it wont let me.
- Code:
document.write('<style type="text/css">#menu,#menu a{font-family:Arial,Helvetica,sans-serif;padding:5px;font-weight:700}#menu,#menu #bar,#menu a,#menu a:hover{font-weight:700}#menu{position:fixed;top:40px;left:-192px;width:210px;height:530px;font-size:14px;color:#CB8D9A;overflow:hidden;border:1px solid #000;background:#E0E1DF}#menu:hover{left:0}#menu a{font-size:12px;line-height:20px;color:#000;font-style:normal;text-decoration:none}#menu a:hover{color:#d00;text-decoration:underline}#menu #bar{position:absolute;top:0;right:0;width:25px;padding:2px;text-align:center;height:536px;font-size:14px;background:#3A3A3A}#menu hr{border:0;color:#000;height:1px;text-align:center;width:100%;background:#000}</style>');
  $(function() {
   document.body.insertAdjacentHTML('beforeEnd', '<div id="menu">
  <div id="bar"><br><br><br><br><br><br>Q<br>U<br>I<br>C<br>K<br><br><br>F<br>O<br>R<br>U<br>M<br><br><br>M<br>E<br>N<br>U</div>
Last edited by aprilshowers0923 on Thu 10 Mar 2016 - 5:57; edited 2 times in total