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

34 lines
881 B
JavaScript
Raw Normal View History

2013-06-17 07:25:04 +00:00
function show_help(help_tip)
{
if(help_tip =='intro')
2013-06-17 07:25:04 +00:00
{
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 */
2013-06-17 07:25:04 +00:00
});
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();
}
2013-06-17 07:25:04 +00:00
}
function syncRun()
{
$.get("index.php?cron=true");
alert("Sync function called.");
}
$("#sync").click(function() {syncRun();});