Skip to content

Instantly share code, notes, and snippets.

@mjradwin
Created February 18, 2015 06:32
Show Gist options
  • Save mjradwin/b69fca3518d95457eaa7 to your computer and use it in GitHub Desktop.
Save mjradwin/b69fca3518d95457eaa7 to your computer and use it in GitHub Desktop.
Hebcal legacy JS event calendar (deprecated)
<script type="text/javascript" charset="utf-8"
src="http://www.hebcal.com/hebcal/?v=1&amp;cfg=e2&amp;nh=on&amp;nx=on&amp;year=now&amp;month=x&amp;ss=on&amp;mf=on">
</script>
<script type="text/javascript"
src="http://www.hebcal.com/i/calendar-2.0-min.js">
</script>
<link type="text/css" rel="stylesheet"
href="http://www.hebcal.com/i/jec-grey-min.css">
<style type="text/css">
#myCalendarContainer table { width: 800px }
#myCalendarContainer table td.dayHasEvent { height: 80px }
#myCalendarContainer table td.dayBlank { height: 80px }
</style>
<div id="myCalendarContainer"></div>
<script type="text/javascript">
var myCalendar = new JEC("myCalendarContainer",
{tableClass: "greyCalendar", linkNewWindow: false});
myCalendar.defineEvents(HEBCAL.jec2events);
myCalendar.showCalendar();
</script>
<script type="text/javascript"
src="http://www.hebcal.com/hebcal/?v=1&amp;cfg=e2&amp;nh=on&amp;nx=on&amp;year=now&amp;month=x&amp;ss=on&amp;mf=on&amp;c=on&amp;zip=90210&amp;m=72&amp;s=on">
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment