khanat-code-old/code/web/public_php/ams/js/help.js

34 lines
881 B
JavaScript
Raw Normal View History

2014-09-09 00:14:49 +00:00
function show_help(help_tip)
{
if(help_tip =='intro')
{
var tour = new Tour();
tour.addStep({
element: ".brand:first", /* html element next to which the step popover should be shown */
placement: "bottom",
title: "Account Management System", /* title of the popover */
content: "Welcome to the Ryzom Core Account Management System! Let's explore it together... Click next!" /* content of the popover */
});
tour.addStep({
element: ".theme-container",
placement: "left",
title: "Themes",
content: "You change your theme from here."
});
tour.addStep({
element: "ul.main-menu a:first",
title: "Dashboard",
content: "This is your dashboard from here you will find highlights."
});
tour.restart();
}
}
function syncRun()
{
$.get("index.php?cron=true");
alert("Sync function called.");
}
$("#sync").click(function() {syncRun();});