summaryrefslogtreecommitdiff
path: root/themes/default/views
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2009-01-03 19:09:32 +0000
committerChad Kieffer <chad@2tbsp.com>2009-01-03 19:09:32 +0000
commitbdff96bd547b15dc6940573b9da0e80c45790b3a (patch)
tree26350eb864e9a73f0f251b9776251f34064bcd81 /themes/default/views
parent0402e326cb1274a4decaa54d3606453818a665f9 (diff)
Added a jump to comments button with a scroll to effect.
Diffstat (limited to 'themes/default/views')
-rw-r--r--themes/default/views/page.html.php2
-rw-r--r--themes/default/views/sidebar.html.php1
2 files changed, 3 insertions, 0 deletions
diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php
index ff508093..fca5daae 100644
--- a/themes/default/views/page.html.php
+++ b/themes/default/views/page.html.php
@@ -28,6 +28,8 @@
<script src="<?= url::file("lib/jquery-ui.js") ?>" type="text/javascript"></script>
<script src="<?= url::file("lib/gallery.dialog.js") ?>" type="text/javascript"></script>
<script src="<?= $theme->url("js/superfish.js") ?>" type="text/javascript"></script>
+ <script src="<?= $theme->url("js/jquery.scrollTo.js") ?>" type="text/javascript"></script>
+ <script src="<?= $theme->url("js/jquery.localscroll.js") ?>" type="text/javascript"></script>
<script src="<?= $theme->url("js/ui.init.js") ?>" type="text/javascript"></script>
<?= $theme->head() ?>
</head>
diff --git a/themes/default/views/sidebar.html.php b/themes/default/views/sidebar.html.php
index 4209bf87..7ef24217 100644
--- a/themes/default/views/sidebar.html.php
+++ b/themes/default/views/sidebar.html.php
@@ -1,6 +1,7 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<ul id="gViewMenu" class="sf-menu">
<li><a href="#" id="gFullsizeLink" title="<?= _("View full size image") ?>"><?= _("View full size image") ?></a></li>
+ <li><a href="#comments" id="gCommentsLink" title="<?= _("View this item's comments") ?>"><?= _("View this item's comments") ?></a></li>
<li><a href="#" id="gAlbumLink" title="<?= _("View album") ?>"><?= _("Album view") ?></a></li>
<li><a href="#" id="gHybridLink" title="<?= _("View album in hybrid mode") ?>"><?= _("Hybrid view") ?></a></li>
<li><?= $theme->sidebar_top() ?></li>