summaryrefslogtreecommitdiffstats
path: root/templates/single_photo.tpl
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-07-07 07:38:24 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-07-07 07:38:24 +0000
commitbfd5316327702904d69fe454ff9cce23f6206826 (patch)
tree20882b70f127ba2c400b2c5c4defd2bb7b5758ef /templates/single_photo.tpl
parent3752929d2b01cf3047f8980eff8fecf0bfa93ce9 (diff)
blur the focus on mouse click
git-svn-id: file:///var/lib/svn/phpfspot/trunk@169 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'templates/single_photo.tpl')
-rw-r--r--templates/single_photo.tpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/single_photo.tpl b/templates/single_photo.tpl
index b93803f..5ad2450 100644
--- a/templates/single_photo.tpl
+++ b/templates/single_photo.tpl
@@ -19,9 +19,9 @@
<tr>
<td colspan="3">
{ if $next_url == "" }
- <a href="javascript:showPhotoIndex();">
+ <a href="javascript:showPhotoIndex();" onclick="click(this);">
{ else }
- <a href="{$next_url}">
+ <a href="{$next_url}" onclick="click(this);">
{ /if }
<img src="{$image_url}" width="{$width}" height="{$height}" alt="photo" />
</a>
@@ -32,13 +32,13 @@
{ if $previous_url == "" }
<img src="resources/arrow_left_gray.png" alt="first photo reached" />
{ else }
- <a href="{$previous_url}">
+ <a href="{$previous_url}" onclick="click(this);">
<img src="resources/arrow_left.png" alt="previous photo" />
</a>
{ /if }
</td>
<td style="text-align: center; width: 33%;">
- <a href="javascript:showPhotoIndex({$current});">
+ <a href="javascript:showPhotoIndex({$current});" onclick="click(this);">
<img src="resources/arrow_up.png" alt="photo index" />
</a>
</td>
@@ -46,7 +46,7 @@
{ if $next_url == "" }
<img src="resources/arrow_right_gray.png" alt="last photo reached" />
{ else }
- <a href="{$next_url}">
+ <a href="{$next_url}" onclick="click(this);">
<img src="resources/arrow_right.png" alt="next photo" />
</a>
{ /if}
@@ -74,7 +74,7 @@
<br />
<u><img src="resources/small_available_tags.png" alt="available tags" />&nbsp;Tagged with:</u><br />
{ foreach from=$tags key=id item=name }
- <a class="smalltag" href="javascript:Tags('add', '{$id}');" onclick="click(this);">{$name}</a><br />
+ <a class="smalltag" href="javascript:Tags('add', '{$id}');" onclick="click(this);" onclick="click(this);">{$name}</a><br />
{ /foreach }
{ /if }
</div>