Hey there guys, I just found this plugin (http://trentrichardson.com/Impromptu/) and I’m trying to use it but I’m not familiar with JS so I’m having problems to make it work correctly.
First I’d like to use it to attach a popup message when clicking an image. The popup should contain all this HTML code: http://pastebin.com/TcyjBTud. I really don’t know how to do this. Right now I included the required files in the header part, then in body I have this:
[code]
$(document).ready(function () {
$(“#mypopup”).click(function () {
$.prompt(“text where I need the HTML code above”, {
title: "Scegli una sezione!",
buttons: { Close: 0 },
position: { width: 1000 },
});
return false;
});
});</script>
[/code]
Second I’d like to use it to start a tour from a simple link. As above, even reading the official documentation, I don’t know how to do it. Can you point me to the right direction? Thank you in advance for any reply.