View Full Version : iframe again....

16 Oct 2006, 10:26 AM
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

16 Oct 2006, 11:50 AM
The best way is using a simple div element + UpdateManager. Suppose you div container element has the id "container":

var div = getEl('container');

You can also intercept clicks on links in the container element and use the UpdateManager to load the URL:

var div = getEl('container');
function handleClick(e){
var link = e.findTarget(null, 'a');
if(link && link.getAttribute('href')){
div.mon('click', handleClick);

You can do a similar override with forms.