Torben Søemod
|
Posted: 11/16/2003, 2:38 PM |
|
Does anybody have any experience in integrating CalendarXP into CCS ?
IF ypou dont know this check it out :
http://www.calendarxp.net/
Im using it but to put it requires alot of hand coding everytime.
- This at the field in the html:
<input maxlength="10" size="10" value="{Start}"
name="Start"> <a
onclick="gfPop.fStartPop(document.Booking.Start,document.Booking.End,documen
t.Booking.Todayt);return false;" href="javascript:void(0)"><img alt=""
src="calbtn.gif" border="0" name="popcal"></a></td>
<script>
// The following script is used to hide the calendar whenever you click the
document.
// NOTE: It doesn't support NN4 well. And if you use
document.captureEvents(Event.CLICK), NN4 will drop out all the inline events
and thus prevent everything from working. Currently no workaround yet.
document.onclick=function(e){
var t=!e?self.event.srcElement.name:e.target.name;
if (t!="popcal") gfPop.fHideCal();
}
</script>
- This need to go in the botoom of the HTML :
<!-- PopCalendar(tag name and id must match) Tags should sit at the page
bottom -->
<iframe width="192" height="187" name="gToday:fancy:agenda.js"
id="gToday:fancy:agenda.js" src="/Javascript/ipopeng.htm" scrolling="no"
frameborder="0" style="BORDER-RIGHT: gray 1px solid; BORDER-TOP: gray 1px
solid; Z-INDEX: 65535; LEFT: -500px; VISIBILITY: visible; BORDER-LEFT: gray
1px solid; BORDER-BOTTOM: gray 1px solid; POSITION: absolute; TOP:
0px"></iframe>
<layer name="gToday:fancy:agenda.js" visibility="hide"
src="/Javascript/npopeng.htm"></layer>
- And then the required files :
ipopeng.htm
agenda.js
npopeng.htm
fancy.js
fancy.css
some gif files etc.
And once in a while the html reformating f.... up the javascript - and makes
un usable !!
How do make the above easy to handle and avoid CCS to reformat my
javascript.
|
|
|
|