Resize Controls code broken [message #158447] |
Thu, 26 February 2009 07:27 |
Marticus
Messages: 272 Registered: June 2002
Karma: 1
|
Senior Member |
|
|
Fixed broken code and added alt text for brail readers. Why isn't there a grippie thing on the right side like there is on the bottom?
--- post_common.tmpl.orig 2009-02-25 10:05:52.000000000 -0700
+++ post_common.tmpl 2009-02-26 00:13:32.000000000 -0700
@@ -110,10 +113,10 @@
{SECTION: END}
{SECTION: resize_controls}
-<a href="javascript://" onclick="rs_txt_box(50, 0);"><img alt="" src="{THEME_IMAGE_ROOT}/rs_hb.gif" style="margin: 2px" /></a><br />
-<a href="javascript://" onclick="rs_txt_box(0, 100);"><img alt="" src="{THEME_IMAGE_ROOT}/rs_vb.gif" style="margin: 2px" /></a><br />
-<a href="javascript://" onclick="rs_txt_box(-50, 0);"><img alt="" src="{THEME_IMAGE_ROOT}/rs_hs.gif" style="margin: 2px" /></a><br />
-<a href="javascript://" onclick="rs_txt_box(0, -100);"><img alt="" src="{THEME_IMAGE_ROOT}/rs_vs.gif"
+<a href="javascript://" onclick="rs_txt_box(50, 0);"><img alt="Expand Right" src="{THEME_IMAGE_ROOT}/rs_hb.gif" style="margin: 2px" /></a><br />
+<a href="javascript://" onclick="rs_txt_box(0, 100);"><img alt="Expand Down" src="{THEME_IMAGE_ROOT}/rs_vb.gif" style="margin: 2px" /></a><br />
+<a href="javascript://" onclick="rs_txt_box(-50, 0);"><img alt="Compact Left" src="{THEME_IMAGE_ROOT}/rs_hs.gif" style="margin: 2px" /></a><br />
+<a href="javascript://" onclick="rs_txt_box(0, -100);"><img alt="Compact Up" src="{THEME_IMAGE_ROOT}/rs_vs.gif" style="margin: 2px" /></a>
{SECTION: END}
{SECTION: common_javascript}
|
|
|
|
Re: Resize Controls code broken [message #158449 is a reply to message #158448] |
Thu, 26 February 2009 08:35 |
Marticus
Messages: 272 Registered: June 2002
Karma: 1
|
Senior Member |
|
|
Are other alt texts in i18n? If so, then it would be a good idea to keep it uniform.
As for the symbols... not sure those show up on brail readers But now that I think about it, how many brail readers need to change the size of an edit box? Whatever.
I can only just barely wrap my brain around the existing javascript used for the existing grippie thing. I don't think I will be able to implement a side grippie to replace the arrows.
[Updated on: Thu, 26 February 2009 08:36] Report message to a moderator
|
|
|
|