[resolved] Problems with Questions being set to 'display: none' - javascript conflict?? (4 posts)

  1. Regular
    Posted 1 year ago #

    I'm getting an Intermittent issue with some uses of Expander strings.
    In some uses the intros/questions are not appearing.

    If you inspect the element the following code is being served - with element.sytle {display: none;} overriding the a appearance.

    Here should be the intro paragraph

    Line 65 from the php file - something to do with it?

    $new_string = '' . $sdesc . '' . "\n";

    It's fine on some page and also fine on most occasions if you refresh the page.

    I'm wondering if it may be a plugin conflict, so I've tried deleting any old/superfluous ones. No result.

    I'm a javascript novice, I'm afriad to say.



  2. Regular
    Posted 1 year ago #

    Sorry code as follows.

    <a class="wpex-link" style="display: none;" id="wpexlink1568527662" href="javascript:expand(document.getElementById('wpex1568527662'))"><strong>How will the court decide who gets what?</strong></a>

    php code
    <$new_string = '<a class="wpex-link" style="display: none;" id="wpexlink' . $rnum . '" href="javascript:expand(document.getElementById(\'wpex' . $rnum . '\'))">' . $sdesc . '</a>' . "\n";>

  3. Ciprian
    Plugin Author

    Posted 1 year ago #

    Give me a link to your site so I can inspect the source. It may be a conflict, yes.

  4. Ciprian
    Plugin Author

    Posted 1 year ago #

    The latest version fixes this, as the entire codebase has been refactored. Marking as resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Expander
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic