Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Javascript Internet Explorer Issue, Extend

    The problem stems from Internet Explorer's inability to expand questions in the FAQ section of my website ( link: http://phonesforyourcharity.com/faq.php ). Of course the expand function works in Firefox and Safari.

    The <script type="text/javascript" src="js/faq.js"></script> in the source
    refers to:

    PHP Code:
    $(function(){
        
        $(
    "dd.answer")
            .
    hide();
        
        $(
    "dl.faq dt")
            .
    append("<br /><a href='#' title='Reveal Answer' class='answer-tab'>Answer</a>");
            
        $(
    ".answer-tab")
            .
    click(function(){
                $(
    this)
                     .
    parent().parent()
                     .
    find("dd.answer")
                     .
    slideToggle();
                return 
    false;
            });
    }); 

  • #2
    New to the CF scene
    Join Date
    May 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Also, Is there an extend all function I could code in? Any help would be greatly appreciated.


  •  

    Tags for this Thread

    Posting Permissions

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