PDA

View Full Version : Extjs4 iframe based approach vs non iframe based approach - suggestion needed



renganathan
6 Dec 2011, 8:29 AM
Hi all,

We are developing application with Extjs4 & PHP. Here we are using Viewport with 3 regions

West region has accordion with tree panel


North region has menus


Center region has an iframe
Based on click on menus or tree nodes , we are loading appropriate php files into the iframe.

Because of iframe we are facing some alignment problems.

Please suggest whether we are doing right thing? or is there any better solution to handle this

Please refer the following image


29826

wallynm
6 Dec 2011, 8:50 AM
Well, instead of replacing iframe href, i would do it with ajax calls replacing the panel HTML with the ajax result. So, you would have it in the same HTML of the app...