another javascript

This commit is contained in:
Zach Prezkuta 2012-08-16 21:51:36 -06:00
parent 008d04bdbd
commit 045f98cddd
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<div id="datebrowse-sidebar" class="widget">
<h3>$title</h3>
<script>function dateSubmit(dateurl) { window.location.href = dateurl; } </script>
<select id="posted-date-selector" name="posted-date-select" onchange="dateSubmit($j(this).val());" size="$size">
{{ for $dates as $d }}
<option value="$url/$d.1/$d.2" >$d.0</option>
{{ endfor }}
</select>
</div>