User:Ultimate Dark Carnage/Sandbox4.js

$('#trigger').click(function{   $(this).after('Chat Menu  Toggle Away Options &gt; Clear Chat</a> ');    $('head').append('<style type="text/css"> .menu-wrapper a:hover > .dropdown { display: block;} .menu-wrapper .dropdown { display: none;} .menu-wrapper .dropdown, .menu-wrapper .dropdown ul { list-style: none;} .menu-wrapper .dropdown { background: rgba(45, 0, 80, 0.4); width: 165px; text-align: center; padding: 5px;} .menu-wrapper .dropdown ul { display: none;} .menu-wrapper .dropdown > li:hover ul { display: block; position: absolute; left: 25%; top: 60%; background: rgba(45, 120, 80, 0.3);} '); });