-
26 Feb 2007 5:30 AM #1
Reloading an iframe
Reloading an iframe
Hi
Its pretty nice to see such a forum guiding newcommers with plenty of knowlede. I appriciate you all.
I aslo tried out some basic examples. But when I tried to reload an iframe which is defined in a conent panel, its seems not working fine. I loaded a PHP page in an ifrme which is defined in a content panel region. On submit i would like reload the i frame and show another php file in the same cintent panel.
How can i proceed ?
Cntent pane
lCode:ayout.add('south', new YAHOO.ext.ContentPanel('south',{fitToFrame:true, autoCreate: {tag:'iframe',id:'southframe', name:'southframe',frameborder:'no'}})); getEl('southframe').dom.src = '4test1.php';
-
26 Feb 2007 6:12 AM #2
You don't need to do anything. iframes are like browsers.
Just have the PHP script you submitted to include the php file you wish to see next.
-
26 Feb 2007 6:22 AM #3
hi
But it sems to load in a new window insted of my content panel ?
-
26 Feb 2007 6:25 AM #4
What's the target of the form?
-
26 Feb 2007 6:36 AM #5
hi
Target i have given as the id of the contentpanel .....if i give parent its doest hav any sense !!
what should i give ?
-
26 Feb 2007 6:38 AM #6
That's the problem.
You don't need a target. The iframe is a little browser window all of its own. A regular submit with no target will take place inside the iframe, and the results will appear inside it.
-
26 Feb 2007 6:49 AM #7
hi
Thanks
In the same panel its reloding properly. But from one panel to another panel i am not able tp load it?
-
26 Feb 2007 6:55 AM #8
Not unless you do some clever jiggery-pokery.
Are you up to it?
-
26 Feb 2007 7:13 AM #9
Hi Animal
Thank You, I accepted what you are saying.
If u don't mind can u tell how can i proceed .
-
26 Feb 2007 11:00 PM #10
Similar Threads
-
Reloading Iframe Via UpdateManager
By ani in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 5 Mar 2007, 9:15 AM -
Reloading different data into a grid
By ealameda in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 2 Mar 2007, 8:58 AM -
Grid Filtering and Reloading
By Greeens in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 15 Feb 2007, 10:33 PM -
Reloading a ContentPanel (or TabPanel)
By jamaljohnson in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 14 Nov 2006, 2:16 PM -
Reloading existing ContentPanel (TabPanel actually?)
By jamaljohnson in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 14 Nov 2006, 2:15 PM


Reply With Quote