Websites inside iframes?

hello
i already have the layout for the website that i am making and have been successful at using iframes to put web pages within my layout.  i have two questions:
1.  when i make the iframe another website, it loads very slowly.  why is that?  for instance, something like "<iframe src="http://cnn.com" </iframe>, cnn.com would appear much slower than the rest of the layout.
2.  let's say the iframe is cnn.com.  would there be any way of making it load into my website without the cnn.com header and ads?  what if i wanted it to just start off with stories?  maybe it's impossible, i dunno.
thanks a bunch, any advice would be very helpful
damien

moftchor wrote:
but i still don't understand why my blog would load more slowly in my website, when it loads quickly normally...
As mentioned previously - merely a question of the order in which iframes are loaded. Each request inside the iframe will enforce a check on the parent page, possibly even refreshes, slowing down things considerably. Also your blog may use additional overhead because it needs to check more complex referrers. Anyway, as the others said - it's not particularly good design for security and other reasons. If you really must display blog content on a normal site, it is much better to work with includes and adjust the PHP code.
Mylenium

Similar Messages

  • Calling iBrowser Object from iframe inside iframe

    Hi,
    Normally i can get the selected value of iBrowser using this method.
    var myString =document.appletname.getBrowserObject().getSelectedDatalinkValue();
    But in my case i have iframe inside iframe. In 2nd iframe i am calling iBrowser.
    I need to get the selected value of iBrowser in an iframe inside another iframe.
    I tried iframe1.iframe2.document.appname.....
    But i didn't get any value. Can anybody suggest regarding this.
    Thanks & Regards,
    Giri

    Try the following:
    window.frames["TheIFrameName"].document.appletname.getBrowserObject().getSelectedDatalinkValue();
    This should work as long as both IFrames are sourced from the same server.  Cross-frame scripting when the sources are different servers is usually not permitted by the browser for security reasons.
    Edited by: Rick Bullotta on Nov 19, 2008 6:40 AM

  • Displaying a website inside a website

    Is there a way to display a website (example adobe.com) inside your Flash website?
    Looking for something similar to HTML inline frames
    <iframe> src="adobe.com" height="200" width="300" </iframe>
    Thanks- Ben L

    The only place I can think of where Flash will render html is in a textbox with the "render as html" option selected.  I don't know if it will render all the html markup that would comprise an entire page, though.....
    Sean

  • Firefox - asking to Save/Download SWF rather than playing it inside IFRAME

    Hi all, I have encountered a very strange thing with an SWF we have recently authored.
    My client insists on embedding a FlashPlayer 9 SWF inside an IFRAME given the limitations of their content management system.
    When they use this method to embed an SWF authored by us 6 months ago, everything behaves as expected - the Flash loads and plays within the IFRAME on their website.
    When they use the very same method to embed an SWF from the same FLA authored by us this month, Firefox brings up the "Save File / Download" dialog box instead - the SWF does not play but instead is seen as a downloadable file.
    I have verified this behaviour on a number of different computers that all have had no issues playing Flash content across all versions (Flashplayer 8 - 10).
    What should we do to fix this problem?
    Thanks,
    Tom

    <iframe frameborder="0" style="border: 1px solid #999999; width: 699px; margin: 0; padding: 0; height: 429px; background: none;" src="http://path/to/myClientsFials.swf?xmlDocURI=xml/styleguide_en.xml&categoryName=crossover&l anguageCode=en&xmlConfigDoc=xml/mystyle_config.xml&explorerMode=category"></iframe>
    Don't worry about what all the variables mean. It's not really apposite to the issue.
    T

  • Including JSF application inside iframe

    Hi,
    I have an existing website (based on PHP and HTML), where I want to include a new part that is developed with JSF,
    and currently runs on another webserver.
    I included the JSF part with:
    <iframe name="NewPart" src="http://www.myotherwebsite.com/jsp/welcome.faces" width="600" height="400"
    scrolling="auto" frameborder="0">
    some text.
    </iframe>
    This page appears fine with any simple JSF example. But as soon as I start navigating inside the JSF application to page2 (see below), I get the following exception:
    javax.servlet.ServletException: viewId:/jsp/welcome.faces - View /jsp/welcome.faces could not be restored.
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:249)
    root cause
    javax.faces.application.ViewExpiredException: viewId:/jsp/welcome.faces - View /jsp/welcome.faces could not be restored.
    com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:185)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
    com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
    The navigation is defined as:
    <navigation-rule>
    <from-view-id>/jsp/welcome.jsp</from-view-id>
    <navigation-case><from-outcome>page2</from-outcome><to-view-id>/jsp/page2.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    What am I doing wrong (I'm fairly new to JSF..)?
    best regards, Paul.

    Thanks Raymond, I think you've put me on the right track.
    I forgot to stress that if I load the (JSF based) page directly inside the browser it works OK, only when it is loaded inside an <iframe>, the navigation fails. I suspect now that there may be a conflict between the cookie stored by the main page and the inner JSF frame.

  • XML does not render inside iframe using the built-in Firefox renderer as of Firefox 17.0.1

    We make a Content Management system that renders XML inside of iframe in a few different areas. As of Firefox 17, these iframes no longer render using the built-in Firefox XML renderer but instead as plain text.

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.
    It is probably best if you have a web page with example code, so they can test this themselves.

  • WebElements  Can't get rid of border inside iFrame when CR report is loaded

    I am runing reports from the CR Crystal report 2008 view that launches from Infoview and I can't get rid of a border that is in the inside of the iframe when the iframe has a CR loaded within it  .  (I uploaded screenshots here...  https://cw.sdn.sap.com/cw/ideas/4288)
    The issue isn't with the iFrame itself.  When I just throw an WEIframe on a CR report, I can control the frameborder by modifiying the WEIFRAME function's frameborder setting, toggling it on and off and it looks great.
    Where I am having problems is when I put load a CR report inside of an iFrame.  I changed the ReportMode to weblayout, I've made the report margins to be zero, removed the scrollbars and menubar.  Still, I get that pesky inside border.
    I've changed the opendoc sReportMode to Weblayout, gotten rid of preview panel, margins in my CR report, removed toolbar and menu bar from the reports and iframe
    Today, we went into our BO Server, found every instance of OpenDocument.jsp and added the frameborder ="0" parameter at the bottom of the script to the iframe definition.
    After the changes my BOE Admin restarted the Apache webservices. 
    Is there something else that needs to be re-deployed or re-started??
    thanks!
    -Pam

    Jamie/Ludek --
    Hopefully my post will help you help other people having this issue.
    Yes, as it turns out, this issue was not related to WebElements, but was an issue with the CR Viewer.
    The KB that Ludek referred me to did have code to add to the web.config, but it didn't do a thing.
    Ultimately, I found reference to this ussue bug #ADAPT01417734.  A fix was first bundled in fix pack 3.1, but it wasn't completely fixed until SP 4.0. (Known Limitations:  There will still be a 1 pixel wide border around the viewer even though the toolbar and drilldown tabs are hidden. The fix for the 1 pixel border will be delivered in Service Pack 4.)
    Our server is BOXI R3 FP 2.6 and applying service packs is, in itself, a pain and a risk and requires a testing effort that we couldn't afford right now.
    So, I patched my own local instance of CR 2008 to SP4.0 and then pulled the files that were identified as 'fixed' according to the release notes to my BO Server and put them in the correct destination folders:
    allInOne.js
    dom.js
    processindicator.js
    psheet.js
    ReportAlbum.js
    ReportPage.js
    ReportView.js
    Style.css
    Viewer.js 
    OK, it's a hack, but once I did that, ALL of the gray borders around my weIframes went away!!  I can still control a nice little border via the  frameborder attribute in the weIframe ()
    thanks for your help!

  • Display apex page inside iframe........

    Hi,
    Im trying to put the apex page(http://apex.oracle.com/pls/apex/f?p=44015:3:2304706657174469:::::) inside a iframe. but i cant achive it. when i run the below code the page cant able to display inside the iframe.
    <html>     
    <head>
    <title>HTML Test</title>
    </head>
    <body>
    <iframe src="http://apex.oracle.com/pls/apex/f?p=44015:3:2304706657174469:::::" width="800" height="400">
    </iframe>
         </body>
    </html>i.e, i want to display a page(google) like below,
    <html>     
    <head>
    <title>HTML Test</title>
    </head>
    <body>
    <iframe src="http://www.google.com" width="800" height="400">
    </iframe>
         </body>
    </html>what's wrong in my code?
    Thanks in advance...

    What kind of error does the page give?
    I see that you have your session info in your url.
    If you put it like this:
    <iframe src="http://apex.oracle.com/pls/apex/f?p=44015:3" width="800" height="400">does that work?
    Robin

  • Displaying image inside iframe

    In the servlet,I have an image which is retrieved from database using BufferedOutputStream.I would like to display the same in my JSP iframe.
    <iframe name = "myInlineFrame" src ="SiServlet" width="100%" height="300" >
    </iframe>
    view
    The above code opens the image as separate bmp file only not inside the iframe.

    byte[] bytearray = new byte[1048576];
    int length;
    BufferedOutputStream output = new BufferedOutputStream(response.getOutputStream(), 1048576);
    BufferedInputStream input = null;
    response.reset();
    response.setBufferSize(1048576);
    response.setContentType("application/plain");
    response.setContentLength(bytearray.length);
    response.setHeader("Content-Disposition","inline;filename=x.bmp");
    psmnt = con.prepareStatement("SELECT query to retrieve varbinary data from DB");
    rs = psmnt.executeQuery();
    while (rs.next()) {
    input = new BufferedInputStream(rs.getBinaryStream(1), 1048576);
    while ((length = input.read(bytearray)) > 0) {
    output.write(bytearray, 0, length);
    output.flush();

  • I get no graphic when linking a website inside facebook

    <link rel="image_src" href="http://www.maxcommusa.com/images/logo1.png
    I put this inside the head of the main page but it only made the whole website left justified.
    Here is the main website http://www.maxcommusa.com
    Please help thanks! I absolutely LOVE muse.
    Anthony

    The Yahoo! Toolbar extension has been reported to cause this issue.
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    You can keep an eye on this thread:
    *[[/forums/contributors/707748]]

  • Can I open a new website inside a lightbox?

    Hi.
    I'm struggeling with how to setup the best eCommerce plan in Muse for my customer. I think I will go for Shopify's soulution because they have the right payment gateway for me as an scandinavian ... Wazala has only paypal. But I really want to integrate the Shopify url inside muse so that when the user press a SHOP NOW button a lightbox opens with the Shopifypage within .... is this possible?
    The sad thing is that I don't think I can implement the HTML code like you can with the Wazala soulution.

    That is an interesting idea, however shopfly is pretty much an all in one solution so trying to put an ecommerce website into another website is pretty much redudant. Wazala is a little different because it isn't a complete ecommerce website. It is an embeddable shop. You can also try cashiecommerce.com. It is free to use and try and allows a lot of customization for embedding into Muse. There is also Ecwid.com.

  • Lion Safari 5.1: pdf file is not opening inside the iFrame

    "When trying to open the pdf file inside the iFrame, it is opening outside the iFrame in Preview Application and leaving behind the iFrame as blank . Earlier with Safari 5.0.5 version this problem was not coming and pdf was opening properly inside iFrame".
    When I am creating a sample html file with below code, the pdf is opening out side the iFrame.
    <iframe height="900" width="100%"  src="TestPDF.pdf" id="displayPDF"/>
    Can any one please help me out to resolve this issue and open the pdf file inside the iFrame with latest Lion Safari 5.1

    I think the problem must be limited to the iframe tag in particular, or frames in general. One of my websites has links to pdf files that open directly in the browser (see http://www.raffca.org.uk/docs/association_rules.pdf), but I have been unable to see a pdf if it should be loaded within a frame (such as at http://www.london-gazette.co.uk/issues/59866/supplements/14713); this latter page is not an iframe, but it is giving the same symptoms. I have removed any presence of the Adobe Reader plugin (I don't use Adobe Reader at all), so it is clearly a problem with Safari's built-in interpretation of frame/iframe PDF presentation. It's probably worth passing this on to Apple as a problem.

  • Right Click to convert webpage to pdf creates pdf with website headers but not iframe content

    Hello
    We are having a problem converting webpages to pdf with Acrobat.  Out website uses Iframes to view the website we are converting to pdf.  When I right click on the webpage and click convert to pdf everything works fine. But the pdf that is created is only the header of the page not the content of the iframe I right clicked on.  If you go to file and print to pdf it works fine we get the content of the iframe in the pdf and not the rest of the webpage. But the users prefer to right click. Is there some way to fix this so we can right click to convert to pdf?
    Thanks
    Jason

    I dont think acrobat can convert iframes to pdf (need to check). It can convert html, some javascript, images and swfs for example. Data driven pages, depending of the programming cant be converted too.

  • How to retrieve the link clicked  inside an iframe ?

    Hi all..
    I have a JSP where i have used an iframe to display the URL's dynamically. (URL's are being passed at run time) I want to retrieve the link's URL (i.e. href attribute value ) when user clicks on the link displayed inside iframe.
    Say for e.g. www.yahho.com is the URL displayed inside the iframe and now if i click on any of the link of page, i want to retrieve the href before the navigation happens.
    Is it possible to retrieve the href ? If so how to forward this href to my action class where i do further work.
    Any solutions in this regard ?
    Thanks in advance..
    Prasad

    This is probably a javascript question rather than JSP, seeing as you are doing detection at client side.
    No it is not. Or at least not directly.
    For security reasons, browsers have now disabled "[cross-frame-scripting|http://www.google.com/search?q=cross-frame-scripting&meta=&btnG=Google+Search]"
    indirectly you could set up a "proxy-server" type setup. Make all web requests to that "proxy". The proxy issues a real web request, and retrieves the actual data to stream, but could also do extra processing. Maybe. But basically you would have to intercept every single web request going out.

  • I could not able to open a .doc,.xls,.ppt inside the iframe tag in IE7.

    Hi all,
    I could not able to open a .doc,.xls,.ppt inside the iframe tag in IE7.
    what should i do?

    Hi,
    Question is,: when ever i call the .doc,.ppt,.xls files are not coming inside the iframe tag in IE7
    I am keeping the all files in separate storage area lik d:/StorageLoc/Docs/Sample.doc
    when ever i am calling the sample.doc through web,
    http://localhost:8080/VContext/OpenFile
    i am accessing the word,ppt,xsl files inside iframe
    like
    var fils= "d:/StorageLoc/Docs/Sample.doc";
    <iframe src="/VContext/OpenFile?r2=fils"></iframe>
    OpenFile.java [servlet file]
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException
    try
    String s2 = request.getParameter("r2");
    String s3 = null;
    String s4 = "txt";
    if(s3 != null && s3.equals("download"))
    response.setHeader("Content-disposition", "attachment;filename=output." + s4);
    if(s4 != null && s4.equals("pps"))
    response.setContentType("application/vnd.ms-powerpoint");
    if(s4 != null && s4.equals("doc"))
    response.setContentType("application/vnd.word");
    if(s4 != null && s4.equals("tif"))
    response.setContentType("image/tif");
    }else
    response.setHeader("Content-disposition", "inline;");
    if(s4 != null && s4.equals("pdf"))
    response.setContentType("application/pdf");
    else
    response.setContentType("application/octet-stream");
    try
    javax.servlet.ServletOutputStream servletoutputstream = response.getOutputStream();
    File fileFound = new File(s1 + s2);
    if(!fileFound.exists())
    s2 = "Photos/notfound.gif";
    FileInputStream fileinputstream = new FileInputStream(s1 + s2);
    ByteArrayOutputStream bytearrayoutputstream = new ByteArrayOutputStream();
    byte abyte0[] = new byte[0x500000];
    do
    int i = fileinputstream.read(abyte0);
    if(i != -1)
    bytearrayoutputstream.write(abyte0, 0, i);
    } else
    byte abyte1[] = bytearrayoutputstream.toByteArray();
    response.setContentLength(abyte1.length);
    servletoutputstream.write(abyte1, 0, abyte1.length);
    servletoutputstream.flush();
    servletoutputstream.close();
    return;
    } while(true);
    catch(Exception e)
    System.out.println("IGST-INFO:" + e.getMessage());
    e.printStackTrace();
    }

Maybe you are looking for

  • N96 won't detect my captured pictures

    hi i have nokia n96 and 2-days ago i got corrupted (mass) memory error so i restarted the phone and it was ok. But now Photos application won't detect my Captured pictures. The directory tree of Images was intact after corruption (probably) so nothin

  • Runtime error LOAD_PROGRAM_NOT_FOUND for ARE document.

    Hi All, when I am creating or posting ARE document thru tcode J1IA101 & J1IA301 ,I am clicking on Printing check box & when I am going to save it .It is giving me error printing parameter is not set & after pressing enter it is giving runtime error,

  • Can't see the bios

    Hi all Please help! I think I am having problems with the PCI Express card so I went into BIOS and chose the on the board graphics option disabled the PCI option. Now when I boot I simply have a blank monitor screen to look at! I can't remember exact

  • Error in activating Digital Editions - pls help

    Hi... I keep getting the following error code and told to 'try again'. I've seen other posts (much older) where they received the same error, but don't know what the solution is. I am not very techy at all and just wanted to be able to read some libr

  • Next generation exposure control

    In another thread I made a comment how the controls and interfaces on today's DSLRs are still firmly rooted in the analog age. On this occasion I wanted to start a discussion about how exposure controls should ideally work on a modern computerised DS