1) I need Ajax dialog compatible with IE, FF and Chrome and I need that ajax dialog open an external site using iframe or similar method.
2) Style I need without borders, without titles, Only Close button and that iframe using all ajax dialog space. similar style of ajax dialog open when you push orange button in this site: [login to view URL]
3) If is possible close ajax dialog only clicking on Close button and dont close clicking out of ajax dialog ( if have question about this point talk to me )
4) The idea is that I will can open this dialog calling a simple function like: OpenDialog( "[login to view URL]" ); and calling this function open dialog in any website that I inject this code.
5) If is possible when I call to OpenDialog(); function this will load the external site in the iframe, but not showing this (dialog) instantly, showing this in 5 seconds. I want this for not show to user when iframe is loading external site.
then my idea is something like this:
<scirpt>
OpenDialog("[login to view URL]");
function OpenDialog(Url)
{
//first load the site in iframe
[login to view URL]('<div id="Dialogcontent" style="display:none"><iframe id="frameContent" src="' + Url + '"></div>');
//after 5 seconds i will show it when external site if loaded in iframe.
setTimeout(function(){ShowDialog()},5000);
}
function ShowDialog()
{
//here edit the style of <div id="DialogContent"> for it div show the Ajax Dialog.
}
</script>
I think make something like this when the code show the dialog the external site will be loaded in iframe and We (and the user) dont need wait that iframe load external site.
This is all, talk to me what you think about it.
Thanks and sorry my bad english.
Hi,
I am a web dev with yers of experience in js/jquery/html and related tech.
Instead of timeout, maybe it's better to $('iframe').load()
Let me know if you need my help.
Filippo Zonta
Good Day!
I'm a Web/Mobile Developer since 2009, Reading your requirements I'm very confident that I can help you in your project. Looking forward to work with you.
Grant me this project and experience the best service ever. This is my debut here in freelancer.com so I'm starting to build my reputation.
Thank you in advance!