Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. <script>
  2. function show(viewProductBtn){
  3. document.getElementByClassName(viewProductBtn).style.visibility = "visible";
  4. }
  5.  
  6. function hide(viewProductBtn) {
  7. document.getElementByClassName(viewProductBtn).style.visibility = "hidden";
  8. }
  9. </script>
  10.  
  11. <!--HTML-->
  12. <div class="product-shot-bg" onMouseOver="show('viewProductBtn')" onMouseOut="hide('viewProductBtn')">
  13. <a href="#" class="viewProductBtn"></a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement