> Also, note that when you have the latest IEView extension installed, the > Tools menu in FF has an option to always open a page/URL in IE. So if > you have a site that insists on using IE-proprietary extensions, you can > set that option and IEView will always intercept that URL and invoke IE. > > rolds wrote: >> Can't you use firefox with the IE browser extension, I use firefox for >> everything now that I have the IE Tab installed. If I hit a site that >> firefox can not display right, I just click the firefox icon in the >> status bar and it changes to an IE icon and the page then loads with IE.
Speaking of FireFox, we're about to launch a new Build-To-Order site for servers, storage, PC's and Laptops.
We've tested the FireFox browser and the site looks and seems to work okay with one MAJOR exception. When you navigate to a specific product, say a rackmount server, we have drop downs for the different configurable items, i.e. CPU, memory, etc., as you select these items we have javascript that re-calculates the price.
Initially the page is dynamically built by a West-Wind/VFP COM application, which loads a default configuration and its price. In the FireFox browser the initial price shows up as NaN.00 and stays that way even as you select different configurable items.
The javascript is below, if anybody has an idea what it takes to make this work I'd appreciate knowing.
Jim Eddins
<SCRIPT Language="JavaScript"> calculateSubtotal();
function calculateSubtotal() { var Base_price = document.frmBTO.baseprice.value; var price = "" + parseFloat(Base_price); var subtotal = 1 * price;
for (i = 0 ; i < document.frmBTO.elements.length ; i++) { if (document.frmBTO.elements[i].name.substring(0,8) == "ctrlBTO_") { Option_index = document.frmBTO.elements[i].selectedIndex; Option_price = document.frmBTO.elements[i].options[Option_index].price; price = "" + parseFloat(Option_price); subtotal += 1 * price; // subtotal += quantity * price; } } // convert subtotal to a string var subtotaltext = subtotal + ""; var decimalstart = subtotaltext.indexOf("."); if (decimalstart > 0) { subtotaltext = subtotaltext.substring(0,decimalstart+3); } if (decimalstart < 1) { subtotaltext = subtotaltext + ".00"; } if (subtotaltext.substring(decimalstart+1).length < 2) { subtotaltext = subtotaltext + "0"; } document.frmBTO.subtotal.value = subtotaltext; //document.getElementById("lblPrice").innerText = subtotaltext; //alert(document.getElementById("lblPrice").innerText); } </SCRIPT>
©2006 Profox |