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

Posts: 234/680
EXP: 1207799
For next: 26078

Since: 3.1.02
From: Brisbane, Australia

Since last post: 1252 days
Last activity: 1230 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();">
Savings
/a

(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!
FriedEgg
Polska kielbasa
Level: 26

Posts: 83/125
EXP: 89628
For next: 12649

Since: 13.6.03
From: Washington, DC

Since last post: 2396 days
Last activity: 2396 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.
ALL ORIGINAL POSTS IN THIS THREAD ARE NOW AVAILABLE
Thread ahead: A Nightmare. or, Use Your Adaware!
Next thread: Good free mpeg editor?
Previous thread: Another real quick quest
(489 newer) Next thread | Previous thread
The 7 - Internet & Computers - Fierefox and JavascriptRegister and log in to post!

The W™ message board - 7 year recycle

ZimBoard
©2001-2014 Brothers Zim
This old hunk of junk rendered your page in 0.167 seconds.