Tour Example
How do I make an tour example?
What is a tour example? How do you make a tour example? This script and codes were developed by Sean McCambridge on 21 August 2022, Sunday.
Tour Example - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Tour Example</title> <link rel='stylesheet prefetch' href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700'>
<link rel='stylesheet prefetch' href='http://boomtownroi.github.io/boomstrap/css/boomstrap.css'>
<link rel='stylesheet prefetch' href='http://boomtownroi.github.io/boomstrap/css/boomstrap-docs.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div ng-app="myApp"> <div ng-controller="TourDemoCtrl"> <p><a class="btn btn-success" id="bootstrap-tour-btn" ng-click="bsTour.startTour()">Tally Ho!</a></p> <div class="row"> <div class="col-sm-6"><h4><span id="stop1">First Stop</span></h4></div> <div class="col-sm-6"><h4><span id="stop2">Second Stop</span></h4></div> </div> <div class="row"> <div class="col-sm-6"><h4><span id="stop3">Third Stop</span></h4></div> <div class="col-sm-6"><h4><span id="stop4">Fourth Stop</span></h4></div> </div> </div> <script type="text/ng-template" id="template/some-custom-bootstrap-template.html"> <div class="popover tour-best-fit-leads"> <div class="arrow"></div> <div class="popover-close"> <i data-role='end' class="ficon ficon-cross property-close"></i> </div> <h3 class="popover-title">Some default title that gets overridden</h3> <div class="tour-popover popover-content"></div> <div class="popover-navigation"> <button class="btn btn-default" data-role="prev">Back!</button> <button class="btn btn-success" data-role="next"><span>Go!</span></button> </div> </div> </script> <script type="text/ng-template" id="template/custom-template-with-end.html"> <div class="popover tour-best-fit-leads"> <div class="arrow"></div> <div class="popover-close"> <i data-role='end' class="ficon ficon-cross property-close"></i> </div> <h3 class="popover-title">Some default title that gets overridden</h3> <div class="tour-popover popover-content"></div> <div class="popover-navigation"> <button class="btn btn-default" data-role="prev">Prev</button> <button class="btn btn-attention" data-role="end" style="width: 60px;"><span>Got It!</span></button> </div> </div> </script>
</div> <script src='http://boomtownroi.github.io/boomstrap/js/boomstrap.min.js'></script>
<script src='http://boomtownroi.github.io/boomstrap/js/boomstrap-angular.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Tour Example - Script Codes CSS Codes
/* this CSS is only for proper display of the codepen. do not add this to the CRM */
body { padding: 36px 24px;
}
Tour Example - Script Codes JS Codes
angular.module('myApp', ['boomstrap'])
.controller('TourDemoCtrl', ['$scope', 'bootstrapTourService', function($scope, bootstrapTourService) { $scope.bsTour = bootstrapTourService; $scope.bsTour.init([ { element: '#stop1', placement: 'right', prev: -1, title: 'First Stop', content: 'You\'ve reached the first stop. Congrats.' }, { element: '#stop2', placement: 'bottom', template: 'template/popover/popover-bootstrap-tour-fit-score.html', title: 'Hello.', content: 'World.' }, { element: '#stop3', placement: 'bottom', template: 'template/some-custom-bootstrap-template.html', title: 'Custom Template Example', content: 'You can specify an angular template for <em>any</em> tour step manually.' }, { element: '#stop4', placement: 'left', template: 'template/custom-template-with-end.html', title: 'Last Stop', content: 'Goodbye!' } ]);
}]);
Developer | Sean McCambridge |
Username | seanboom |
Uploaded | August 21, 2022 |
Rating | 3 |
Size | 2,516 Kb |
Views | 68,816 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Carousel Card Example | 2,409 Kb |
Modal Example | 2,438 Kb |
Multiple Cards Example | 2,803 Kb |
Alert Example | 2,212 Kb |
Popover Example | 2,429 Kb |
Chosen Example | 1,941 Kb |
Tabs Example | 2,407 Kb |
Small Card Example | 2,464 Kb |
Lead Category Default Example | 2,075 Kb |
Progressbar Example | 2,605 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Boxes | H3l1um | 2,563 Kb |
Loading animation - freedom purchase | Rocbear | 2,567 Kb |
Table border-collapse property | Maxds | 1,672 Kb |
Drag and Drop Quiz | Cgspicer | 3,837 Kb |
Disable JavaScript execution from console | Ludviglindblom | 2,534 Kb |
OnScreenAction | Ozgursagiroglu | 2,647 Kb |
Exploring css spinners | Akagr | 3,569 Kb |
A Pen by Dalton Liu | Liudalton | 12,437 Kb |
Octopus Bar iPad App Interactions | Davidkpiano | 6,735 Kb |
Parallax-ish Sliding Content | Jdsteinbach | 2,748 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!