Support Forums

Equivalent to Area Map Link on Template Logo

This is a discussion on Equivalent to Area Map Link on Template Logo within the Templates, HTML, CSS, and Design Help forums, part of the General category; I have searched the 68C documentation and didn't find anything on this topic. Essentially I want to allow a specific ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 06-17-2009, 07:30 AM   #1
Member
 
Join Date: May 2009
Posts: 66
Rep Power: 0
Exclamation Equivalent to Area Map Link on Template Logo

I have searched the 68C documentation and didn't find anything on this topic. Essentially I want to allow a specific portion of the Template Logo to be used as a link back to index.php. The only thing I have been able to come up with is using a Map over the image: <img src="photos/{$template_logo}" border="0" alt="{$template_title}" usemap="#Map" /><map name="Map" id="Map"><area shape="rect" coords="15,24,319,138" href="index.php" /></map>

The reason why I am asking is that I am getting an error with HTML validation and I don't know why it the WC3 is flagging this line of code. So I thought if there was a way in the admin to control this, then perhaps I can eliminate this error.

This is the WC3's explanation of the error:

************************************************** ****************
�s="15,24,319,138" href="index.php" /></map>
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
************************************************** ****************

Can anyone please advise me on this?
__________________
68C | Developer License | Running v4.1.3
industrialpost is offline   Reply With Quote
Old 06-17-2009, 09:18 AM   #2
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,422
Rep Power: 75
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

It appears that what you are missing is an alt= in your map area. In HTML/XHTML this is a requirement for an image element. Map areas are treated just like images, because that is essentially what they are. So in your map area you should have the syntax like this:
href="index.php" alt="Home" />

A good reference for this type of thing is here: w3schools.com

As you are working through validation errors use the reference section and click on the referenced element. Compare your syntax to the example syntax in the reference and you should easily be able to notice a difference to bring your code into compliance.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 06-17-2009, 09:19 AM   #3
Staff
 
Join Date: Mar 2006
Posts: 604
Rep Power: 36
Blair will become famous soon enough
Default



http://www.68classifieds.com/forums/...html#post40074
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
Blair is offline   Reply With Quote
Old 06-17-2009, 12:02 PM   #4
Member
 
Join Date: May 2009
Posts: 66
Rep Power: 0
Smile

Hmm interesting. I never knew that you had to have an alt="" tag for an area map. I think it is really redundant and thus I thought it was something else causing the error. Thanks guys!
__________________
68C | Developer License | Running v4.1.3
industrialpost is offline   Reply With Quote
Old 06-17-2009, 12:36 PM   #5
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,422
Rep Power: 75
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Quote:
Originally Posted by industrialpost
Hmm interesting. I never knew that you had to have an alt="" tag for an area map. I think it is really redundant and thus I thought it was something else causing the error. Thanks guys!
It may seem redundant to you, however to someone who is blind and is using a non-visual browser it certainly isn't.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can not log into customer area redmtnex Technical Support 2 10-22-2008 12:02 PM
How do i change the logo on 68 auto red template? curiousaboutwebdesign Technical Support 2 06-18-2008 09:21 PM
Admin Area Jessej Technical Support 1 09-21-2007 12:41 PM
Area to display # of members and # of ads zman78 Templates, HTML, CSS, and Design Help 13 03-30-2006 09:51 AM


All times are GMT -4. The time now is 11:07 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0