mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-23 15:26:16 +00:00
Tour seems to work here, not sure though
This commit is contained in:
parent
d55db29a65
commit
c502acdeb3
3 changed files with 7 additions and 5 deletions
|
@ -226,7 +226,7 @@ function docReady(){
|
|||
});
|
||||
|
||||
//tour
|
||||
if($('.index').length && typeof(tour)=='undefined')
|
||||
if($('.tour').length && typeof(tour)=='undefined')
|
||||
{
|
||||
var tour = new Tour();
|
||||
tour.addStep({
|
||||
|
@ -274,7 +274,8 @@ function docReady(){
|
|||
$('#myModal').modal('show');
|
||||
});
|
||||
$('.btn-help').click(function(e){
|
||||
alert('test');
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ function show_help(help_tip)
|
|||
{
|
||||
var tour = new Tour();
|
||||
tour.addStep({
|
||||
element: ".span10:first", /* html element next to which the step popover should be shown */
|
||||
element: ".dashboard-avatar:first", /* html element next to which the step popover should be shown */
|
||||
placement: "top",
|
||||
title: "Custom Tour", /* title of the popover */
|
||||
content: "You can create tour like this. Click Next." /* content of the popover */
|
||||
|
@ -20,7 +20,8 @@ function show_help(help_tip)
|
|||
title: "Dashboard",
|
||||
content: "This is your dashboard from here you will find highlights."
|
||||
});
|
||||
|
||||
tour.restart();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -114,7 +114,7 @@
|
|||
<div class="box-header well">
|
||||
<h2><i class="icon-info-sign"></i> Introduction</h2>
|
||||
<div class="box-icon">
|
||||
<a href="#" class="btn btn-help btn-round"><i class="icon-info-sign"></i></a>
|
||||
<a href="#" class="btn btn-round" onclick="javascript:show_help('test');return false;"><i class="icon-info-sign"></i></a>
|
||||
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
|
||||
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
|
||||
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
|
||||
|
|
Loading…
Reference in a new issue