www.webdeveloper.com
Results 1 to 2 of 2

Thread: Popup Calendar Help

  1. #1
    Join Date
    Feb 2007
    Posts
    23

    Popup Calendar Help

    Hello,

    I am trying to get a pop-up calendar working on a page I am developing. The source code is from the below link. I am trying to use the 3rd type down, labeled "Default calendar using the DIV-style display, with navigation drop-downs enabled." For some reason, whenever I click the image I have made the link for the pop-up, nothing happens. In IE, it gives me an error saying "
    http://mattkruse.com/javascript/calendarpopup/

    Message: 'cal1xx' is undefined
    Line: 160
    Char: 1
    Code: 0
    URI: .../createRide.php

    Message: 'cal1xx' is undefined
    Line: 160
    Char: 1
    Code: 0
    URI: .../createRide.php

    The code i have on the page is as follows:

    In the HEAD section:
    Code:
    <SCRIPT LANGUAGE="JavaScript" ID="jscal1xx" SRC="CalendarPopup.js">
    		var cal1xx = new CalendarPopup("testdiv1");
    		cal1xx.showNavigationDropdowns();					
    </SCRIPT>
    <SCRIPT LANGUAGE="JavaScript">document.write(getCalendarStyles());</SCRIPT>
    In the BODY of the page, I have the following:
    Code:
    <td><div align="left">          
    				  <input type="text" name="deptDate" id = "deptDate">
                      <font color="#FF0000"><A HREF="#" onClick="cal1xx.select(document.forms['form1'].deptDate,'anchor1xx','MM/dd/yyyy'); return false;" NAME="anchor1xx" ID="anchor1xx"><img src="images/calendar_icon.gif" width="18" height="17" border="0"></a>*</font></div></td>
    Any help you could offer would be appreciated. Thanks a lot!
    Last edited by bigkahuna; 02-14-2011 at 01:29 PM.

  2. #2
    Join Date
    Feb 2007
    Posts
    23
    Any help would be appreciated. Thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles