The W
Views: 130221046
Main | FAQ | Search: Y! / G | Color chart | Log in for more!
19.1.11 0941
The 7 - Internet & Computers - Fierefox and Javascript
This thread has 1 referral leading to it
Register and log in to post!
(741 newer) Next thread | Previous thread
Post (2 total)
Potato korv
Level: 56

Posts: 234/680
EXP: 1357441
For next: 40744

Since: 3.1.02
From: Brisbane, Australia

Since last post: 2473 days
Last activity: 2451 days
#1 Posted on 3.10.04 0647.40
Reposted on: 3.10.11 0648.25
Born out of the adware thread:
I was checking out my credit union site again today, a view source in IE shows it has this code:

A HREF="javascript:ViewTransactions('S0')" onMouseOver="mutex('','Savings0M',80,'4');mct();" onMouseOut="mst();">

(Oops, removed some brackets so it doesn't go boom, hopefully)

Now, in IE it does exactly that, displays a box showing the last 10 transactions for that account. There is a Savings0M further down the page with the info in it.

The exact same code is there when I view in Firefox (version 0.8) but nothing happens on mouseover. The "javascript: ViewTransactions('S0')" comes up in the status bar, but no box. Everything seems to be there, all my javascript settings seem to be set to allow it, but it doesn't work.

Any ideas if this is doable with Firefox, if the code is correct or if I need to download an extension to make it work?

(edited by Merc on 3.10.04 2149)
Promote this thread!
Polska kielbasa
Level: 26

Posts: 83/125
EXP: 102067
For next: 210

Since: 13.6.03
From: Washington, DC

Since last post: 3616 days
Last activity: 3616 days
#2 Posted on 3.10.04 1637.11
Reposted on: 3.10.11 1637.39
It's calling another javascript function somewhere in the page called "ViewTransactions". That's probably where the problem is. Odds are they coded it in a non-standard yet works in IE way, resulting it not working in Firefox. Sometimes they even "break" javascript on purpose for non-IE browsers because they think they're doing the right thing. (They test for IE5/6, and if it doesn't pass, they don't let the javascript happen.)

There isn't much you can do yourself to fix it, other than notify them that it doesn't work outside of IE (in a friendly "this will make your customers happier" way) or report it to tech evangelism and let them try to sort out exactly what's wrong and contact them for you.
Thread ahead: A Nightmare. or, Use Your Adaware!
Next thread: Good free mpeg editor?
Previous thread: Another real quick quest
(741 newer) Next thread | Previous thread
The 7 - Internet & Computers - Fierefox and JavascriptRegister and log in to post!

The W™ message board - 7 year recycle

©2001-2015 Brothers Zim
This old hunk of junk rendered your page in 0.199 seconds.