Posted By

randycaruso on 09/24/11


Tagged

divs CSSq


Versions (?)

Clickable Divs


 / Published in: JavaScript
 

  1. /* ------- CLICKABLE DIV ------*/
  2.  
  3. onclick="location.href='xxxxxxxxxxx';" style="cursor:pointer;"
  4.  
  5.  
  6.  
  7.  
  8. /* ------- CLICKABLE DIV OPEN NEW WINDOW ------*/
  9.  
  10. onclick="window.open('xxxxxxxxx','_blank');" style="cursor:pointer;"

Report this snippet  

You need to login to post a comment.