Permalink
Browse files

add js includes to example

  • Loading branch information...
1 parent c143255 commit e22f9364f8861bd73b671eba7b75ee50293e9e22 @tardate committed Oct 3, 2010
Showing with 8 additions and 0 deletions.
  1. +8 −0 README.rdoc
View
@@ -28,6 +28,13 @@ the {hCalendar microformat}[http://microformats.org/wiki/hcalendar].
=== Widget Initialzation
Here's an example of the minimal initialisation require. This example attaches the addtocal widget to all elements with the class 'addtocal'.
+ <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script>
+ <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js'></script>
+
+ <script type='text/javascript' src='javascripts/rfc3339date.js'></script>
+ <script type='text/javascript' src='javascripts/jquery.addtocal.js'></script>
+
+ <script type='text/javascript'>
$(document).ready(function() {
$('.addtocal').AddToCal({
@@ -56,6 +63,7 @@ Here's an example of the minimal initialisation require. This example attaches t
});
});
+ </script>
=== Required getEventDetails event structure

0 comments on commit e22f936

Please sign in to comment.