java java java - UGGH

  • Thread starter Thread starter BG
  • Start date Start date
B

BG

I remember when Java was touted as this cross platform miracle language.
I've worked on mainframes most of my adult life - and things like java never
existed - and we were fine without it.

Languages like assembler, Cobol, PL/1 - those were good languages.

Here's my problem.

Go to www.fqvictims.org - and click on the "more victim stories" link to
the left. If you are in internet explorer - two "pop down" choices should
appear. Ok fine, JavaScript works here.

Now, open up the same page in mozilla firefox or opera - and none of it
works. Opening up the java console reveals what looks like classes or
subroutines are missing!

Cross platform independent - damned it's not even CROSS BROWSER independent.

Can someone shed some light as to why the code only works in internet
explorer?

I never ran into this kind of thing on mainframes - things just worked....

Thanks,

Bob
 
Bob,
A couple things here. Java and JavaScript have nothing at all to do
with eachother. JavaScript began it's life as something called LiveScript
over at Netscape as a new way to add scripting to Navigator. LiveScript
eventually became JavaScript. Nothing in the language changed to make it
into Java, it was just a clever marketting concept since Java was getting so
much buzz and Sun and Netscape had a decent and happy relationship.

Now, the real part, what you have here will not work in anything
other than Internet Explorer because it isn't JavaScript at all. The script
that shows and hides the items through the pop function is VBScript.
VBScript is IE only. You'll need to find a similar JavaScript function to
handle this (should be a few good ones at javascript.internet.com and
www.dynamicdrive.com)

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
not working in IE 6

The "more victims stories" is not even a link, and I get an "error on page" in
the status bar Line 23, Char 1.....
 
BTW, an abacus still works quite well for computing. And it's a lot simpler
than JavaScript.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
 
Back
Top