More work on #150
git-svn-id: https://beef.googlecode.com/svn/trunk@575 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
@@ -72,12 +72,20 @@ beef.dom = {
|
||||
*/
|
||||
|
||||
iframeCreate: function(url, method, params, hidden, remove){
|
||||
var iframe = this.createElement('iframe', {
|
||||
width: '1px',
|
||||
height: '1px',
|
||||
style: 'visibility:hidden;',
|
||||
location: url
|
||||
});
|
||||
if (hidden){
|
||||
var iframe = this.createElement('iframe', {
|
||||
width: '1px',
|
||||
height: '1px',
|
||||
style: 'visibility:hidden;',
|
||||
src: url
|
||||
});
|
||||
} else {
|
||||
var iframe = this.createElement('iframe', {
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
src: url
|
||||
});
|
||||
}
|
||||
|
||||
document.body.appendChild(iframe);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user