add some helpful text to photo-view nav buttons
authorAndreas Unterkircher <unki@netshadow.at>
Mon, 31 Dec 2007 17:17:27 +0000 (18:17 +0100)
committerAndreas Unterkircher <unki@netshadow.at>
Mon, 31 Dec 2007 17:17:27 +0000 (18:17 +0100)
themes/default/templates/single_photo.tpl

index 0965b078bc4bfb4c9085df939c34813030621f55..22d8ca21f4bf8743ef8c481b7854784c90c29304 100644 (file)
@@ -34,7 +34,7 @@
      { if $next_url == "" }
       <a href="javascript:showPhotoIndex();" onclick="click(this);">
      { else }
      { if $next_url == "" }
       <a href="javascript:showPhotoIndex();" onclick="click(this);">
      { else }
-      <a href="{$next_url}" onclick="click(this);"> 
+      <a href="{$next_url}" onclick="click(this);" title="click for the next photo"
      { /if }
        <img src="{$image_url}" width="{$width}" height="{$height}" alt="photo" />
       </a>
      { /if }
        <img src="{$image_url}" width="{$width}" height="{$height}" alt="photo" />
       </a>
       { if $previous_url == "" }
        <img src="resources/arrow_left_gray.png" alt="first photo reached" />
       { else }
       { if $previous_url == "" }
        <img src="resources/arrow_left_gray.png" alt="first photo reached" />
       { else }
-      <a href="{$previous_url}" onclick="click(this);">
+      <a href="{$previous_url}" onclick="click(this);" title="click for the previous photo">
        <img src="resources/arrow_left.png" alt="previous photo" />
       </a>
       { /if }
      </td>
      <td style="text-align: center; width: 33%;">
        <img src="resources/arrow_left.png" alt="previous photo" />
       </a>
       { /if }
      </td>
      <td style="text-align: center; width: 33%;">
-      <a href="javascript:showPhotoIndex({$current});" onclick="click(this);">
+      <a href="javascript:showPhotoIndex({$current});" onclick="click(this);" title="click to go back to the index">
        <img src="resources/arrow_up.png" alt="photo index" />
       </a>
      </td>
        <img src="resources/arrow_up.png" alt="photo index" />
       </a>
      </td>
@@ -59,7 +59,7 @@
       { if $next_url == "" }
        <img src="resources/arrow_right_gray.png" alt="last photo reached" />
       { else }
       { if $next_url == "" }
        <img src="resources/arrow_right_gray.png" alt="last photo reached" />
       { else }
-      <a href="{$next_url}" onclick="click(this);" id="next_img" 
+      <a href="{$next_url}" onclick="click(this);" title="click for the next photo"
        <img src="resources/arrow_right.png" alt="next photo" />
       </a>
       { /if}
        <img src="resources/arrow_right.png" alt="next photo" />
       </a>
       { /if}