Welcome to the Axosoft Community, Sign in | Register | Help
in Search

Using the hosted iframe model

Last post 02-19-2008, 4:07 PM by Jonas. 3 replies.
Sort Posts: Previous Next
  •  02-18-2008, 8:40 PM 15067

    Using the hosted iframe model Reply Quote

    Hi again,

    So i am using the hosted iframe model. This is fine for when the Operator is online, it launches in the popup window.

    However, when the operator is offline, the offline Url launches (as you'd expect) in the iframe.

    So what I am wondering, is there a possibility to have another parameter in the web.config for IsIframe=true or similar, and instead of doing a response.redirect to the offline Url, do a window.parent.location.href= ...?

    What do you reckon?

    Or maybe the offline could be an image or a page in the hosted solution - so we can put the page in there with our own jscript to launch in the parent frame? 

    I note you guys have no image when offline, so maybe this is something you are pondering already.

    My work around is that we have a rather big image to chat with us, so I can put a small contact form in there in the other application.

    Thanks in advance,

    Steve

  •  02-19-2008, 3:48 PM 15088 in reply to 15067

    Re: Using the hosted iframe model Reply Quote

    Hi Steve,

    Just to confirm, you're saying that you've got a url configured in the "UnavailableUrl" setting in your purechat.config? 

    Jonas 


    Axosoft Development Team
    Blog
  •  02-19-2008, 4:02 PM 15090 in reply to 15088

    Re: Using the hosted iframe model Reply Quote

    Hey Jonas,

    That is correct.

    <add key="UnavailableUrl" value="http://www.cadabra.com/ContactUs.aspx" />

    This is ideally what we would like. But of course it will launch that Url in our iframe. Our work around is to make it a relative url and make a small contact us form in the iframe.

    Cheers,

    Steve

  •  02-19-2008, 4:07 PM 15091 in reply to 15090

    Re: Using the hosted iframe model Reply Quote

    Hi Steve,

    That makes sense. I think what we will end up doing is forcing the Unavailable page to always open in a new window, similar to the chat window. I'll add this as a bug for our next release.

    Thanks!

    Jonas 


    Axosoft Development Team
    Blog
View as RSS news feed in XML

© 2002 - 2007, Axosoft, LLC. All Rights Reserved. | Privacy
Bug Tracking | Defect Tracking Videos | Help Desk Software