The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Bug in results with lightbox, shadowbox... (5 posts)

  1. Newzic
    Posted 3 years ago #


    when I publish a quizz, if there is a picture, shadowbox-js is working.
    See : http://goo.gl/KRJxH

    But when we are on the page of results, shadowbox don't working. The picture is open on a single window and the back button go at the questions page (we lost the page result...)

    I also try an other plug that lightbox-plus, the problem is the same.


  2. prasunsen
    Plugin Author

    Posted 3 years ago #

    Sorry, the result is called by ajax and you can't define javascript function in ajax called page. Your javascript function should be defined in advance.

  3. Newzic
    Posted 3 years ago #

    I understand.

    The script for shadowbox is

    <script type='text/javascript' src='http://www.cetaces.org/wp-content/uploads/shadowbox-js/6c9ff6f7d9133ab510705a31bb117fad.js?ver=3.0.3'></script>

    Is it possible to put this script somewhere in your php page? (show_exam.php, exam_form.php... where?)

  4. prasunsen
    Plugin Author

    Posted 3 years ago #

    You can try put it as part of the HTML code in the Final screen (maybe through a plugin that lets you run a script.) Still no guarantee it will work. Alternatively you can just use <a href target=_blank instead of a lightbox

  5. Newzic
    Posted 3 years ago #

    that don't work everywhere I try to put the shadowbox code.

    I upload the original script of shadowbox in the www folder of this website. And I put the code
    <script type="text/javascript" src="shadowbox.js></script> just before the first picture in the first question. And I put "rel="shadowbox" manually for this first picture.
    In the sourcecode of the result page, all is good. But shadowbox don't work. But that work if I make a static page (html) of this result page!

    Yes, with _blank. Or breaking the link. That is the final solution.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Watu
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic