diff options
author | Chad Little <clittle@users.sourceforge.net> | 2002-09-23 00:42:08 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2002-09-23 00:42:08 +0000 |
commit | 30a64670c8fe1c6856bc17ea814f620cf46d3928 (patch) | |
tree | 61d20067fe1977114181ef166561c72b8376895b /functions/event.js | |
parent | 71c8fbc0a4ac2113677225c0d08564f847a74890 (diff) | |
download | phpicalendar-30a64670c8fe1c6856bc17ea814f620cf46d3928.tar.gz phpicalendar-30a64670c8fe1c6856bc17ea814f620cf46d3928.tar.bz2 phpicalendar-30a64670c8fe1c6856bc17ea814f620cf46d3928.zip |
Basic Javascript for events.
Diffstat (limited to 'functions/event.js')
-rw-r--r-- | functions/event.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/functions/event.js b/functions/event.js new file mode 100644 index 0000000..19f5b97 --- /dev/null +++ b/functions/event.js @@ -0,0 +1,21 @@ +<script language="JavaScript"> +<!-- + function openEventInfo(event, calendarname, start, end) + { + var windowW = 450; + var windowH = 250; + + var url = "event.php?event="+escape(event)+ + "&calendar_name="+escape(calendarname)+ + "&start="+escape(start)+ + "&end="+escape(end); + + options = "scrollbars=no"+",width="+windowW+",height="+windowH; + + info = window.open(url, "Popup", options); + + info.focus(); + } + +//--> +</script>
\ No newline at end of file |