Page 1 of 1

Help with a Firefox issue

Posted: Fri May 30, 2008 2:42 pm
by unibul
Can someone help me figure out why the links on my FAQ page do not work in Firefox.

http://unibulmerchantservices.com/faq/

Re: Help with a Firefox issue

Posted: Fri May 30, 2008 3:55 pm
by VladSun
Because nextSibling of H4 elements will return Object text which has no style properties...

Code: Select all

 <script language="JavaScript"><!-- function toggle(el){    do    {        el = el.nextSibling;        if (el.style)            el.style.display = el.style.display == 'block' ? 'none' : 'block';    }    while (el.tagName != 'H4')}//--></script> <h3>General</h3><h4 onclick="toggle(this);">What do I need to start processing payment card transactions?</h4><p>To start processing payment card transactions you need:</p><ul><li>A payment processing terminal – a physical device or software.</li><li>Merchant account – the service that payment processing companies offer to enable you to accept electronic payments.</li><li>Checking account to receive deposits.</li></ul><p>Specific for processing online transactions are the following requirements:</p> <ul><li>A functioning web site with a valid secure server certification.</li><li>Shopping card – our virtual terminal is compatible with all major shopping carts.</li><li>Online payment gateway – the online equivalent of the point of sale (POS) terminal facilitates the transfer of information between your website and your Processor or acquiring bank, quickly and securely.</li></ul>