National Australia Bank Internet Banking almost works.

RESOLVED FIXED

Status

Tech Evangelism Graveyard
English Other
RESOLVED FIXED
16 years ago
3 years ago

People

(Reporter: Anthony Rumble, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

16 years ago
Almost everything works with their internet banking, except when you view
transactions for an account, it has a window, with two buttons used to scroll
this  "window" (Scroll Up and Scroll Down). 

In Netscape 4.x the scroll buttons work fine, ditto for MSIE, but in Mozilla,
these buttons don't do anything.

Other than that, it seems that everything else works fine.
But, not being able to see all my transactions is a little hindering..
hm.. this sounds better then bug 137248

Comment 2

16 years ago
One way around the problem with the up/down buttons is to use the "export"
button and export it as a CSV that you can read into a spreadsheet (or even open
in a text editor if you dont have a spreadsheet)
*** Bug 159530 has been marked as a duplicate of this bug. ***
confirm win98 1.1b


from bug 159530: you can test on the demonstration account:
1) go to http://www.national.com.au/Internet_Banking/0,,153,00.html
2) click on "Demonstration" on the right (link uses pop-up)
3) use demo login/pass
4) go to cash management
5) select account visa gold
6) click on "scroll down"


Warning: reference to undefined property document.MyDivisionName
Source File: http://www.national.com.au/ib_demo/scripts/ASM_Scroller2.js
Line: 123


http://www.national.com.au/ib_demo/acct_transactions_history2.html

    <script type="text/Javascript" SRC="scripts/ASM_Scroller2.js"></SCRIPT>
...
    <a href="javascript:void(0);" onmouseover="img_act('scroll1');"
       onmouseout="img_inact('scroll1');" onmousedown="scrollIt('', 2);"
       onmouseup="scrollIt('', 0);">
      <img name="scroll1" src="images/scroll_down.gif" alt="Scroll Down"
           border="0" hspace="0">
    </a>


http://www.national.com.au/ib_demo/scripts/ASM_Scroller2.js

-> scrollIt('', 2) 

    function scrollIt(msg, dir) {
      window.status = msg; 
      mutex = dir;
      if (mutex == 1) scrollUp();
      else if (mutex == 2) scrollDown();
    }

-> scrollDown()

    function scrollDown() {
      if (mutex == 2){
        var theObj = getObject(newsId);
        if (yplace > ymin) {
          yplace = yplace - speed;
          if (yplace < ymin) yplace = ymin;
          shiftTo(theObj, xplace, yplace);
          setTimeout("scrollDown()",25);
        }
      }
    }

-> getObject(newsID)

newsId is set earlier:
    var newsId = "MyDivisionName";

-> getObject("MyDivisionName")

    function getObject(obj) {
        var theObj = eval("document." + range + obj + cap);
        return theObj;
    }

range and cap are set earlier in the init() function called from <body> onload:
    var w3c = (document.getElementById) ? 1:0
    var ns4 = (document.layers) ? 1:0
    var ie4 = (document.all) ? 1:0
...
    var range = "";
    var cap = "";
...
    function init() {
      var browser;
      if (navigator.appName.indexOf("Netscape") != -1)
         browser = "0";
      else if (navigator.appName.indexOf("Explorer") != -1)
         browser = "1";
      else
         browser = "2";
      if ((w3c) && (browser == 2))
      {
...
      }
      else if ((ns4) && (browser == 0)) 
      {
...
      }
      else if ((ie4) && (browser == 1))
      {
...
      }
    }

-> nothing at all for the (w3c && browser==0) case; range and cap should have
   been set here

-> getObject("MyDivisionName")
  -> eval("document." + range + obj + cap)
    -> eval("document.MyDivisionName")
      -> barf

-> script has nothing to move around
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Reporter)

Comment 5

16 years ago
The National have changed their Internet banking. It now doesn't use the silly
Javascript scrolly thing anymore, and thus, it works fine now.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED

Comment 6

15 years ago
Mass reassigning English-Other bugs to general default assignees.
Assignee: momoi → english-other
QA Contact: jeesun → english-other
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.