Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: installation - worked example/instructions?
teg
Newbie

Posts: 1
Registered: 12/21/2003
Member Is Offline
posted on 12/21/2003 at 11:54 AM Reply With Quote
installation - worked example/instructions?


Hi,
I've been trying for ages to install your calendar on my web page with no luck. I've looked through the forum discussions, and found a number of requests for instructions - this is another! I don't have any JS knowlegde, but having said that you say your product is easy to install etc. I'd be grateful if you advise me where I'm going wrong. My code below is edited to show the bits related your calendar - hope you can help.
Best wishes.


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<script type="JavaScript" src="/s/calendar1.js" >
</script>
</head>

<body>

<!-- Content -->
<table align="center" cellspacing="0" cellpadding="0" width="720" summary="">
<td class="black" width="100%">
<form name="book" method="post" action="/apptm.asp" id="book" align="top" onSubmit="return checkEntries(this)">

<!-- Appointment Form -->
<table class="contain" valign="top" width="100%" summary="">

<tr>
<td width="25"><label for="Booking"><span class="purple">Schedule Appointment</span></label></td>
<td ><input type="Text" name="start" value=""><a href="javascript:cal1.popup();""><img src="/img/cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the date"></a><br>&nbsp;date and start time<br>
<input type="Text" name="end" value=""><a href="javascript:cal2.popup();"><img src="/img/cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the date"></a><br>&nbsp;date and end time</td>
</tr>
<!-- Submit -->
<tr>
<td>&nbsp;</td>
<td class="white">
<input type="submit" name="btn" id="btn" value="book an appointment">
</td>


</tr>


</table>
</form>

<script language="JavaScript">

var cal1 = new calendar1(document.forms['book'].elements['start']);
cal1.year_scroll = true;
cal1.time_comp = true;
var cal2 = new calendar1(document.forms['book'].elements['end']);
cal2.year_scroll = true;
cal2.time_comp = true;
</script>

</td>
</table>
</body>
</html>
View User's Profile View All Posts By User U2U Member
CFD
Moderator

Posts: 48
Registered: 12/8/2003
Member Is Offline
posted on 1/5/2004 at 09:47 AM Reply With Quote

1. You have error of syntax
<script type="JavaScript" src="/s/calendar1.js" > - wrong syntax
<script language="JavaScript" src="s/calendar1.js"></script> - must be

2. please, keep all calendar files in the same directory as the page where calendar is used unless there is a need to move them to another place
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004