Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enlarging the Calendar

Status
Not open for further replies.

kaycee79

Technical User
Jan 10, 2004
82
GB
I have this javascript calender, and on my page, i have a function of being able to enlarge the text
to double, but the calender does not change size, it stays the same, how can i make it change?

Thanks in advance

i can provide the code for the calendar if required.

Code:
<%
	If Session("Username") = "" Then
		Response.Redirect "Error.asp"
	End If
%>


<HTML>
<HEAD>
<TITLE>Add an Event</TITLE>
</HEAD>
<!-- #include file="calendar.inc" -->
var cal = new CalendarPopup('calendar'); 
cal.offsetX = 20;
cal.offsetY = 0;
cal.showYearNavigation(); 
function txtDate_fct(y,m,d)
{
    document.all.txtDate.value=(d>9?d:"0"+d)+"/"+(m>9?m:"0"+m)+"/"+y
}
</script>





<BODY>
<body bgcolor="#99CCFF">
<div id="content">
<font face="Arial">
<input type="button" onClick="document.all.content.style.zoom=(document.all.content.style.zoom==1?2:1);" value="Change Font Size"><br>
</font>
<p align="center"><u><b><font size="7" face="Arial">Add an Event </font></b></u></p>

<table align="center" cellspacing="5" border="6">
<tr>
<td><font face="Arial"><a href="RegisteredUsersHome.asp">Home</a></font></td>
<td><font face="Arial"><a href="DiscussionBoard.asp">Discussion</a></font></td>
<td><font face="Arial"><a href="Feedback.asp">Feedback</a></font></td>
<td><font face="Arial"><a href="Donations.asp">Donation</a></font></td>
<td><font face="Arial"><a href="NewsLetter.asp">Newsletter</a></font></td>
<td><font face="Arial"><a href="SiteMap.asp">Site Map</a></font></td>
<td><font face="Arial"><a href="AboutUs.asp">About Us</a></font></td>
<td><font face="Arial"><a href="Links.asp">Other Links</a></font></td>
</table>


<p align="center">
<font face="Arial">
<a href="Events.asp">Forthcoming Events</a>
&nbsp;&nbsp;&nbsp;
<a href="PastEvents.asp">Past Events</a>
&nbsp;&nbsp;&nbsp;
<a href="EventReport.asp">Event Report</a>
&nbsp;&nbsp;&nbsp;
<a href="EventSearch.asp">Event Search</a>
</font>
</p>
<font face="Arial">
<BR>
As a registered user, you have the privilege of being able to organise your own events.<br>
Before organising an Event, please read our <a href="termsandconditions.asp#Events">Terms and Conditions</a>
</font>


<FORM ACTION = "addeventtodb.asp" METHOD= "post" >

    <font face="Arial">Event Name  <input type="text" name= "txtEventName" size="20"><BR>
    Date             <input type="text" name = "txtDate" size="20" readonly><A 

onclick="cal.setReturnFunction('txtDate_fct');cal.showCalendar('anchor1');return false;" href="#" name=anchor1 id=anchor1><IMG 

height=28 src="calendar/calendar.gif" width=43 border=0></a> (calander)<BR>
    Time             <input type="text" name = "txtTime" size="20">                 enter in the format timePM<BR>
    Location       <input type="text" name = "txtLocation" size="20"><BR>
    Details          
    <textarea name="txtDetails" col="40"  rows="3" wrap="virtual" cols="20"></textarea> <BR>
    Other Info     
    <textarea name="txtInfo" col="40"  rows="3" wrap="virtual" cols="20"></textarea> <BR>
    <BR>

<INPUT TYPE="SUBMIT" VALUE="Submit">
<INPUT TYPE="RESET" VALUE="Clear"></font></form>
</body>
</html>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top