OK this is darn near exactly what I'm trying to do - BUT!
I want to make my navbar "Calendar" link a custom drop down / pop up menu, populated exactly how the Calendar Jump menu is populated.
Calendar Jump code from the calendarjump template:
Code:
<form action="calendar.php" method="get">
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="month" value="$month" />
<input type="hidden" name="year" value="$year" />
<input type="hidden" name="do" value="$docalendar" />
<strong>$vbphrase[calendar_jump]</strong><br />
<select name="c" onchange="this.form.submit();">
<optgroup label="$vbphrase[please_select_one]">
$jumpcalendarbits
</optgroup>
</select>$gobutton
</div>
</form>
and here is the code from the calendarjumpbit template:
Code:
<form action="calendar.php" method="get">
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="month" value="$month" />
<input type="hidden" name="year" value="$year" />
<input type="hidden" name="do" value="$docalendar" />
<strong>$vbphrase[calendar_jump]</strong><br />
<select name="c" onchange="this.form.submit();">
<optgroup label="$vbphrase[please_select_one]">
$jumpcalendarbits
</optgroup>
</select>$gobutton
</div>
</form>
Thanks!