Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <img src="/img/back.png" style="position: absolute;
- top: -9px;
- left: auto;
- opacity: 1.7;
- cursor: zoom-in;
- width: 1120px;">
- <button id="xx" style="position:fixed;z-index:100;top:120px;left:0;padding:10px;background:gray;">@</button>
- <script>
- var xx = true;
- $('#xx').click(function(){
- $(this).prev().toggle();
- $(this).css('background-color', xx ? 'hotpink':'gray');
- xx = !xx;
- })
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement