Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AdminSpot.net - DeLeTeD PWNS
- <script type="text/javascript">
- function switchMenu(obj) {
- var el = document.getElementById(obj);
- if ( el.style.display != 'none' ) {
- el.style.display = 'none';
- }
- else {
- el.style.display = '';
- }
- }
- </script>
- <a onclick="javascript:switchMenu('bar');">
- <div class="bar">
- </div>
- If you don't want it to show on load use style="display:none;" on the bar div.
- You can replace link with an image or whatever, place it anywhere
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement