Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

cross browser problems


This topic is 7851 days old. Please don't post here. Open a new topic instead.

Recommended Posts

My site (multiple pages, javascript) is working okay when opening with explorer 5 under OS 9.2. Also Windows professional with explorer 6 no problems at all.

Under OS X, explorer 5.2 the OK and CANCEL button do not work ( i have included the code). When pressing nothing happens. javascript is enabled because i use javascript to get to this page.

Can anyone explain me why this page (actually the buttons) do not work under explorer 5.2, OS X.

This is the code

Thanks Jitse

<HTML>

<HEAD>

<TITLE>editconfig</TITLE>

</HEAD>

<BODY BGCOLOR="#FFFF33" onload="initpage()">

<SCRIPT LANGUAGE=javascript>

var i =0

function initpage(){

if ([FMP-CurrentToken:1]==1)

window.document.location.href="http://10.0.1.4/FMPro?-DB=webexpert&-lay=L2&-Format=M1.htm&-RecID=[FMP-CurrentToken:0]&-Edit"

}

function OKselect(){

var str1

var refstr

var v1

var v2

var v3

var v4

var v5

str1="http://10.0.1.4/FMPro?-DB=configuraties&-lay=L1&-Format=editconfig.htm&-RecID=[fmp-currentrecid]"

v1=window.document.myform.omschrijving.value

v2=window.document.myform.Q.value

v3=window.document.myform.V.value

refstr=str1+"&omschrijving="+v1+"&Q="+v2+"&V="+v3+"&-Token.0=[FMP-CurrentToken:0]&-Token.1=1&-edit"

window.document.location.href=refstr

}

function CANCELselect(){

window.document.location.href="http://10.0.1.4/FMPro?-DB=webexpert&-lay=L2&-Format=M1.htm&-RecID=[FMP-CurrentToken:0]&-Edit"

}

</SCRIPT>

[FMP-If: CurrentToken:1.eq.0]

Wijzig locatie : [FMP-FIELD: locatie]

<FORM name="myform">

<TABLE BORDER=1>

<TR>

<TD WIDTH=231>

</TD>

<TD><Textarea rows=5 cols=60 NAME=omschrijving>[FMP-Field: omschrijving]</Textarea>

</TD>

</TR>

<TR>

<TD WIDTH=241>

<P><FONT SIZE="-1">Afvalwaterdebiet zuiveringsinstallatie

&#91;m^3/dag&#93</FONT></P>

</TD>

<TD WIDTH=227>

<P><INPUT TYPE=text NAME=Q VALUE="[FMP-Field:Q]" SIZE=30></P>

</TD>

</TR>

<TR>

<TD WIDTH=241>

<P><FONT SIZE="-1">Volume van AT &#91;m^3&#93</FONT></P>

</TD>

<TD WIDTH=227>

<P><INPUT TYPE=text NAME=V VALUE="[FMP-Field: V]" SIZE=30></P>

</TD>

</TR>

</TABLE>

</FORM>

<a href="#" onclick="OKselect()"><image src="OK.gif" height="30" border="0"></a>

<a href="#" onclick="CANCELselect()"><image src="CANCEL.gif" height="30" border="0"></a>

[/FMP-If]

</BODY>

</HTML>

Link to comment
Share on other sites

I have just been doing some tests with:

location = "http://.....

document.location = "http://....

window.location = "http://....

All with and without .href and none seem to work from a Function within IE 5.2 on OS X. However, it works OK in the Body tag with "onload".

My guess is that it is a Microsoft bug frown.gif

Good Luck.

Garry

p.s. All of the combinations worked in Netscape Navigator.

Link to comment
Share on other sites

Thanks gary for testing,

(*no doubt microsof will explain this is a security patch that they bring out every day *)

I have also tested the page on Windows XP explorer 6, the same problem with the buttons.

Could you please explain your remark about the upload?

Is there a work around for this problem.

Any suggestions are welcome.

Jitse

Link to comment
Share on other sites

This topic is 7851 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.