1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    54
    Vote Rating
    0
    bidyut is on a distinguished road

      0  

    Default Loaing external content into Iframe and Firefox

    Loaing external content into Iframe and Firefox


    I tried loading external content to iframe using src: somecontent. This works in IE, but does not work in firefox.

    Here is the code:
    Code:
    dashboardFrame = YAHOO.ext.DomHelper.append(document.body, {tag: 'iframe', frameBorder: 0, id: 'dashboardFrame', src: 'sampleActions.html'}); //add source later
                           dashboardPanel = new YAHOO.ext.ContentPanel(dashboardFrame, {title: 'Dashboard', fitToFrame:true, closable:false});
                           layout.add('center', dashboardPanel);
    Any clue? My firefox version is 1.5.0.8. And i am using the server environment using http://localhost

    Thanks

  2. #2
    Ext User
    Join Date
    Mar 2007
    Posts
    54
    Vote Rating
    0
    bidyut is on a distinguished road

      0  

    Default


    It does not work using "localhost". Instead it works if I use the computer name.

Similar Threads

  1. Replies: 3
    Last Post: 18 Mar 2007, 3:52 PM
  2. How to call BorderLayout-functions from external?
    By schoppet in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 9 Mar 2007, 3:20 AM
  3. Loading content into iFrame
    By Tym in forum Ext 1.x: Help & Discussion
    Replies: 22
    Last Post: 22 Jan 2007, 3:25 AM
  4. loading external pages in content panel - troubleshooting
    By phishee in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 8 Dec 2006, 10:27 AM
  5. YAHOO.ext.BorderLayout tab with external content?
    By zady in forum Community Discussion
    Replies: 2
    Last Post: 27 Oct 2006, 12:22 AM