leinster93
05-24-2012, 10:54 AM
I am trying to include the calendar below on my website which has hyperlinks for certain dates. Each month pdf newsletters are issued and I want to link them to the date they're issued on.
I have to code below but the problem is I don't know how to include for the previous months or the next month when the month hyperlink is clicked on at the bottom of the calendar.
I'd be very grateful for some help.
<div class="widget"><h3>Calendar</h3><div id="calendar_wrap"><table width="251" id="wp-calendar">
<caption>May 2012</caption>
<thead>
<tr>
<th width="33" title="Monday" scope="col"><div align="left">M</div></th>
<th width="28" title="Tuesday" scope="col"><div align="left">T</div></th>
<th width="34" title="Wednesday" scope="col"><div align="left">W</div></th>
<th width="38" title="Thursday" scope="col"><div align="left">T</div></th>
<th width="28" title="Friday" scope="col"><div align="left">F</div></th>
<th width="29" title="Saturday" scope="col"><div align="left">S</div></th>
<th width="29" title="Sunday" scope="col"><div align="left">S</div></th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="3" id="prev"><a href="http://www.mysite.com/2012/04"
title="View News Letters for April 2012">« Apr</a></td>
<td class="pad"> </td>
<td colspan="3" id="next" class="pad"> </td>
</tr>
</tfoot>
<tbody>
<tr>
<td colspan="1" class="pad"> </td>
<td> 1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td>
</tr>
<tr>
<td>7</td><td>8</td><td>9</td><td>10</td><td>11</td><td>12</td><td>13</td>
</tr>
<tr>
<td>14</td><td>15</td><td>16</td><td>17</td><td>18</td><td>19</td><td>20</td>
</tr>
<tr>
<td>21</td><td
id="today">22</td><td>23</td><td>24</td><td>25</td><td>26</td><td>27</td>
</tr>
<tr>
<td>28</td><td>29</td><td>30</td><td>31</td>
<td class="pad" colspan="3"> </td>
</tr>
</tbody>
</table></div></div>
I have to code below but the problem is I don't know how to include for the previous months or the next month when the month hyperlink is clicked on at the bottom of the calendar.
I'd be very grateful for some help.
<div class="widget"><h3>Calendar</h3><div id="calendar_wrap"><table width="251" id="wp-calendar">
<caption>May 2012</caption>
<thead>
<tr>
<th width="33" title="Monday" scope="col"><div align="left">M</div></th>
<th width="28" title="Tuesday" scope="col"><div align="left">T</div></th>
<th width="34" title="Wednesday" scope="col"><div align="left">W</div></th>
<th width="38" title="Thursday" scope="col"><div align="left">T</div></th>
<th width="28" title="Friday" scope="col"><div align="left">F</div></th>
<th width="29" title="Saturday" scope="col"><div align="left">S</div></th>
<th width="29" title="Sunday" scope="col"><div align="left">S</div></th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="3" id="prev"><a href="http://www.mysite.com/2012/04"
title="View News Letters for April 2012">« Apr</a></td>
<td class="pad"> </td>
<td colspan="3" id="next" class="pad"> </td>
</tr>
</tfoot>
<tbody>
<tr>
<td colspan="1" class="pad"> </td>
<td> 1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td>
</tr>
<tr>
<td>7</td><td>8</td><td>9</td><td>10</td><td>11</td><td>12</td><td>13</td>
</tr>
<tr>
<td>14</td><td>15</td><td>16</td><td>17</td><td>18</td><td>19</td><td>20</td>
</tr>
<tr>
<td>21</td><td
id="today">22</td><td>23</td><td>24</td><td>25</td><td>26</td><td>27</td>
</tr>
<tr>
<td>28</td><td>29</td><td>30</td><td>31</td>
<td class="pad" colspan="3"> </td>
</tr>
</tbody>
</table></div></div>