Announcement

Collapse
No announcement yet.

background as advertisement

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [CMS] background as advertisement

    hey guys, so I would like to make my background image click-able. What is the easiest way to make this happen?


    thanks in advance for your help...
    _
    http://PokerMaps.com

  • #2
    Google "background image clickable" and you will get many options to choose from.

    Comment


    • #3
      here is the javascript
      Code:
      <script type="text/javascript">
      function clickTrack() 
      { 
           window.open("http://yourlink","_blank"); 
      } 
      </script>
      here is the css
      Code:
      /* This is the logo link clickable area */
      #logo-zone {
      position: absolute;
      top: 0;
      left: 0;
      z-index:-1;
      height: 792px;
      width: 100%;
      background-color: transparent;
      }
      and here is the html to place in your site
      Code:
      <a id="logo-zone" onclick="clickTrack();"></a>
      Last edited by flashdave; Mon 11 Apr '11, 12:27pm.
      _
      http://PokerMaps.com

      Comment


      • #4
        thanks for pointing me in the right direction
        _
        http://PokerMaps.com

        Comment

        Related Topics

        Collapse

        Working...
        X