Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Commit

Permalink
bump version to 0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordon Koo committed Nov 19, 2012
1 parent 9096eba commit a2ba602
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 2 deletions.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ <h2>Debug controls</h2>
<input id="startBtn" type="button" value="Start">
<input id="endBtn" type="button" value="End">
<input id="addCallout" type="button" value="addCallout">
<input id="rmCallout" type="button" value="rmCallout">
<h3>Tour Options</h3>
<label>
<input type="checkbox" id="animateCheck"> animate
Expand Down Expand Up @@ -99,7 +100,7 @@ <h3>Tour Options</h3>
-->
<script src="js/jquery-1.7.2.js"></script>
<!--<script src="js/hopscotch_jquery.js"></script>-->
<script src="js/hopscotch-0.0.3.js"></script>
<script src="js/hopscotch-0.0.4.js"></script>
<script src="js/exampletour.js"></script>
<script src="js/debug.js"></script>
<script>
Expand Down
24 changes: 24 additions & 0 deletions js/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,30 @@ for (i = 0, len = booleanControls.length; i < len; i++) {
hopscotch.endTour();
});

// ===========
// ADD CALLOUT
// ===========
addClickListener(document.getElementById('addCallout'), function() {
var mgr = hopscotch.getCalloutManager();
mgr.createCallout({
id: 'mycallout',
title: 'Title',
content: 'Content',
target: 'python',
orientation: 'left',
showNavButtons: false,
showNumber: false
});
});

// ==============
// REMOVE CALLOUT
// ==============
addClickListener(document.getElementById('rmCallout'), function() {
var mgr = hopscotch.getCalloutManager();
mgr.removeCallout('mycallout');
});

// ===========
// START TOUR2
// ===========
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion secondpage.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h1>Second Test Page</h1>
<img id="polarbears" src="http://imgur.com/MZuiD.jpg">
</div>
<script src="js/exampletour.js"></script>
<script src="js/hopscotch-0.0.3.js"></script>
<script src="js/hopscotch-0.0.4.js"></script>
<script>
//hopscotch.clearCookie();
var printLog = function() {
Expand Down

0 comments on commit a2ba602

Please sign in to comment.