jquery Jumping House Plugin Hopscotch

Source: Internet
Author: User

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


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.