[plug] Konqueror problems with a bank

Simon Scott simon.scott at flexiplan.com
Wed Jul 25 14:47:02 WST 2001


	<sarcasm>
	What I like is when they do refer to the same objects (eg
top.mainf.location.href where mainf is a frame) but for some reason if you
use them in an onclick, netscape refuses to look at them until you also
supply a redundant HREF and TARGET in the tag. Thats really brilliant.
	</sarcasm>

	As you say, the biggest pain (and ugly code) is when you identify
the browser and then have different code chunks for each.






	From:	Kim Covil <kimc at ned.dem.csiro.au> on 25/07/2001 02:40 PM
	Please respond to plug at plug.linux.org.au@SMTP at Exchange
	To:	plug at plug.linux.org.au@SMTP at Exchange
	cc:	 

	Subject:	Re: [plug] Konqueror problems with a bank

	> 
	> On Wednesday 25 July 2001 02:59, Colin Muller wrote:
	> 
	> > This may or may not be the problem which is affecting you, but
ANZ
	> > uses all sort of not-very-cross-browser-compatible JavaScript in
an
	> > attempt to achieve their vision (and I use the word loosely) of
	> I don't think so in this case.  All tests where on the same
machine with the 
	> same OS running and Java installed.  NS would have been using its
own Java I 
	> guess, but Opera would have been using the same as the others that
failed.

	Java != JavaScript...

	the main issue with all JavaScript incompatabilities between
browsers...
	Netscape, IE, Konqueror included is not the language as such as that
is
	reasonably well agreed upon... they are all ECMA Script... the
problem
	comes with the document object models they all use being
incompatible...

	ie they all use the same syntax but they are operating on different
	browser objects... so the fact that Netscape JavaScript can refer to
	document.window.whatever does not imply that IE will have the same
	object structure... or even if it does it may be read only rather
than
	read-write...

	So most of trying to make JavaScript compatible with all the
browsers is
	trying to find which objects in the different browsers have the
	functionality you are trying to use and then adding in wrapper code
	with big switch statements to try and pick the right object to
call...

	I am hoping Konqueror will include a compatiblity layer at some
point
	that will give you the option of choosing which Object Model to
present
	to the webpage/script selectable by domain in the same way you can
	currently turn javascript on and off based on domain.

	Maybe one day...

	Cheers

	Kim

	-- 
	
====================================================================== 
	Kim Covil - CSIRO Exploration & Mining  E-mail:
kim.covil at dem.csiro.au
	            PO Box 437, Nedlands,       Tel: +61 8 9284 8425
,-_!\
	            Western Australia  6009     Fax: +61 8 9389 1906   /
\
	
*_,-._/
	===================================================================
v 
	   Please direct all personal e-mail to kimbotha at covil.com.au



**********************************************************************
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they   
are addressed. If you have received this email in error please notify 
the system manager.

This footnote also confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



More information about the plug mailing list