[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.2

javascript wont work in firefox

Asked by CaptainGiblets in JavaScript

Tags: firefox, javascript, work

I have a site, that works fine in IE explorer, but in firefox the javascript wont work.  i have this html code

////////////////////////////////////////////////////////Code///////////////////////////////////////////////////////


<html>

<head>
<meta http-equiv="Content-Language" content="en-gb">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>handepay merchant services - Template</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</style>

<script LANGUAGE="JavaScript">
  function handleMouseOverOut() {
    var eSrc = window.event.srcElement;
  }

  function doOutline() {
    var srcId, srcElement, targetElement;
    srcElement = window.event.srcElement;
    if (srcElement.className.toUpperCase() == "FAQ") {
      srcID = srcElement.id.substr(0, srcElement.id.length-1);
      targetElement = document.all(srcID + "s");
      if (targetElement.style.display == "none")
        targetElement.style.display = "";
      else
        targetElement.style.display = "none";
    }
  }

  document.onmouseover = handleMouseOverOut;
  document.onmouseout = handleMouseOverOut;
  document.onclick = doOutline;
</script>


<script  language="javascript">
function toggle_tree(num_arg)
{
     var myDiv = document.getElementById("expand_div_"+num_arg);
     if (myDiv.style.display == "")
     {
          eval("document.expand_ico_"+num_arg+".src = 'images/minus.gif';");
          myDiv.style.display="block"
     }
     else
     {
          eval("document.expand_ico_"+num_arg+".src = 'images/plus.gif';");
          myDiv.style.display=""
     }
}
</script>
</head>

<body bgcolor="#0078A3">
<div><table width="100%">

       <tr><td align="center">
            <div align="center">
                  <table width="736" cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF">
                  <tr>
      <td width="736" align="center" id="logo_td">
      <table align="center" cellpadding="0" cellspacing="0" border="0" id="toptable" height="100%">
            <img border="0" src="handepaylogo.png" width="700" height="121" align="center"></table></td></tr>
<tr class="white">
<td width="736"><table cellpadding="0" cellspacing="0" border="0" width="726">
<tr>
      <td id="menu_block" width="143" bgcolor="#ffffff" valign="top">
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj4" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="143" height="200">
      <param name="movie" value="swf/menu.swf">
      <param name="quality" value="High">
      <embed src="swf/menu.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj4" width="143" height="200"></object>
      </td>
<td id="faq" width="284" rowspan="3" valign="top">

<p align="left" style="margin-top: 5px; margin-bottom: 5px">


                               
                           
      <font color="#0078A3" face="Tahoma" style="font-size: 9pt">
<b>FREQUENTLY ASKED QUESTIONS<br> </b> </font>
            <font color="#858585" face="Tahoma" style="font-size: 9pt; font-weight: 400">To make it easy for you, we've put together
the most frequently asked questions. Simply click on the questions to see the
answers</font></span></p>
<p align="left" style="margin-top: 5px; margin-bottom: 5px">


                               
                           
</p>
<p align="left" style="margin-top: 5px; margin-bottom: 5px">


                               
                           
      <b>
      <A CLASS=FAQ id=FAQ00t>Do I have to change my existing
bank?
</A><BR>
  </p>
  <div id=FAQ00s style=display:None class=FAQB>
    <P align="left">No, your transactions can be credited to any bank of your choice.</P>
      </div>
<p align="left">
      
<A CLASS=FAQ id=FAQ01t>How long will it take to process my
 application?</A><BR>
  </p>
  <div id=FAQ01s style=display:None class=FAQB>
    <P align="left">In most cases 2-3 weeks after we have received your signed application and supporting documentation.</P>
  </div>
  <p align="left">
      
<A CLASS=FAQ id=FAQ02t>How quickly will my customer’s
 money get to my account?</A><BR>
  </p>
  <div id=FAQ02s style=display:None class=FAQB>
    <P align="left">You should receive the funds in 2-3 working days.</P>
  </div>
  <p align="left">
      
<A CLASS=FAQ id=FAQ03t>I have a terminal that is not chip &
 PIN capable. Do I need to do anything?</A><BR>
  </p>
  <div id=FAQ03s style=display:None class=FAQB>
    <P align="left">As you don’t have PIN we do recommend that you upgrade your terminal as soon as possible to remain protected from the liability shift.</P>
  </div>
  <p align="left">

<p align="left">
      
<A CLASS=FAQ id=FAQ07t>What does the Liability Shift mean?</A><BR>
  </p>
  <div id=FAQ07s style=display:None class=FAQB>
    <P align="left">The Liability Shift from the 1st January 2005,
     means that the party (either the Card Issuer or the retailer)
      that does not have chip and PIN capability will become liable
      for fraud arising from lost or stolen cards and where the card
      has been counterfeited. Chip and PIN is designed to greatly reduce
      these types of fraud.</P>
  </div>

<p align="left">
<A CLASS=FAQ id=FAQ04t>Are there any exceptions to PIN
  Transactions?</A><BR>
  </p>
  <div id=FAQ04s style=display:None class=FAQB>
    <P align="left">There will be instances where cardholders do not have
    a chip and PIN card, and where a signature will still be accepted. Some
    disabled customers, for example, may still be using chip and signature
    cards. Customers from countries that have yet to upgrade to chip and
    PIN may not have a chip and PIN enabled card. Any customer using a non
     chip and PIN card will automatically be prompted by the terminal to
     give their signature. Remember, as always, you need to undertake the
      usual security checks so that you are protected from any liability for fraud. </P>
  </div>
  <p align="left">
      
<A CLASS=FAQ id=FAQ05t>What should I do if a customer,
 does not seem to know their PIN?</A><BR>
  </p>
  <div id=FAQ05s style=display:None class=FAQB>
    <P align="left">If their PIN is locked, suggest that they contact
     their card company. If a customer has difficulty remembering their
      PIN, advise them to change it to a more memorable number at a cash machine.</P>
  </div>
  <p align="left">
      
<A CLASS=FAQ id=FAQ06t>When will every cardholder in the UK have all their chip and PIN cards?
</A><BR>
  </p>
  <div id=FAQ06s style=display:None class=FAQB>
    <P align="left">Nearly everyone in the UK now has at least one chip and
     PIN card. The exact date is not known as Issuers are upgrading cards at different speeds.</P>
  </div>

 <P align="left">                                
<A CLASS=FAQ id=FAQ08t>How will I know that the card is a PIN card?
</A><BR>
  </p>
  <div id=FAQ08s style=display:None class=FAQB>
    <P align="left" style="margin-top: 3px; margin-bottom: 3px">When the cardholder hands the card to you, you will
     not know whether the card has a PIN. The terminal will check this
      when the card is inserted into the chip reader and will prompt you
       to seek the correct cardholder verification method.</P>
  </div>

<P align="left">
<A CLASS=FAQ id=FAQ09t>What does Address Verification Service (AVS) mean?
</A><BR>
  </p>
  <div id=FAQ09s style=display:None class=FAQB>
    <P align="left">The Address Verification Service
     gives you extra security when accepting Card Not
      Present (CNP) transactions. The AVS allows you
       to check the numerical part of a customer's post
        code and statement address with their card issuing
         bank. All handepay terminals are equipped with these security measures.</P>
  </div></p>
    <p align="left">
      
<A CLASS=FAQ id=FAQ18t>I am undertaking a Cardholder Not Present transaction and my terminal is prompting me for a Security Code – what does this mean?</A><BR>
  </p>
  <div id=FAQ18s style=display:None class=FAQB>
    <P align="left">This is a unique 3 digit number printed on or just beneath the signature strip on the back of the card. It is shown after the last 4 digits of the card number.
</P>
  </div>                            
</td>
<td width="11" rowspan="4" valign="top">


                               
                           

</td>
<td width="262" align="left" height="157" valign="top" rowspan="2">
<table border="0" width="262" id="table1">
      <tr>
            <td width="252" colspan="2" valign="top">
            <p align="center">


                               
                           
                           
  <br><img border="0" src="images/faq3.JPG" width="187" height="74"></td>
      </tr>
      <tr>
            <td width="29" valign="top">&nbsp;</td>
            <td width="217" valign="top">
            <p style="margin-top: 0; margin-bottom: 0"><font size="2" face="Tahoma"><font color="#0078A3">
            If your question is not in the list,<br></font><font color="#858585">
            please do not hesitate to contact <br>us. Just call 0871 871 3888.</font></font></p>
            <p style="margin-top: 0; margin-bottom: 0">&nbsp;</td>
      </tr>
      </table>

      <p>
      <A CLASS=FAQ id=FAQ10t>I have a chip reader on my terminal and my PIN pad, which one should I use?</A><BR>
  </p>
  <div id=FAQ10s style=display:None class=FAQB>
    <P align="left">You should use the chip reader on the PIN pad.</P>
  </div>
  <p align="left">
      
<A CLASS=FAQ id=FAQ11t>Who inserts the card into the chip reader?</A><BR>
  </p>
  <div id=FAQ11s style=display:None class=FAQB>
    <P align="left">You should insert the card into the chip reader for the time being as you still need to complete the card security checks detailed in your Merchant Operating Instructions, section 2, Card Recognition</P>
  </div>
  <p align="left">
      
<A CLASS=FAQ id=FAQ12t>What should I do if the chip on the card is not working?
</A><BR>
  </p>
  <div id=FAQ12s style=display:None class=FAQB>
    <P align="left">If the terminal detects that the chip is not working, it will prompt you to use the magnetic stripe to read the card details.</P>
  </div>
  <p align="left">
      
<A CLASS=FAQ id=FAQ13t>Will a PIN transaction take longer?
</A><BR>
  </p>
  <div id=FAQ13s style=display:None class=FAQB>
    <P align="left">No, it should take slightly less time overall, than the cardholder signing a receipt and the signature being verified.</P>
  </div>
  <p align="left">
      
<A CLASS=FAQ id=FAQ14t>How do I refund a PIN transaction?</A><BR>
  </p>
  <div id=FAQ14s style=display:None class=FAQB>
    <P align="left">Follow current procedures but as with sales, the cardholder will be prompted to enter their PIN.</P>
  </div>
  <p align="left">
      
<A CLASS=FAQ id=FAQ15t>Will PIN mean I get less referrals?</A><BR>
  </p>
  <div id=FAQ15s style=display:None class=FAQB>
    <P align="left">Not necessarily, the referral process will remain unchanged. If your terminal requests a referral then you must still ring the Authorisation Centre for an authorisation code. Please note: an authorisation code is not the same as a PIN.</P>
  </div>
  <p align="left">
      
<A CLASS=FAQ id=FAQ16t>I wish to take a Cardholder Not Present (CNP) transaction, what do I do regarding chip & PIN?
</A><BR>
  </p>
  <div id=FAQ16s style=display:None class=FAQB>
    <P align="left">The chip & PIN process only relates to Cardholder Present transactions. Process your CNP transaction in the normal way.</P>
  </div>
  <p align="left">
      
<A CLASS=FAQ id=FAQ17t>What is PAN truncation?</A><BR>
  </p>
  <div id=FAQ17s style=display:None class=FAQB>
    <P align="left">Primary Account Number (PAN) Truncation, is a simple and effective way of disguising cardholder account numbers on transaction receipts. Each customer’s card account details are replaced by a set of asterisks (****) on their copy of the receipt. This keeps their account details secret and stops fraudsters who could otherwise steal and use the information. (You will retain the account number in full on your merchant copy of the receipt should any queries arise). It is highly recommended by all card schemes that merchants should have this fraud prevention measure.</P>
  </div>

      <tr>
      <td id="menu_block" width="143" bgcolor="#ffffff" valign="bottom">
<p align="center">
      <img border="0" src="cards.jpg" width="100" height="211" align="bottom"></td>
</tr>

      <tr>
<td width="171" align="center" valign="top">

  </tr>
</tr>
</tr>
</tr>
</table></td>
<tr class="sand">
                <td width="736"><table id="footer" width="700" align="center" cellpadding="0" cellspacing="0" border="0">
                     <tr><td width="94"><p class="foot">
                                    <font face="Verdana" style="font-size: 7pt">©
                                    handepay&nbsp; :</font></td>
                         <td><font face="Verdana"><a href="privacy.asp">
                         <span style="font-size: 7pt">privacy policy</span></a></font></td>
                         <td width="63"><font face="Verdana"><a href="index.asp">
                         <span style="font-size: 7pt">main page</span></a><span style="font-size: 7pt">&nbsp; :</span></font></td>
                         <td width="75"><font face="Verdana"><a href="products.asp">
                         <span style="font-size: 7pt">our products</span></a><span style="font-size: 7pt">&nbsp; :</span></font></td>
                                     <td width="50"><font face="Verdana"><a href="savings.asp">
                                          <span style="font-size: 7pt">savings</span></a><span style="font-size: 7pt">&nbsp; :</span></font></td>
                                     <td width="53"><font face="Verdana"><a href="services.asp">
                                          <span style="font-size: 7pt">services</span></a><span style="font-size: 7pt">&nbsp; :
                                     </span>
                                     </font>
                                     <td width="36"><font face="Verdana"><a href="faq.asp">
                                          <span style="font-size: 7pt">faq's</span></a><span style="font-size: 7pt">&nbsp; :</span></font></td>
                                     <td width="80"><font face="Verdana"><a href="company.asp">
                                          <span style="font-size: 7pt">our company</span></a><span style="font-size: 7pt">&nbsp; :</span></font></td>
                                     <td width="39"><font face="Verdana"><a href="contact.asp">
                                          <span style="font-size: 7pt">contact</span></a></font></td>
                                     </td></tr>
                    </table></td></tr>

                    <td width="100%" height="10" id="bottomwhite"></td>
                   
</tr>
</table>
            </div>
</table>
</div>
</body>

</html>

////////////////////////////////////////////////////////Code///////////////////////////////////////////////////////


Works perfectly in IE but not at all in firefox
the text is still hidden as it is a css property but there is not even an option to click on any of the text in firefox, just select it.

Thanks in advance.
[+][-]01/30/07 09:10 AM, ID: 18429158Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: JavaScript
Tags: firefox, javascript, work
Sign Up Now!
Solution Provided By: TName
Participating Experts: 2
Solution Grade: A
 
[+][-]01/30/07 09:19 AM, ID: 18429243Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/30/07 09:20 AM, ID: 18429247Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/31/07 02:18 AM, ID: 18434734Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/31/07 04:22 AM, ID: 18435173Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92