Advertisement
Guest User

Untitled

a guest
Oct 13th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. <img src="/img/back.png" style="position: absolute;
  2. top: -9px;
  3. left: auto;
  4. opacity: 1.7;
  5. cursor: zoom-in;
  6. width: 1120px;">
  7. <button id="xx" style="position:fixed;z-index:100;top:120px;left:0;padding:10px;background:gray;">@</button>
  8. <script>
  9. var xx = true;
  10. $('#xx').click(function(){
  11. $(this).prev().toggle();
  12. $(this).css('background-color', xx ? 'hotpink':'gray');
  13. xx = !xx;
  14. })
  15. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement