<%@ Master Language="VB" AutoEventWireup="false" CodeBehind="Site.master.vb" Inherits="Netxert.APP.Portal.Site" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head runat="server">
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<title>MTrack Portal</title>
<link href="/App_Themes/Portal/Portal.css" rel="stylesheet" type="text/css" />
<asp:ContentPlaceHolder ID="HeadContent" runat="server">
</head>
<body>
<form runat="server">
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" CombineScripts="false" runat="server" EnablePageMethods="true" ScriptMode="Release" >
<Scripts>
<asp:ScriptReference Path="~/Web/js/ProgressBar.js" />
</Scripts>
<asp:HiddenField ID="HdnMagentoURL" runat="server" />
<asp:HiddenField ID="HdnEmail" runat="server" />
<asp:image imageurl="/web/img/logo.png" runat="server" ID="ImgLogo" />
<asp:UpdatePanel runat="server" ID="updtmsg" UpdateMode="Always" >
<contenttemplate>
<asp:Label runat="server" ID="lblErrMsg" ForeColor="Red">
<asp:Label runat="server" ID="lblSucessMsg" ForeColor="green">
|
<asp:ContentPlaceHolder ID="MainContent" runat="server"/>
<div id="divProgress" runat="server" style="display:none; background-color:#ffffff; padding:10px 10px 10px 10px;font-size:13px;" align="center">
Processing your request.
Please wait....
<asp:modalpopupextender runat="server" id="mdl" OkControlID="btncancel" CancelControlID="btnok" targetcontrolid="divProgress" popupcontrolid="divProgress"
onokscript="showConfirm(this);"
oncancelscript="javascript:return cancelClick();" backgroundcssclass="modalBackground">
<asp:Button runat="server" ID="btnok" style="display:none;" />
<asp:Button runat="server" ID="btncancel" style="display:none;" />
|
<iframe id="ifrMagento" style="display:none; position:absolute; background-color:#ffffff;" frameborder="0"></iframe>
</form>
<script type="text/javascript">
$(document).ready(function () {
setFooter();
RoundedCorner();
$(window).scroll(function () {
setFooter();
});
});
function setFooter() {
var tp;
if ($(document).height() == $(window).height()) {
tp = $(document).height() - 30;
} else {
tp = $(document).height() + 30;
}
$('#footer').css({ 'top': tp, 'display': 'block' });
}
function changeButtons(crcol) {
var bgcol = new Color();
$('div[id^="Dvnewbutton"]').each(function () {
document.getElementById(this.id.replace('Dvnewbutton', '')).style.display = '';
this.parentNode.removeChild(this);
});
$('input[type=button],input[type=submit]').filter(function () { if (this.style.display == 'none') { return false; } else { return true; } }).each(function () {
var obj = this;
var dv = document.createElement('DIV');
dv.id = 'Dvnewbutton' + obj.id;
dv.style.backgroundColor = '#' + colorarray[crcol].BC;
dv.className = 'block';
dv.innerHTML = this.value;
dv.onclick = function () {
obj.click();
}
dv.onmouseover = function () {
bgcol.container = this;
bgcol.transition(colorarray[crcol].BC, colorarray[crcol].BHC, 300, 'bg');
}
dv.onmouseout = function () {
bgcol.container = this;
bgcol.transition(colorarray[crcol].BHC, colorarray[crcol].BC, 300, 'bg');
}
obj.style.display = 'none';
obj.parentNode.appendChild(dv);
});
}
function callCurrentTheme(col){
curr_color = col;
changeButtons(curr_color);
var nstyle = document.createElement('LINK');
nstyle.type = 'text/css';
var dt = new Date();
nstyle.href = ((col==9)?'/App_Themes/Mtrack/Mtrack.css':'/Web/img/Theme/'+col+'.css') + '?dt='+ dt.getTime();
nstyle.rel = 'stylesheet';
document.body.appendChild(nstyle);
}
curr_color = 1;
function openMagentoURL(mode) {
debugger;
$('.uppermenu a').removeClass('current');
$('#anc' + mode).addClass('current');
var uri = '';
var ifr = document.getElementById('ifrMagento');
var loaded = true;
var hdn = document.getElementById('ctl00_HdnMagentoURL').value;
if (mode == 'catalog') {
uri = hdn + '/customer/account/login/email/' + document.getElementById('ctl00_HdnEmail').value + '/returnurl/catalogs';
ifr.style.display = '';
} else if (mode == 'account') {
uri = hdn + '/customer/account/login/email/' + document.getElementById('ctl00_HdnEmail').value;
ifr.style.display = '';
} else {
ifr.style.display = 'none';
uri = hdn + '/customer/account/logout';
if (document.attachEvent) { //IE
$('#DvModal').css({ 'height': $(document).height(), 'width': $(document).width() });
document.getElementById('DvModal').style.display = 'block';
var dvanim = document.createElement('div');
dvanim.id = "Dv_" + ifr;
dvanim.className = "loading";
dvanim.style.backgroundPosition = "0px 0px";
dvanim.style.top = (($(document).height() / 2) - 24) + 'px';
dvanim.style.left = (($(document).width() / 2) - 24) + 'px';
dvanim.innerHTML = 'Signing Out.
Please wait....
';
document.getElementById('DvModal').appendChild(dvanim);
ifr.anim = new LoadingAnimation("Dv_" + ifr);
ifr.anim.Start();
var that = ifr;
ifr.attachEvent('onload', function () { loaded = true; window.location = "/SignOut.aspx"; that.anim.Stop(); document.getElementById('DvModal').style.display = 'none'; });
} else if (document.addEventListener) { //Firefox
var that = ifr;
ifr.addEventListener('load', function () { loaded = true; window.location = "/SignOut.aspx"; that.anim.Stop(); document.getElementById('DvModal').style.display = 'none'; }, false);
} else {
ifr.onload = function () {
loaded = true;
window.location = "/SignOut.aspx";
this.anim.Stop();
document.getElementById('DvModal').style.display = 'none';
}
}
}
$('#ifrMagento').css({ 'width': $(document).width(), 'height': $(document).height() - 80, 'left': 0, 'top': 50 });
ifr.src = uri;
}
</script>
</body>
</html>
this is code of aspx it works fine IE9,10 but it not work in IE11 the href link is not working so please help me out