Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: embed an outside page on my site

  1. #1
    btappan is offline Senior Member
    Join Date
    Jan 2008
    Posts
    148

    Default embed an outside page on my site

    I want to embed a quickbooks billpay page on my site in a topic page for non aspdnsf purchases. The page is http://billpay.quickbooks.com/j/crm/aquatiprollc I tried using this code in a new topic page:

    <iframe src="http://billpay.quickbooks.com/j/crm/aquatiprollc" width="100%" height="300"> &lt;p&gt;Your browser does not support iframes.&lt;/p&gt;</iframe>

    but the page always jumps out of the iframe and leaves my site entirely and goes to the linked site, not surprisingly, it seems to do it with most secure sites but basic sites work fine. Is there a different way to embed it to prevent it from leaving my frame?

    If I can't do that, what is an easy way to put a popup link on a topic page to the outside link, one that is a predermined window size without scroll bars or a tool bar, centered? I'd need a code example, if you could. Iv'e used this for insite links and the javascript for it is already in the HEAD section out of the box, but i'm not sure how to use it for outside links:

    <a onclick="popuptopicwh('Live+Chat','chat',240,340,' yes')" href="javascript:void(0);">Live Chat</a><br />
    Last edited by btappan; 03-07-2010 at 06:45 AM.

  2. #2
    BFG 9000 is offline Senior Member
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    882

    Default

    There's some javascript ( if(parent.frames.length!=0) {top.location.replace(window.location);};doJS(); ) on the quickbooks page that forces it to jump out of your iframe.

    Looks like they don't permit you to load their site in an iframe.


    TTFN

    BFG

  3. #3
    btappan is offline Senior Member
    Join Date
    Jan 2008
    Posts
    148

    Default

    how do I add javascript to the HEAD of topics pages? Or can I ultilize the javascript that is already there for an new window to an outside link?