1. #1
    Sencha User genius551v's Avatar
    Join Date
    Mar 2007
    Posts
    287
    Vote Rating
    0
    genius551v is on a distinguished road

      0  

    Default iframe again....

    iframe again....


    Hi again from here...

    sorry for try but a have do it this....

    i need remplace my iframe whit something else, can you to suggest me wich ? ? ?
    i think the container but can you explaime how ?
    i mind to url=?? or how? how is the implementation of container, but example the wait div, etc

    do you understand me???

    tnks very much

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    The best way is using a simple div element + UpdateManager. Suppose you div container element has the id "container":

    Code:
    var div = getEl('container');
    div.getUpdateManager.update('yourfile.php');
    You can also intercept clicks on links in the container element and use the UpdateManager to load the URL:

    Code:
    var div = getEl('container');
    function handleClick(e){
         var link = e.findTarget(null, 'a');
         if(link && link.getAttribute('href')){
              div.getUpdateManager().update(link.getAttribute('href'));
              e.stopEvent();
         }
    }
    div.mon('click', handleClick);
    You can do a similar override with forms.

Similar Threads

  1. Reloading an iframe
    By naveen in forum Ext 1.x: Help & Discussion
    Replies: 9
    Last Post: 26 Feb 2007, 11:00 PM
  2. iframe to contentpanel
    By franks in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 19 Feb 2007, 3:41 AM
  3. IFRAME on Dialog
    By gmoney in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 8 Feb 2007, 7:36 AM
  4. Div vs IFrame
    By techno_adi in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 7 Nov 2006, 3:03 PM
  5. IFRAME
    By genius551v in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 30 Sep 2006, 7:38 AM

Thread Participants: 1