kozata-xakep
Newbie
Posts: 1
Registered: 2/29/2008
Location: Varna,BG
Member Is Offline
|
| posted on 2/29/2008 at 09:44 AM |
|
|
Integrating calendar into a div tag
Hello guys,
I wonder, can i get this calendar work in a div tag.
Please have a look at my site volleyball.bask.bg. I want to put it somewhere in the right column. Can anyone give me tip how to do it ?
|
|
|
ScotDiddle
Member
Posts: 21
Registered: 11/28/2007
Location: Richmond, VA
Member Is Offline
|
| posted on 3/13/2008 at 11:53 AM |
|
|
kozata-xakep,
Sure. Do it all the time.
Example via PHP...
Hope this Helps.
Scot L. Diddle, Richmond VA
| Code: |
if ($dateSelect) {
echo "<div id=\"SingleDate\" class=\"UIDiv\"> \n";
echo $singleDate;
require('include/dateSelectUISingleDate.php'); // Form Submit buttons, and the like ...
echo "</div> \n";
}
// Where $singleDate is defined as ...
$singleDate = <<<EOS
<div class="choose800L2> \n
<div id=singleSysIDSingleDate> \n
Choose Metrics Date...
<br /> \n
<br /> \n
<table class="date" border="$borderThickness"> \n
<tr> \n
<td class="date"> \n
$calendarSysID: <br> \n
</td> \n
<td class="date"> \n
<script language="JavaScript"> \n
new calendar(CAL_SINGLE_ALL, CAL_TPL1); \n
</script> \n
</td> \n
</tr> \n
</table> \n
</div> \n
</div> \n
<br /> \n
EOS;
|
|
|
|