I’m trying to implement this DHTML calendar (Intro to HTML Basics | WebReference) in my web application and am having trouble. I’m familiar with JS, libraries, HTML and CSS, but I guess I just don’t have the right stuff in the right place…
I pulled in the JS library and edited a couple of attributes, mainly the input_element_id and click_element_id fields to match the id’s I assign in the Notes form.
I have tried using straight HTML to get it to work and just can’t wing it. Everything displays, but nothing happens when I click on the image.
I have included the JS library as a resource doing it the Notes way and also including it the HTML way - all to no avail.
This is all of the pass-thru HTML I have on the form…
<dlcalendar click_element_id=“img_CFR”
input_element_id="date_CFR"
tool_tip="Click to pick date"></dlcalendar>
A DHTML Lab Popup Calendar with an associated input text element, a mouseover tooltip and generated from an image element click:
<img align="middle" id="img_CFR" src="/Projects/cfr.nsf/calendar.gif" height="13" width="13" alt="My tool tip"></p>
I know that's simple, but I just want to get it to at least work and then I can incorporate it into my DB... Please help!