khanat-opennel-code/code/web/public_php/ams/js/help.js
2016-12-09 16:04:26 +01:00

34 lines
No EOL
881 B
JavaScript

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();});