summaryrefslogtreecommitdiffstats
path: root/templates
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
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')
-rw-r--r--templates/photo_index.tpl2
-rw-r--r--templates/single_photo.tpl12
2 files changed, 7 insertions, 7 deletions
diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl
index cb079e2..9ac7458 100644
--- a/templates/photo_index.tpl
+++ b/templates/photo_index.tpl
@@ -48,7 +48,7 @@
<td class="thumb">
{if $images[row][col] }
<div id="inner" onmouseover="setBackGrdColor(this, 'mouseover');" onmouseout="setBackGrdColor(this, 'mouseout');">
- <a href="javascript:showImage({$images[row][col]});" id="{$images[row][col]}" name="image{$img_id[row][col]}" class="thumblink">
+ <a href="javascript:showImage({$images[row][col]});" id="{$images[row][col]}" name="image{$img_id[row][col]}" class="thumblink" onclick="click(this);">
<img class="thumb" id="{$images[row][col]}" src="phpfspot_img.php?idx={$images[row][col]}&amp;width={$width}" alt="thumb_{$images[row][col]}" width="{$img_width[row][col]}" height="{$img_height[row][col]}" />
<br />
{$img_name[row][col]}
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>