aboutsummaryrefslogtreecommitdiffstats
path: root/functions/event.js
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-09-23 00:42:08 +0000
committerChad Little <clittle@users.sourceforge.net>2002-09-23 00:42:08 +0000
commit30a64670c8fe1c6856bc17ea814f620cf46d3928 (patch)
tree61d20067fe1977114181ef166561c72b8376895b /functions/event.js
parent71c8fbc0a4ac2113677225c0d08564f847a74890 (diff)
downloadphpicalendar-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.js21
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

© 2014-2024 Faster IT GmbH | imprint | privacy policy