Register   Login
     
  Latest Posts  
Catcha doesnt seem to work
by chaloum on 3/20/2010 8:16 PM
RE: Recently created articles are not shown in list
by atriage on 3/20/2010 10:15 AM
RE: Recently created articles are not shown in list
by spirit on 3/20/2010 10:08 AM
RE: Introducing the most powerful News Slider for Ventrian News Articles
by jhoelz on 3/19/2010 9:29 PM
Rich Snippets for Review, Ratings etc!
by georgelew on 3/19/2010 7:49 PM
Recently created articles are not shown in list
by atriage on 3/19/2010 11:18 AM
RE: News Articles Tokens
by spirit on 3/19/2010 10:43 AM
Author post count and link in listing.item.html
by mattbunce on 3/19/2010 10:18 AM
RE: News Article Detail and Lightbox
by spirit on 3/19/2010 10:12 AM
RE: News Article Detail and Lightbox
by ray-isc on 3/19/2010 9:49 AM
  Forums  
Subject: ENH/??: Alt/Title for [ICON] Image Tag
Prev Next
You are not authorized to post a reply.

Author Messages
brit77User is Offline
Registered Users
Ventrian Active Member
Ventrian Active Member
Posts:34


10/15/2008 4:11 PM  

Scott, in this thread you first added the alt attribute ("page icon") to an ICON image in order to validate the code.

The last post asked: "I guess it  is impossible to implement the [TITLE] inside the alt="[TITLE]" ?(OR NAME)" but was not answered.

I would like to resurrect this question/request.  Would it be possible to set both alt and title to [TITLE] of the child page? 

On the site I'm working on now, I've set my template to display only the page icon (i.e [ICON]), so having something more specific than "page icon" for the alt and title attributes would do a lot for usability.

Hope this is a feasible request. Thanks!

 

 

 

 

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


10/16/2008 5:11 AM  
I guess we could do something like [ICONTITLE] which would create an icon and use the title as the alt.

Is there a title attribute on an image tag?

Scott McCulloch
Site Administrator
brit77User is Offline
Registered Users
Ventrian Active Member
Ventrian Active Member
Posts:34


10/21/2008 5:45 PM  
Scott, sure that would work, but why not just add the title as the alt for the existing [ICON] token?
Is there any reason why someone would not want to have a valid alt for an image (to necessitate having two separate tokens)?

The title attribute in an image tag would be for mouseovers in Firefox, so that's not really a high priority!
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


10/22/2008 6:24 AM  
Ok - I'll do that

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Modules > Child Links > ENH/??: Alt/Title for [ICON] Image Tag



ActiveForums 3.7