Closed Bug 87435 Opened 23 years ago Closed 20 years ago

hsbc.com.br - Bank rejects - broken DHTML

Categories

(Tech Evangelism Graveyard :: Portuguese, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla, Unassigned)

References

()

Details

(Keywords: ecommerce, Whiteboard: deny)

Primary Browser: ntsc6 Operating System: WinNT Language: English Issue Summary: Netscape 6 do not support facilities of some web pages Component: Navigator Doing What: Browsing web pages Severity: SomethingDidNotWorkRight Can Reproduce: Always Try this URL: http://www.hsbc.com.br Issue Detail: When trying to have access to my bank account, the HSBC Home Page shows the following message (in portughese): "Dear Client You're using Netscape 6 browser. We have detected that this version do not support some facilities from our web site... ... for a better visualization, we suggest you to use Netscape 4.x or Internet Explorer 4.x and 5.x browsers" Some info about my account are do not correctly presented.
that's webpage related. Use konqueror and you will get the same. But in konqueror or Opera, you can send the http header showing the browser you want , to let you in This happens on ea.com, dont know if it has been fixed
giving to intl
Assignee: bclary → momoi
QA Contact: zach → nitot
Summary: Bank rejects Netscape 6.1 → hsbc.com.br - Bank rejects Netscape 6.1
The error message can be found here: http://www.hsbc.com.br/indisponibilidade/indisp_netscape6.htm There are some porblems on this site with submenus not showing on NS6.x. For now until other factors are taken into account, setting the priority to P3.
Priority: -- → P3
Component: Evangelism → Asian
Product: Browser → Tech Evangelism
Version: other → unspecified
Component: Asian → The Americas
http://www.hsbc.com.br/english/ while the main site has fixed their dhtml, their english version still ses the old version. Need to contact them to upgrade that section
Mass re-assigning .br bugs to marcio.
Assignee: momoi → mgalli
at least the portuguese version does it now.
Summary: hsbc.com.br - Bank rejects Netscape 6.1 → Bank rejects - broken DHTML
The english version works fine now.
Problem is with University of British Columbia site - they web people say that Mozilla doesn't support DHTML - this is a bit beyond me - but thought it might be helpful or of interest - the site is a tuition payment area, passworded so cannot provide page, but the javascript seems to be this: var oldDom = null; 2 var isID = 0; 3 var isDHTML = 0; 4 var isAll = 0; 5 var isLayers = 0; 6 7 if (document.getElementById) { 8 isID = 1; isDHTML = 1; 9 } else { 10 if (document.all) { 11 isAll = 1; isDHTML = 1; 12 } else { 13 browserVersion = parseInt(navigator.appVersion); 14 if ((navigator.appName.indexOf('Netscape') != -1) && (browserVersion == 4)) { 15 isLayers= 1; isDHTML = 1; 16 } 17 } 18 } 19 20 21 /* 22 Required field(s) validation- By NavSurf 23 Visit NavSurf.com at http://navsurf.com 24 Visit http://www.dynamicdrive.com for this script 25 */ 26 27 function paymentFormValidation(formobj){ 28 29 //1) Enter name of mandatory fields - 30 var fieldsRequired = Array("cardtype","cardnumber","expirymonth","expiryyear", "cardowner"); 31 //2) Enter field description to appear in the dialog box - 32 var fieldDescription = Array("Card Type", "Card Number","Expiry Month", "Expiry Year", "Card Owner"); 33 //3) Enter dialog message - 34 var alertMsg = "Please complete the following fields:\n"; 35 - 36 var l_Msg = alertMsg.length; 37 - 38 for (var i = 0; i < fieldsRequired.length; i++){ - 39 var obj = formobj.elements[fieldsRequired[i]]; - 40 if (obj){ - 41 switch(obj.type){ 42 case "select-one": - 43 if (obj.selectedIndex == -1 || obj.options[obj.selectedIndex].text == "" || obj.options[obj.selectedIndex].text == "Month" || obj.options[obj.selectedIndex].text == "Year"){ - 44 alertMsg += " - " + fieldDescription[i] + "\n"; 45 } - 46 break; 47 case "select-multiple": - 48 if (obj.selectedIndex == -1){ - 49 alertMsg += " - " + fieldDescription[i] + "\n"; 50 } - 51 break; 52 case "text": 53 case "textarea": - 54 if (obj.value == "" || obj.value == null){ - 55 alertMsg += " - " + fieldDescription[i] + "\n"; 56 } - 57 break; 58 default: - 59 if (obj.value == "" || obj.value == null){ - 60 alertMsg += " - " + fieldDescription[i] + "\n"; 61 } 62 } - 63 } 64 } 65 - 66 if (alertMsg.length == l_Msg){ - 67 return true; 68 }else{ - 69 alert(alertMsg); - 70 return false; 71 } 72 } 73 74 function clickParents (obj) 75 { - 76 var thisID = obj.id; - 77 var items = document.itemsForm.elements[obj.name]; - 78 var parents = document.itemsForm.elements.parent; 79 - 80 var thisParent = ""; - 81 for (var i = 0; i < parents.length; i++){ - 82 if (parents[i].id == thisID) { - 83 thisParent = parents[i].value; - 84 break; - 85 } 86 } 87 - 88 for (var j = 0; j < items.length; j++){ - 89 if (items[j].id == thisParent) { - 90 document.itemsForm.referenceid[j].checked=true; - 91 var found = true; - 92 break; - 93 } 94 } - 95 if (found) { - 96 clickParents(document.itemsForm.referenceid[j]); 97 } 98 99 100 } 101 102 function selectAllItems(field) 103 { - 104 var length = field.length; - 105 if (!length) - 106 field.checked = true; 107 else { - 108 for (i = 0; i < field.length; i++) { - 109 field[i].checked = true ; 110 } 111 } - 112 document.itemsForm.checkall.checked=false; 113 } 114 115 function deselectAllItems(field) 116 { - 117 var length = field.length; - 118 if (!length) - 119 field.checked = false; 120 else { - 121 for (i = 0; i < field.length; i++) { - 122 field[i].checked = false ; 123 } 124 } - 125 document.itemsForm.uncheckall.checked=false; 126 } 127 128 function closing() { - 129 parent.close(); 130 } 131 132 function closeandexit() { - 133 location.replace('/cbm/function/exit'); - 134 parent.close(); 135 } 136 137 138 139 // Creates a fixed size pop-up window without status, scroll/toolbars 140 function openBareWindow(id, url, width, height) { - 141 window.open(url,id, "status=no,resizable=no,scrollbars=no,toolbar=no,WIDTH="+width+",HEIGHT="+height) 142 } 143 144 // Creates a fixed size full screen scrollable window without status, scroll/toolbars 145 function openBareFullscreenWindow(id, url) { - 146 window.open(url, id, "status=no,resizable=yes,scrollbars=yes,toolbar=no,HEIGHT="+screen.height+",WIDTH="+screen.width) 147 } 148 149 // Creates a fixed size pop-up window without status, toolbars but with scroll. 150 function openBareScrollingWindow(id, url, width, height) { - 151 window.open(url,id, "status=no,resizable=yes,scrollbars=yes,toolbar=no,WIDTH="+width+",HEIGHT="+height) 152 } 153 154 155 156 function findDOM(objectID1, objectID2, withStyle) { 157 - 158 if (withStyle == 1) { - 159 if (isID) { - 160 return (document.getElementById(objectID2).style) ; 161 } else { - 162 if (isAll) { - 163 return (document.all[objectID2].style); 164 } else { - 165 if (isLayers) { - 166 if (objectID1) { - 167 return (document.layers[objectID1].layers[objectID2]); 168 } else { - 169 return (document.layers[objectID2]); 170 } 171 } - 172 }; 173 } 174 } 175 else { - 176 if (isID) { - 177 return (document.getElementById(objectID2)) ; 178 } 179 else { - 180 if (isAll) { - 181 return (document.all[objectID2]); 182 } 183 else { - 184 if (isLayers) { - 185 if (objectID1) { - 186 return (document.layers[objectID1].layers[objectID2]); 187 } 188 else { - 189 return (document.layers[objectID2]); 190 } 191 } - 192 }; 193 } 194 195 196 } 197 198 } 199 function swapForm(objectID) { - 200 dom = findDOM('formStack', objectID, 1); - 201 if (oldDom) oldDom.visibility = 'hidden'; - 202 dom.visibility = 'visible'; - 203 oldDom = dom; - 204 oldObjectID = objectID; 205 } 206 207 function swapCCForm() { - 208 swapForm('creditcard'); 209 } 210 211 function swapEFTForm() { - 212 swapForm('eft'); 213 } 214 215 function calculate() { - 216 var amounts = document.itemsForm.itemamountentered; - 217 var count = amounts.length; - 218 var tot = 0; - 219 if (!count) { - 220 tot = amounts.value*1; 221 } 222 else { - 223 for (var i = 0; i <= count-1; i++) { - 224 var M = amounts[i].value*1; - 225 tot = tot+M; 226 } 227 } - 228 if (isNaN(tot)) { - 229 alert("Amount entered is invalid"); 230 } 231 else { - 232 document.itemsForm.totalamountentered.value = format(tot); 233 } 234 } 235 236 function format(x) { - 237 var y = Math.round(x*100)/100; - 238 if (isLayers) { - 239 return y; 240 } 241 else { - 242 return y.toFixed(2); 243 } 244 } 245
hm, interesting... 7 if (document.getElementById) { 8 isID = 1; isDHTML = 1; there both vars are set to 1 for Mozilla (as for every modern browser). As I can see, Mozilla can handle that script - it only needs to be allowed to!
Whiteboard: deny
tech evang june 2003 reorg
Assignee: mgalli → portuguese
Component: The Americas → Portuguese
QA Contact: nitot → portuguese
According to comments #6 and #7 this seems to be solved. Comment #8 is offtopic. Anyone with a HSBC account can confirm and close this bug please?
Keywords: ecommerce
Summary: Bank rejects - broken DHTML → hsbc.com.br - Bank rejects - broken DHTML
It seeems fixed according to comments, marking as such. Reopen if you have new data.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.