Results 1 to 7 of 7

Thread: Accordion Script working TOO well...not allowing hrefs to work within the divs

  1. #1
    Join Date
    Mar 2007
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow Accordion Script working TOO well...not allowing hrefs to work within the divs

    1) Script Title: Href links within the accordian only close the accordian

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...daccordion.htm

    3) Describe problem: My problem is rather simple. The accordian works fine but any href within the displayed 'rolled out' functionality causes the accordian to revert. Is there a way to circumnavigate the action so the href will link correctly?

    Example as follows:
    Code:
      <div align="left"><li class="style4"><u>What is the Ccred Reporting?</u></li></span></div>
          <div class="2">
               <div align="left"><span class="body">
                 For more detailed information, please read the </span></div><a href="http://www.ftc.gov/os/statutes/fcra.htm" target="_blank"><span class="body"> <div class="2">Fair Credit Reporting Act</div></span></a>.<br></div></div>
    The link within the div causes it to shrink, not actually go to the link

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmm not entirely clear on your question actually. A header will only contract if you roll out of the header itself, not the sub content it's associated with. Any links in the later doesn't change this. Please post a link to the page on your site that contains the problematic script so we can check it out.
    DD Admin

  3. #3
    Join Date
    Mar 2007
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sorry...here you are
    https://www.accuratebackground.com/educate/faqs.htm

    Click on 'Compliance Information'
    and then click on the first question 'What is the Fair Credit Reporting Act (FCRA)?'

    Th link within the answer automatically retracts when clicked when it should go to a new page.

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    No problem for me. The 'What is the Fair Credit Reporting Act (FCRA)?' link appears as the last link in the "General Information" header for me btw. Clicking it reveals content with a mailto: link inside it. Clicking that just launches my mail program, and doesn't close the content. FF3.x and IE8 browsers used.
    DD Admin

  5. #5
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It seems the problem happens in IE7. Can anybody help figure out a fix to this? Here is a sample of my code also:

    <li id="q11" class="question"><a href="javascript:void(0);">Can I cancel or change an order after I place it?</a></li>
    <div id="a11" class="answer">We are unable to modify or cancel your order once it is received in our system. If you have additional questions, please contact us by e-mail us at: <a href="mailtorders@domain.com">orders@domain.com</a></div>

    Clicking on the email link collapses the section in IE7.

  6. #6
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    jhollender, are you talking about the exact same issue as the OP's above? If so, please post a link to the problem page.
    DD Admin

  7. #7
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •