3.2.0

Code works in IE but not firefox AW 2.5.2

Alex;

Why does this code owrk in IE7 but not FF 2.0.0.16

<HTML>
<!--
# =================================================================================================
# File Name : MainMenu.htm
# Purpose : Main System
# Author : Richard Noble rpnoble@ibksoftware.com (c)2007
# Copyright : (c)2007 by Richard Noble
# Date created : 19-Jan-2007
# Date updated :
#
# Comments :
# =================================================================================================
-->

<HEAD>


<meta http-equiv="expires" content="-1">
<meta http-equiv="pragma" content="no-cache">

<LINK href="stylesheet.css" type=text/css rel=stylesheet>
<LINK href="stylesheet480.css" type="text/css" rel="alternate stylesheet" title="480">
<script src="runtime/lib/aw.js"></script>
<link href="runtime/styles/xp/aw.css" rel="stylesheet"></link>

<style>
.aw-system-control {position: absolute}

#box {left: 0px; top: 0px; width: 398px; height: 432px; border: 1px solid #999; background: #ece9d8; position: absolute;}
#tabs {left: 6px; top: 6px; width: 386px; height: 22px;}
#frame {left: 6px; top: 28px; width: 386px; height: 362px; border: 1px solid #999; background: #f9f8f4; position: absolute;}

#Reportsgroup {left: 50px; top: 80px; width: 240px; height: 160px; font-size: 12pt; FONT-WEIGHT: bold}
#Reportsbutton1 {left: 60px; top: 108px; width: 220px;}
#Reportsbutton2 {left: 60px; top: 140px; width: 220px;}

#Importgroup {left: 300px; top: 80px; width: 240px; height: 160px; font-size: 12pt; FONT-WEIGHT: bold}
#Importbutton1 {left: 310px; top: 108px; width: 220px;}
#Importbutton2 {left: 310px; top: 140px; width: 220px;}
#Importbutton3 {left: 310px; top: 172px; width: 220px;}
#Importbutton4 {left: 310px; top: 204px; width: 220px;}

#Systemgroup {left: 550px; top: 80px; width: 240px; height: 260px; font-size: 12pt; FONT-WEIGHT: bold}
#Systembutton1 {left: 560px; top: 108px; width: 220px;}
#Systembutton2 {left: 560px; top: 140px; width: 220px;}
#Systembutton3 {left: 560px; top: 172px; width: 220px;}
#Systembutton4 {left: 560px; top: 204px; width: 220px;}
#Systembutton5 {left: 560px; top: 236px; width: 220px;}
#Systembutton6 {left: 560px; top: 268px; width: 220px;}

#Admingroup {left: 50px; top: 400px; width: 240px; height: 160px; font-size: 12pt; FONT-WEIGHT: bold}
#Adminbutton1 {left: 60px; top: 428px; width: 220px;}
#Adminbutton2 {left: 60px; top: 460px; width: 220px;}
#Adminbutton3 {left: 60px; top: 492px; width: 220px;}
#Adminbutton4 {left: 60px; top: 524px; width: 220px;}

#Backendgroup {left: 300px; top: 400px; width: 240px; height: 160px; font-size: 12pt; FONT-WEIGHT: bold}
#Backendbutton1 {left: 310px; top: 428px; width: 220px;}
#Backendbutton2 {left: 310px; top: 460px; width: 220px;}
#Backendbutton3 {left: 310px; top: 492px; width: 220px;}
#Backendbutton4 {left: 310px; top: 524px; width: 220px;}

</style>
</head>
<BODY class="ContentBodyColor" LINK="blue" VLINK="blue" class="DataBodyColor" onload="javascript:window.parent.HideAllButton(); window.parent.PreviousLocation='Javascript:history.back();history.back()';">

<DIV ID="content" STYLE="position:absolute; left:5%; top:5%; width: 95%; height:90%; z-index:21;">
<p class="MessageHeading">Main System Menu</p>
</DIV>

<script>

var Reportsgroup = new AW.UI.Group;
Reportsgroup.setId("Reportsgroup");
Reportsgroup.setControlText(" Reports ");
document.write(Reportsgroup);

var Reportsbutton1 = new AW.UI.Button;
Reportsbutton1.setId("Reportsbutton1");
Reportsbutton1.setControlText("Show Statistics");
document.write(Reportsbutton1);

Reportsbutton1.onClick = function(){
window.parent.showProgressBar('Generating Show Statistics Report',1);
document.location='showstats.exe';
}

var Reportsbutton2 = new AW.UI.Button;
Reportsbutton2.setId("Reportsbutton2");
Reportsbutton2.setControlText("Booth Map");
document.write(Reportsbutton2);

Reportsbutton2.onClick = function(){
window.parent.showProgressBar('Generating Booth Map Report',1);
document.location='boothstats.exe';
}


var Importgroup = new AW.UI.Group;
Importgroup.setId("Importgroup");
Importgroup.setControlText(" Import / Export ");
document.write(Importgroup);

var Importbutton1 = new AW.UI.Button;
Importbutton1.setId("Importbutton1");
Importbutton1.setControlText("Export Leads to Excel");
document.write(Importbutton1);

Importbutton1.onClick = function(){
document.location='Report_AttendeeExport_Excel.exe';
}

var Importbutton2 = new AW.UI.Button;
Importbutton2.setId("Importbutton2");
Importbutton2.setControlText("Copy Lead data to USB chip");
document.write(Importbutton2);

Importbutton2.onClick = function(){
window.parent.showProgressBar('Send Lead data to IBK via Internet',1);
document.location='copystart.htm';
}

var Importbutton3 = new AW.UI.Button;
Importbutton3.setId("Importbutton3");
Importbutton3.setControlText("Read Lead data from USB chip");
document.write(Importbutton3);

Importbutton3.onClick = function(){
window.parent.showProgressBar('Waiting for Page to load',1);
document.location='readstart.htm';
}


var Systemgroup = new AW.UI.Group;
Systemgroup.setId("Systemgroup");
Systemgroup.setControlText(" Basic System Functions ");
document.write(Systemgroup);

var Systembutton1 = new AW.UI.Button;
Systembutton1.setId("Systembutton1");
Systembutton1.setControlText("Run Raffle");
document.write(Systembutton1);

Systembutton1.onClick = function(){
window.parent.showProgressBar('Waiting for Page to load',1);
document.location='raffle.htm';
}

var Systembutton2 = new AW.UI.Button;
Systembutton2.setId("Systembutton2");
Systembutton2.setControlText("Edit / View Leads");
document.write(Systembutton2);

Systembutton2.onClick = function(){
window.parent.showProgressBar('Loading Leads',1);
document.location='showattendees.exe';
}

var Systembutton3 = new AW.UI.Button;
Systembutton3.setId("Systembutton3");
Systembutton3.setControlText("Edit Tradeshow Rep Names");
document.write(Systembutton3);

Systembutton3.onClick = function(){
window.parent.showProgressBar('Editing Tradeshow Rep Names',1);
document.location='edituserfield.exe?ID=UserField025';
}

var Systembutton4 = new AW.UI.Button;
Systembutton4.setId("Systembutton4");
Systembutton4.setControlText("Edit Giveaways");
document.write(Systembutton4);

Systembutton4.onClick = function(){
window.parent.showProgressBar('Editing Giveaway items',1);
document.location='edituserfield.exe?ID=UserField133';
}

var Systembutton5 = new AW.UI.Button;
Systembutton5.setId("Systembutton5");
Systembutton5.setControlText("View Rep Finder");
document.write(Systembutton5);

Systembutton5.onClick = function(){
window.parent.showRepFinder('RepFinder')
}

var Systembutton6 = new AW.UI.Button;
Systembutton6.setId("Systembutton6");
Systembutton6.setControlText("View Hospital Finder");
document.write(Systembutton6);

Systembutton6.onClick = function(){
window.parent.showHospFinder('HospitalFinder')
}

if (window.parent.Level>=2)
{
var Admingroup = new AW.UI.Group;
Admingroup.setId("Admingroup");
Admingroup.setControlText(" Administration Functions ");
document.write(Admingroup);

var Adminbutton1 = new AW.UI.Button;
Adminbutton1.setId("Adminbutton1");
Adminbutton1.setControlText("Computer Setup");
document.write(Adminbutton1);

Adminbutton1.onClick = function(){
window.parent.showProgressBar('Loading Local Computer Settings',1);
document.location='setup.htm';
}

var Adminbutton2 = new AW.UI.Button;
Adminbutton2.setId("Adminbutton2");
Adminbutton2.setControlText("Server Configuration");
document.write(Adminbutton2);

Adminbutton2.onClick = function(){
window.parent.showProgressBar('Loading Server Settings',1);
document.location='editconfig.exe';
}

var Adminbutton3 = new AW.UI.Button;
Adminbutton3.setId("Adminbutton3");
Adminbutton3.setControlText("Questionnaire Configuration");
document.write(Adminbutton3);

Adminbutton3.onClick = function(){
window.parent.showProgressBar('Loading Questionnaire',1);
document.location='showuserfields.exe';
}

var Adminbutton4 = new AW.UI.Button;
Adminbutton4.setId("Adminbutton4");
Adminbutton4.setControlText("Map Badge Data");
document.write(Adminbutton4);

Adminbutton4.onClick = function(){
window.parent.showProgressBar('Loading BadgeMapper',1);
document.location='BadgeMapper.htm';
}
}

if (window.parent.Level>=3)
{
var Backendgroup = new AW.UI.Group;
Backendgroup.setId("Backendgroup");
Backendgroup.setControlText(" Backend Functions ");
document.write(Backendgroup);

var Backendbutton1 = new AW.UI.Button;
Backendbutton1.setId("Backendbutton1");
Backendbutton1.setControlText("Process Lead Data ");
document.write(Backendbutton1);

Backendbutton1.onClick = function(){
window.parent.showProgressBar('Loading Leads',1);
document.location='showattendees.exe?Level=window.parent.Level';
}

var Backendbutton2 = new AW.UI.Button;
Backendbutton2.setId("Backendbutton2");
Backendbutton2.setControlText("Ad-Hoc Report Module");
document.write(Backendbutton2);

Backendbutton2.onClick = function(){
window.parent.showProgressBar('Loading Ad-Hoc Report Module',1);
document.location='AdHocquery.exe';
}

}


</script>
</BODY>

</HTML>
Richard Noble
August 27,
What does FF's error console say?
Anthony
August 27,
Look at this line -

<DIV ID="content" STYLE="position:absolute; left:5%; top:5%; width: 95%; height:90%; z-index:21;">

This div element is positioned above the controls and blocks mouse events in firefox.
Alex (ActiveWidgets)
August 27,
Thank You Alex...

I tried every thing but moving the </div> tag.
Richard Noble
August 28,

This topic is archived.

See also:


Back to support forum