[/raw]
[/if allf_bakd_view_page_yesn]
[if allf_bakd_prod_page_yesn equals="Yes"]
[if allf_bakd_prod_page_yesn equals="Yes"]
[if allf_bakd_slim equals="Yes"]
[/if allf_bakd_slim]
[if allf_bakd_view_page_yesn equals="Yes"][/if allf_bakd_prod_page_yesn]
[if allf_show_icon_menu equals="Yes"]
[/if allf_show_icon_menu]
[if allf_bakd_view_page_yesn equals="Yes"]
[if allf_sadm_back equals="Yes"]
[/if allf_sadm_back]
[/if allf_bakd_view_page_yesn]
[if allf_bakd_slim equals="Yes"]
[/if allf_bakd_slim]
.bran_mxpa {background-color:#5e246e;}
a#dummySubmitBtn{width: 120px; height: 46px; display: block; background: transparent; border: none; outline: none; position: relative; top: -50px;}
input[type='file'] {color: transparent;}
(function($){
$('.deadLink').click( function(e) {
e.preventDefault();
});
})(jQuery);
(function($){
// Disable form fields
$("input").attr("disabled", true);
$("textarea").attr("disabled", true);
$("select").attr("disabled", true);
// Insert dummy submit link on top of submit button
$("").insertAfter(".frm_submit input");
})(jQuery);
// Add numbered classes to form fields
(function($) {
$('input, textarea, select').each(function(i) {
$(this).attr('class',i);
});
})(jQuery);
// Define fillForm
function fillForm(){
(function($){
// Populate form fields
$("input.8").attr("value","Ian");
$("input.9").attr("value","Mosque");
$("input.10").attr("value","Ian Mosque");
$("input.11").attr("value","ian.mosque@myexpertpeople.com");
})(jQuery);
};
// Instance the tour
var tour = new Tour({
template: "
Invite a new Trusted source
",
storage: false,
steps: [
{
orphan: true,
backdrop: true,
template: "
",
title: "Invite a trusted source",
content: "This is the Invite a Trusted source form, where you can invite one of your contacts to join your MXP network.",
onNext: function (tour) {
return fillForm();
}
},
{
element: "input.10",
title: "Invite a trusted source",
content: "For this tutorial, the form is filled with example data.",
placement: "bottom"
},
{
element: ".frm_submit input",
template: "
",
title: "Invite a trusted source",
content: "Once the form is completed, click the invite button to invite the Trusted source.",
placement: "bottom"
}
]
});
jQuery(window).load(function($) {
tour.init(true);
tour.start(true);
tour.goTo(0);
});