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

Commit

Permalink
change content to be contained in <div>
Browse files Browse the repository at this point in the history
Since <p> can't hold block level elements, makes it
hard to nest <divs> and other things.
  • Loading branch information
Gordon Koo committed Jun 5, 2013
1 parent e31af84 commit d3d48ff
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 43 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Hopscotch
=========
Hopscotch is a framework to make it easy for developers to add product tours to their pages. Hopscotch accepts a tour JSON object as input and provides an API for the developer to control rendering the tour display and managing the tour progress.
Hopscotch is a framework to make it easy for developers to add product tours to their pages. Hopscotch accepts a tour JSON object as input and provides an API for the developer to control rendering the tour display and managing the tour progress. Seeing is believing, so why not check out a [demo](http://linkedin.github.io/hopscotch)!

Features
========
Expand Down
3 changes: 2 additions & 1 deletion css/hopscotch.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion js/hopscotch-0.1.js
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,10 @@
this.element = el;
this.containerEl = containerEl;
this.titleEl = document.createElement('h3');
this.contentEl = document.createElement('p');
this.contentEl = document.createElement('div');

utils.addClass(this.titleEl, 'hopscotch-title');
utils.addClass(this.contentEl, 'hopscotch-content');

opt = {
showPrevButton: defaultOpts.showPrevButton,
Expand Down
Loading

0 comments on commit d3d48ff

Please # to comment.