The W
Views: 99049308
Main | FAQ | Search: Y! / G | Calendar | Color chart | Log in for more!
19.9.14 1902
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
(857 newer) Next thread | Previous thread
User
Post (2 total)
Merc
Potato korv








Since: 3.1.02
From: Brisbane, Australia

Since last post: 1255 days
Last activity: 1233 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: 2399 days
Last activity: 2399 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
(857 newer) Next thread | Previous thread
We have been using Musicmatch to play entrance music for the wrestlers, but it's a bit ungainly and doesn't allow for mouse-click fadeout. Any suggestions for a better program, maybe one with on-screen hotkeys?
- Eddie Famous, Music playback software? (2007)
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.06 seconds.