You could just split the input value at the ".", and take the first part of the returned array as the dollar amount
example of use given:
<script language=javascript>
var amount="5.00"
splits=amount.split(".")
var dollars=splits[0]
document.write(dollars)...
I think that your problem is that NN6 recognises document.all, not document.layers, but the IE part of the program uses posLeft and posTop - which NN doesn't accept (I think).
You could change the .posLeft=xPos
to .left=xPos+"px"
which is a more generic form
Ian
I've noticed that Netscape doesn't appear to like some of the IE display modes - if your summary is in a table cell, try display="table-cell" instead (IE 5 doesn't support this though!)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.