Permalink
Browse files

Update README.md

  • Loading branch information...
061375 committed Apr 20, 2018
1 parent 76e4983 commit f850f3c7b4d7d99dd18ad125d60629f11eb6999a
Showing with 34 additions and 0 deletions.
  1. +34 −0 README.md
View
@@ -63,6 +63,40 @@ I was asked to add the ability to purchase Eventbrite tickets from a website usi
</script>
~~~~
#### Calling the script with HTML only ( the script does need to be initialized with Javascript )
~~~~
<div id="eventbrite">
<div class="container">
<img src="http://placehold.it/150x150">
<div>
<h2>My Fake Eventbrite Event</h2>
<p>This is fake text about this event that will be taking place on:<br>
M d, YYYY at h:00 AM/PM
</p>
</div>
<button class="eb_buytickets" data-eid="34580136118">Get Tickets</button>
</div>
<div class="container">
<img src="http://placehold.it/150x150">
<div>
<h2>My Fake Eventbrite Event</h2>
<p>This is fake text about this event that will be taking place on:<br>
M d, YYYY at h:00 AM/PM
</p>
</div>
<button class="eb_buytickets" data-eid="34580177241">Get Tickets</button>
</div>
</div>
<script>
window.onload = function() {
$(document).ready(function(){
Eb.init();
});
}
</script>
~~~~
The script has 2 sets of argument lists.
1. Arguments for the script

0 comments on commit f850f3c

Please sign in to comment.