Jump to content
werdnags

[Solved] Blank Page when iframe code inserted

Recommended Posts

werdnags

Evening All,

Can anyone help me please?  I am trying to insert an iframe to wrap another website.  I have tried using the 'text' and 'embed' section and insert the code:

<iframe src="website-address"></iframe>

When I save the page it then returns blank, nothing at all, not even the tool bars for pagelines.  I don;t know how to disable that section so I am having to just delete the page and create a new one with a different name.

Thanks for any help.

Share this post


Link to post
Share on other sites
edgarcheverier

Hi, try to use it in a new page and check the width="" height="" .

Screen-Shot-2017-10-24-at-12.53.58-PM.pn

Screen-Shot-2017-10-24-at-12.52.31-PM.pn

Screen-Shot-2017-10-24-at-12.59.29-PM.pn

Share this post


Link to post
Share on other sites
werdnags

Thanks edgarcheverier,

I have tried that too.  Everything I do results in a blank page. Strange! I have tried using <code></code>, putting the code on a page, in a section, disabling all plugins.  Nothing shows up in the Google Console or 'debug mode'.

I am lost with this one.

Share this post


Link to post
Share on other sites
edgarcheverier

You are welcome :)! 

The website that you are trying to insert it is a path of your website or it is an external link? 

Try with a path like your contact page. 

 

Share this post


Link to post
Share on other sites
werdnags

Ah! Yes, that works with a path of my website.  The minute I go external (testing with BBC) it is a blank page but Google Console now has the error: Refused to display 'https://www.bbc.co.uk/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

Another issue I feel I may have is my site is over HTTPS and the site I am trying to link via <iframe> is HTTP.

 

Share this post


Link to post
Share on other sites
edgarcheverier

Well maybe is because the website you are trying to display is a Framekiller, Framekiller is a technique used by web applications to prevent their web pages from being displayed within a frame.

Share this post


Link to post
Share on other sites
werdnags

The site I am trying to display is a well known holiday property booking agent and they say their site is not blocking anything.  I will continue to research and hopefully get an answer.

Thanks for your input.

 

Share this post


Link to post
Share on other sites
edgarcheverier

Then, ask them if they can change their web page to SSL, maybe that is the problem.

You are welcome, I hope you can fix this out soon.

 

Share this post


Link to post
Share on other sites
werdnags

Fixed,  as you rightly said.  They changed their site to SSL - all okay.

Thanks all.  Happy!

7 hours ago, edgarcheverier said:

Then, ask them if they can change their web page to SSL, maybe that is the problem.

You are welcome, I hope you can fix this out soon.

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • Ryan Logan
      By Ryan Logan+
      Hello.  Just upgraded to the latest version of DMS and iFrame elements are not displaying or functioning properly.  See here.
      I've tried switching from Textbox to Nextbox (default settings) and there is no change.
      Thank you,
      Ryan
    • zetanet
      By zetanet+
      Look the Google tour iframe in this page:
      http://www.centroodontoiatricopitino.it/photogallery/
      Is it possible to see this iframe not boxed (as you see) but in full width?
    • dgsarnow
      By dgsarnow+
      Since the update to the DMS theme, all my embedded iframes and forms are not displaying properly. They are clipping at a short height regardless of what is indicated for the height in the iframe code. This is affecting Google Maps, Slideshare and Wufoo.
       
      Below is a slideshare embed being cunched down.
       

       
       
      Here is a Wufoo form being clipped
       

       
      Please let me know what further information I can share to get to the bottom of this.
    • lazlo
      By lazlo
      Hi, Im trying to get the following code into the home page of a DMS2 WP website..as a thin bar across the top of the page.with absolutely no luck.
       
      I have tried..
      using nextbox - which just hangs the site and stops the DMS editor from loading splitting the scripts to the Custom Scripts section - this hangs the site as above adding it in an Iframe- this cuts off/hides the calendar pop up as the iframe is set to 50px Please could someone offer a solution - its completely doing my head in ;o)
      <script src="http://code.jquery.com/jquery-1.10.2.js"></script> <script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script> <script> $(function() { $( "#arrivalDate" ).datepicker(); }); </script> </head> <body> <div class="blockDark"> <form id="makeBooking" action="http://www.domain.com/test-2" method="get"> <span>Arrive</span> <input type="text" name="arrival" id="arrivalDate" value="<?= date('d/m/Y'); ?>" style="width:100px;"/> <span>Nights</span> <select name="numberOfNights"> <option value="1"> 1 </option> <option value="2"> 2 </option> <option value="3"> 3 </option> <option value="4"> 4 </option> <option value="5"> 5 </option> <option value="6"> 6 </option> <option value="7"> 7 </option> <option value="8"> 8 </option> <option value="9"> 9 </option> </select> <span>Adults</span> <select name="numberOfPersons" id="numberOfPersons" > <option value="1"> 1 </option> <option value="2"> 2 </option> <option value="3"> 3 </option> <option value="4"> 4 </option> </select> <span>Children</span> <select name="numberOfChildren" id="numberofChildren" > <option value="1"> 0 </option> <option value="1"> 1 </option> <option value="2"> 2 </option> <option value="3"> 3 </option> <option value="4"> 4 </option> </select> <span>Offer Code</span> <input type="text" name="offerCode" id="offerCode" /> <input type="submit" value="Check Availability" /> </form> </div>
    • jennajonesdesign
      By jennajonesdesign+
      Hello!
       
      **I already searched the forum and found another gal with a similar issue, so I added a note there as well...
       
      My client is a sales rep and is switching to running her whole business online. The program we found to take orders online for a sales rep (WRNTY) only gives me the option of using an iframe to embed the log in for clients. I can see from previous posts that this is less than ideal, but there really is no way around it in this particular situation. 
       
      I currently have the iframe in the footer. Really strange - it is working correctly on the home page, but them seems to pull something different on each different page.
       
      Any thoughts or ideas on how to fix this? Worst case scenario I just need to get it working in one place and then link to that. But, I can't even get it to work in the content section of the "order online" page. 
       
      Anyone have a guess why it is working on the home page and not the other pages?
       
      **They had me upload several files. The main file is called "index" so I was wondering is that has to do with it??
       
      http://www.tackrep.com/
×