Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

[SOLVED] Is it possible to have multiple clickable links in the Header or other graph


  #1  
Old Feb 3, 2009, 01:21 AM
Eric Bobrow
 
70 posts · Jan 2009
[SOLVED] Is it possible to have multiple clickable links in the Header or other graph

Hi Flynn -

Another quick question tonight. I'm used to being able to create graphics with multiple clickable links, using the HTML feature that allows you to define hotzones and their reference links. Is this possible in WordPress? If so, is it also possible to specify this in the Header graphic? By the way, I'm using a single graphic for the Header rather than rotating multiple images.

Eric
  #2  
Old Feb 3, 2009, 04:41 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
To be able to account for both fixed and fluid layouts Atahualpa uses the header image as background image in both cases. Image maps are not possible with background images as far as I know.

If you use a FIXED width, you could include a regular image either by messing with bfa_header_config.php, or, easier, include the image above or below the whole default header area, by putting the image into header.php, around line 877-883:

PHP Code:
<!-- Header -->
<td id="header" colspan="<?php echo $cols?>">
... image map code here ... for above the header area
<?php bfa_header_config($bfa_ata_configure_header); ?>
 ... or image map code here ... for below the header area
</td>
<!-- / Header -->
You'd probably create the image map in Dreamweaver or so but should be able to copy/paste the code into header.php

http://www.w3schools.com/TAGS/tag_map.asp
  #3  
Old Jun 11, 2009, 09:48 AM
tim5046
 
19 posts · Jun 2009
I've been working on this for quite awhile now, and nothing seems to be working. I did it exactly how you said in header.php, but for some reason it is not working. Here is my code:

<!-- Header -->
<td id="header" colspan="<?php echo $cols; ?>">
<img src="http://www.w3schools.com/TAGS/planets.gif" width="145" height="126" alt="Planets" usemap="#planetmap" />

<map name="planetmap">
<area shape="rect" coords="0,0,82,126" href="http://www.google.com" alt="Sun" />
<area shape="circle" coords="90,58,3" href="http://www.google.com" alt="Mercury" />
<area shape="circle" coords="124,58,8" href="http://www.google.com" alt="Venus" />
</map>
<?php bfa_header_config($bfa_ata_configure_header); ?>
</td>
<!-- / Header -->



I used the same code as the example at http://www.w3schools.com/TAGS/tag_map.asp just to be clear. Not sure why this isn't working?
  #4  
Old Jun 12, 2009, 05:37 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
What is not working, what do you get?
  #5  
Old Jun 22, 2009, 07:24 AM
tim5046
 
19 posts · Jun 2009
My entire page goes blank, like there is nothing there. Is there something wrong with my code?
  #6  
Old Jun 22, 2009, 10:59 AM
tim5046
 
19 posts · Jun 2009
Hi --

I fixed the problem, now everything works great so thanks!

One thing though -- now below my header there is a gap between the image and my page menu bar (probably about 3 or 4 pixels tall), and I was wondering how to remove the gap so that they are right on top of each other?

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Categories, Multiple versions of Altahualpa Jaguwar Atahualpa 3 Wordpress theme 16 Apr 27, 2010 08:55 AM
[...] on excerpts - can they be made clickable links? HalfWayThere Excerpts, Read more, Pagination 10 Jun 28, 2009 02:36 AM
Trying to insert multiple clickable images above my Logo whatsmytruth Header configuration & styling 1 May 1, 2009 12:07 PM
Custom Header - Inserting HTML table and links over header. hotsauce Header configuration & styling 2 Apr 9, 2009 05:56 AM
All supplied graphics disappeared. Huge thanks from a Newbie for your help. tpatpa Atahualpa 3 Wordpress theme 2 Feb 28, 2009 11:46 AM


All times are GMT -6. The time now is 05:57 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.