• I changed the code to this <div id=”header” onclick=”location.href=’http://siteaddress/’;” style=”cursor: pointer;”> to get my header to link but it made the header disappear. Initially I tried to create hotspots (image maps) because I wanted to different areas to click to 2 different locations but I gave up on that too because it wouldn’t work. My header should click to the home page and then the DONATE NOW button I want to connect to the donations page. Any suggestions on how I can do this. If I have to just make the whole header click to the donate page, then that is better than nothing 🙂

    http://www.bosshi.com/blog

Viewing 1 replies (of 1 total)
  • for instance, you could introduce a new div, probably in header.php:

    </div>
    
    		<!-- /header_logo -->
    
    <!-- new div -->
    <div id="donate" style="position:relative;top:410px;left:770px;width:125px;border:2px solid red;"><a href="http://bossi.com/blog/?page_id=4" style="width:125px;height:40px;display:block;"></a></div>
    <!-- end of new div -->
    
    	</div>
    
    	<!-- /header -->

    that example should form a clickable box over the donation button area (border:2px solid red; added to show the position of the area).
    you can extract the inline styles and write them into style.css.

    only tried in firefox with the developer add-on – not tested in other browsers or older IE.

Viewing 1 replies (of 1 total)

The topic ‘having your header link’ is closed to new replies.