Author Topic: Minor (?) suggestion for BBC images...  (Read 1432 times)

Offline Jack.R.Abbit™

  • SMF Friend
  • Sophist Member
  • *
  • Posts: 1,290
  • Gender: Male
Minor (?) suggestion for BBC images...
« on: July 30, 2003, 05:58:10 PM »
Ok, maybe I'm just nit-picking but I have a small request.  If a few slight modification was made to the way the BBC images/table was done in the post screen, it would be a great improvement.  I'll just show you:

The current code for the bold BBC image:
Code: [Select]
<td><a href="javascript:surroundText('[b]', '[/b]')"><img onmouseover="bbc_highlight(this);" onmouseout="bbc_unhighlight(this);" src="http://www.simplemachines.org/community/Themes/default/images/bbc/bold.gif" align="bottom" width="23" height="22" alt="" border="0" /></a></td>
Suggested code for same image:
Code: [Select]
<td width="23" height="22"><a href="javascript:surroundText('[b]', '[/b]')"><img onmouseover="bbc_highlight(this);" onmouseout="bbc_unhighlight(this);" src="http://www.simplemachines.org/community/Themes/default/images/bbc/bold.gif" align="bottom" width="23" height="22" alt="Bold" title="Bold" border="0" /></a></td>now you may ask... what the hell difference does that make?  Well by adding the title="Bold" and the alt="Bold" attribute, now the browser will popup the little "hint" to tell you what it does.  (Bold is not a good example cause it is known to most but the some others are questionable)  Plus it gives the non-graphic browsers something to see as well.  Also, adding the image width and height into the td code will force the table cell to stay big enought to actuall give the non-graphical user something to click (which in some browsers is enoguht room to actually display the Alt text added.

Just a thought.  I suppose there are lots of places where the title and alt attributes could be added... most all of the other buttons are pretty self explanitory.

PS... this same theory could apply to the smileys as well if they all have names like "smile", "grin", "crying" etc

just my 2 bits

-Jack

I should add that I love the new BBC buttons... the highlighting looks great.  :)
« Last Edit: July 30, 2003, 06:00:08 PM by Jack.R.Abbit »

Offline [Unknown]

  • SMF Friend
  • Simple Machines Super Hero
  • *
  • Posts: 36,361
  • Gender: Male
Re:Minor (?) suggestion for BBC images...
« Reply #1 on: July 30, 2003, 06:10:43 PM »
Darn, I forgot... this is realyl a bug.  The alt/title's should still be there, I must've accidently removed them.

-[Unknown]

Offline [Unknown]

  • SMF Friend
  • Simple Machines Super Hero
  • *
  • Posts: 36,361
  • Gender: Male
Re:Minor (?) suggestion for BBC images...
« Reply #2 on: October 19, 2003, 08:22:35 PM »
Fixed... actually a while ago....

-[Unknown]