Plugin description
Jumping House is a framework that enables developers to easily preview products and add them to their web pages
Jump House accepts the JSON object as input and provides developers with the API to control the progress of the tour display and management of the Render tour.
Use steps
to get started using the jump house frame, simply include HOPSCOTCH.CSS and hopscotch.js on your page. This loads the object that jumps the house to the global Window object.
I. Introduction of DOCUMENTS
<link href= "Css/hopscotch-0.1.2.css" rel= "stylesheet" type= "Text/css" ><script src= "js/jquery-1.8.0.min.js "Type=" Text/javascript "></script><script src=" Js/hopscotch-0.1.2.js "type=" Text/javascript "></ Script>
Second, the text
<body>
third, JS definition and start browsing<script type= "Text/javascript" >$ (function () {var tour = {id: "Hello-hopscotch", steps: [{title: "Introduction", Content: " The road of the ordinary "is the film" will be Endless "theme song, composed by Hackberry singing, Hackberry, Han lyrics", Target: "header", Placement: "Bottom"}, {title: ", Content:" In the "Ordinary Road" this song, Not only the experience condensed into a story, but also the experience of melting into a sentence lyrics and notes. ", Target:document.querySelector (" #content2 "), placement:" Bottom "}, {title:", Content: "Everyone can see themselves, and when they hear this song, I can't help playing back the past in my mind. ", Target:document.querySelector (" #content3 "), placement:" Bottom "}, {title:", Content: "The ordinary Road" sing not only Hackberry, Han cold, even your, My, all of the "experience", I can't help but sigh past, sigh once. ", Target:document.querySelector (" #content5 "), placement:" Bottom "}]};//Start the Tour!hopscotch.starttour (tour);}) </script>
Effect:
Project Demo source Download: http://download.csdn.net/detail/itmyhome/7718733