Welcome to TalkGraphics.com
Results 1 to 8 of 8

Thread: iframe speed

  1. #1
    Join Date
    Oct 2011
    Location
    Scotland
    Posts
    243

    Default iframe speed

    are there amendments to the standards iframe code generated with the widget that will allow the iframe to load faster on the webpage?

    I use wordpress for blogs and on accessing the websites Blog page where there is an iframe generated with the web designer widget, there is a lag which is annoying. it does make some kind of sense that there will be lag when another website/page is loaded, after all your website must load before it sees there is an instruction to load another site in an iframe.

    But can the load time be increased in some way.

    Not great with code and hoping there is an easy solution ............ thanks in advance for any help

    Current code:
    <iframe src="http://www.domainname/blog/" onload=”pageloadingtime();” width="100%" height="100%" frameborder="0" scrolling="auto" name="xara_iframe" ><p>Your browser does not support iframes.</p></iframe>
    "Your never too old to Rock and Roll" ......
    ~Ronald Belford Scott 1946-1980

  2. #2
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Re: iframe speed

    I think it is what it is and it will take as long as it takes. Nothing can speed up the load time of the embedded wordpress site. It should load as fast as the wordpress server will create it.

    [ There are reasons why pages with iFrames load slower - Google "slow iframe" and there are some suggestions to improve the user experience, but it's not really down to Xara or a simple change to Markup ]
    Last edited by pauland; 17 May 2015 at 01:08 PM.

  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,882

    Default Re: iframe speed

    What might work is setting the iframe to have a transparency:

    <iframe class="iframePlaceholder " src="https://duckduckgo.com/"width="100%" height="100%" frameborder="0" scrolling="auto" name="xara_iframe" allowtransparency="true" ><p>Your browser does not support iframes.</p></iframe>

    Additionally, adding a background to the iframe HTML code (head):

    Code:
     <style>
    .iframePlaceholder {
      background: url("index_htm_files/Chrysanthemum.jpg") center center no-repeat;
     }
    </style>
    You can add an image to the background that is the startup view or anything you like.

    You will have to check the coding above is right - search for iframe transparency and iframe background,; there are usually on-line examples.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  4. #4
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Re: iframe speed

    Does that make it load faster?

  5. #5
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,882

    Default Re: iframe speed

    Quote Originally Posted by pauland View Post
    Does that make it load faster?
    Sorry, i should have mentioned that it doesn't load faster but through a trompe l'oeil effect, an image in situ looks as if something has happened, so subjectively it seems faster.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  6. #6
    Join Date
    Oct 2011
    Location
    Scotland
    Posts
    243

    Default Re: iframe speed

    Thanks guys...... i like the idea of a background image that just says

    "... loading"

    thanks for info , that's the solution ill use.
    "Your never too old to Rock and Roll" ......
    ~Ronald Belford Scott 1946-1980

  7. #7

    Default Re: iframe speed

    Quote Originally Posted by Acorn View Post
    What might work is setting the iframe to have a transparency
    This is possible only if you also have access to edit the iframe source content which needs some css added to the <head>

    See ► http://board.xara-users.info/viewtop...&t=909&start=0

  8. #8
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,882

    Default Re: iframe speed

    Quote Originally Posted by steve.ledger View Post
    This is possible only if you also have access to edit the iframe source content which needs some css added to the <head>

    See ► http://board.xara-users.info/viewtop...&t=909&start=0
    Thank you for the detail and clarification,
    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •