The W
Views: 97641712
Main | FAQ | Search: Y! / G | Calendar | Color chart | Log in for more!
24.7.14 1259
The W - Internet & Computers - Fierefox and Javascript
This thread has 90 referrals leading to it
Register and log in to post!
Thread rated: 5.94
Pages: 1
(856 newer) Next thread | Previous thread
User
Post (2 total)
Merc
Potato korv








Since: 3.1.02
From: Brisbane, Australia

Since last post: 1198 days
Last activity: 1176 days
#1 Posted on | Instant Rating: 4.06
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








Since: 13.6.03
From: Washington, DC

Since last post: 2341 days
Last activity: 2341 days
#2 Posted on | Instant Rating: 7.82
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.



wrestlingDB: Wrestling news for busy/lazy people.
#wrestlingdb on EFNet (irc) - Chat, or just idle and see news headlines as they happen.
Get Firefox! - Take Back The Web
Thread rated: 5.94
Pages: 1
Thread ahead: A Nightmare. or, Use Your Adaware!
Next thread: Good free mpeg editor?
Previous thread: Another real quick quest
(856 newer) Next thread | Previous thread
http://www.homestarrunner.com/aprilfools_2014_final.swf Seriously, this is like the second coming to some people. Sadly, it will probably be a one off and we'll never see another one.
The W - Internet & Computers - Fierefox and JavascriptRegister and log in to post!

The W™ message board

ZimBoard
©2001-2014 Brothers Zim

This old hunk of junk rendered your page in 0.058 seconds.