diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2007-06-07 08:48:43 +0000 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2007-06-07 08:48:43 +0000 |
commit | fb15deeef32d80ef922a578d742ff49633d5f94e (patch) | |
tree | 8035edb92e3e33000b3467ca2b9c9e796d67d169 /templates | |
parent | 7c498e18d97daa7ae42e355adf24b8c77cacad33 (diff) |
nice bubble preview in photo index view
git-svn-id: file:///var/lib/svn/phpfspot/trunk@33 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'templates')
-rw-r--r-- | templates/header.tpl | 1 | ||||
-rw-r--r-- | templates/photo_index.tpl | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/templates/header.tpl b/templates/header.tpl index 9f1e85a..ce88ff0 100644 --- a/templates/header.tpl +++ b/templates/header.tpl @@ -6,4 +6,5 @@ <link href="stylesheet.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="rpc.php?mode=init&client=all"></script> <script type="text/javascript" src="phpfspot.js"></script> + <script type="text/javascript" src="bubble.js"></script> </head> diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 3172547..1647f5a 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -21,7 +21,7 @@ {if $images[row][col] } <div id="outter"> <div id="inner"> - <a href="javascript:showImage({$images[row][col]});"> + <a href="javascript:showImage({$images[row][col]});" id="{$images[row][col]}" class="bubble"> <img class="thumb" src="phpfspot_img.php?idx={$images[row][col]}&width={$width}" /> </a> </div> @@ -38,4 +38,9 @@ </td> </tr> </table> +<script type="text/javascript"> +<!-- + bindBubbles(); +--> +</script> <!-- /Image Matrix --> |