rTankersley
20 Jan 2012, 4:40 PM
Hey all,
My application needs users to be able to enter in web links they would like to store. I was asked to put an iFrame in the bottom half of the panel that allows users to store web links, to help the user find useful links. Problem is, the iframe (how I did it, at least), does not have an address bar at the top of it, and I cannot figure out how to either get an address bar or get the current link it is at. The code I have:
xtype: 'panel',
anchor: '100% 100%',
id: 'fakeId',
layout: 'fit',
items: [{
title: "iframe",
layout: 'fit',
items: [{
xtype: 'component',
autoEl: {
tag: 'iframe',
src: 'http://...'
}
}]
}]
Do you know of any way to solve my problem? Either a way to get an address bar or a way to get the current 'src.' If you know of a way to add a listener for everytime the iFrame changes, that would be great, too, but not necessary.
Thank you
My application needs users to be able to enter in web links they would like to store. I was asked to put an iFrame in the bottom half of the panel that allows users to store web links, to help the user find useful links. Problem is, the iframe (how I did it, at least), does not have an address bar at the top of it, and I cannot figure out how to either get an address bar or get the current link it is at. The code I have:
xtype: 'panel',
anchor: '100% 100%',
id: 'fakeId',
layout: 'fit',
items: [{
title: "iframe",
layout: 'fit',
items: [{
xtype: 'component',
autoEl: {
tag: 'iframe',
src: 'http://...'
}
}]
}]
Do you know of any way to solve my problem? Either a way to get an address bar or a way to get the current 'src.' If you know of a way to add a listener for everytime the iFrame changes, that would be great, too, but not necessary.
Thank you