BUG-14022 Cut frame with user experience mobile, switchable SOLVED

- Style not allowed.
- A validation was added for version ie 10-11 in file index.html
This commit is contained in:
Marco Antonio Nina
2014-09-03 13:41:00 -04:00
parent 558903b4dc
commit a6ac05059a
3 changed files with 5 additions and 7 deletions

View File

@@ -31,13 +31,12 @@
var h = $(window).height() - 42;
$('iframe').height(h);
//IE V10-V11
if (navigator.appVersion.indexOf("MSIE 1") != -1) {
if ((navigator.appVersion.indexOf("MSIE 1") != -1) || (!!(navigator.userAgent.match(/Trident/) && !navigator.userAgent.match(/MSIE/)))) {
h = $('iframe').attr('style');
$('iframe').attr('style', h+' padding-top : 40px;');
}
}
function redirect(url)
{
var $iframe = $('#iframex');