guide updates
This commit is contained in:
parent
3b5df5e8a8
commit
217465cfda
@ -65,16 +65,19 @@ $(document).ready(function(){
|
|||||||
}
|
}
|
||||||
}());
|
}());
|
||||||
|
|
||||||
console.log('lol page hook', pagehook);
|
|
||||||
|
|
||||||
guiders.createGuider({
|
guiders.createGuider({
|
||||||
attachTo: pagehook,
|
attachTo: pagehook,
|
||||||
buttons: [],
|
buttons: [{name: "Quit", onclick: guiders.hideAll},
|
||||||
|
{name: "Next - Edit "+$(pagehook+' a:first').text()+"", onclick: function(){
|
||||||
|
window.location = $(pagehook+' a:first').attr('href') + "#guider=editpagewelcome"
|
||||||
|
}
|
||||||
|
}],
|
||||||
description: "These are pages. You can click on the page name to edit it.",
|
description: "These are pages. You can click on the page name to edit it.",
|
||||||
id: "pagepointer",
|
id: "pagepointer",
|
||||||
next: "editpagewelcome",
|
next: "editpagewelcome",
|
||||||
width: 200,
|
width: 200,
|
||||||
position: 9,
|
position: 9,
|
||||||
|
overlay: true,
|
||||||
title: ""
|
title: ""
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -83,17 +86,14 @@ $(document).ready(function(){
|
|||||||
description: "A page is a collection of content on your site that can be reached at a web address <br /></br>\
|
description: "A page is a collection of content on your site that can be reached at a web address <br /></br>\
|
||||||
For this example we will edit the '"+$(pagehook+' a:first').text()+"' page. To do that you would click on the page name.",
|
For this example we will edit the '"+$(pagehook+' a:first').text()+"' page. To do that you would click on the page name.",
|
||||||
buttons: [{name: "Quit", onclick: guiders.hideAll},
|
buttons: [{name: "Quit", onclick: guiders.hideAll},
|
||||||
{name: "Next - Edit "+$(pagehook+' a:first').text()+"", onclick: function(){
|
{name: "Next"}],
|
||||||
window.location = $(pagehook+' a:first').attr('href') + "#guider=editpagewelcome"
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
id: "pagewelcome",
|
id: "pagewelcome",
|
||||||
next: "editpagewelcome",
|
next: "pagepointer",
|
||||||
overlay: true,
|
overlay: true,
|
||||||
title: "What is a page?",
|
title: "What is a page?"// ,
|
||||||
onShow: function(){
|
// onShow: function(){
|
||||||
guiders.show('pagepointer')
|
// guiders.show('pagepointer')
|
||||||
}
|
// }
|
||||||
});
|
});
|
||||||
|
|
||||||
guiders.createGuider({
|
guiders.createGuider({
|
||||||
@ -226,6 +226,9 @@ $(document).ready(function(){
|
|||||||
title: "Editing A Page"
|
title: "Editing A Page"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
var page_title = 'Guide Demo Page';
|
||||||
|
|
||||||
guiders.createGuider({
|
guiders.createGuider({
|
||||||
attachTo: "a.editable:first",
|
attachTo: "a.editable:first",
|
||||||
buttons: [],
|
buttons: [],
|
||||||
@ -235,7 +238,7 @@ $(document).ready(function(){
|
|||||||
position: 6,
|
position: 6,
|
||||||
width: 200,
|
width: 200,
|
||||||
height: 100,
|
height: 100,
|
||||||
description: "Click here to edit the page title"
|
description: "Click here to edit the page title. <br /><br /> Change the title to '"+page_title+"'"
|
||||||
});
|
});
|
||||||
|
|
||||||
guiders.createGuider({
|
guiders.createGuider({
|
||||||
|
Loading…
Reference in New Issue
Block a user