Hi,
I've been trying to set the property to cause the calendar
to pop up
to the left, rather than to the right of the control. I've
been
through the examples and been searching through the messages
on this
group, but I can't seem to quite get the code right. This
is what
I've got...
s.append("<script
language="JavaScript">");
s.append("var " +
asnFieldMapper.getFieldName() + "_cal1");
s.append(" = new
ctlSpiffyCalendarBox("");
s.append(asnFieldMapper.getFieldName() +
"_cal1");
s.append("","ASNMasterEntry"");
s.append(","" +
asnFieldMapper.getFieldName() + """);
s.append(","btnDate1" +
asnFieldMapper.getFieldName() + """);
s.append(","" + dataValue +
""");
s.append(",0");
s.append(","" + datePatern +
""");
s.append("</SCRIPT>");
if (asnFieldMapper.getFieldName() ==
"INVOICE_DATE") {
s.append("<script
language="JavaScript">");
s.append(asnFieldMapper.getFieldName() +
"_cal1" +
".displayLeft=true;</script>");
}
s.append("<script
language="JavaScript">");
s.append(asnFieldMapper.getFieldName() +
"_cal1" +
".writeControl();</script>");
I think (or at least hope) I'm close, but I seem to be
missing
something. I've tried it as another line just above the
.writeControl(), that didn't seem to work. I've tried to
add it as a
value behind the datePatern, that didn't seem to work. Now
its a line
until itself, still above the writeControl(), but still no
go. If
anyone could point me in the right direction I'd really
appreciate it.
thanks
steve
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://gro
ups.yahoo.com/group/spiffyDHTML/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http:/
/groups.yahoo.com/group/spiffyDHTML/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:spiffyDHTML-digest@yahoogroups.com
mailto:spiffyDHTML-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
spiffyDHTML-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.c
om/info/terms/
|