Support » Plugin: Watu Quiz » Bug in results with lightbox, shadowbox…

  • Hello,

    when I publish a quizz, if there is a picture, shadowbox-js is working.
    See :

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author prasunsen


    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.

    I understand.

    The script for shadowbox is

    <script type='text/javascript' src=''></script>

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

    Plugin Author prasunsen


    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

    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.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Bug in results with lightbox, shadowbox…’ is closed to new replies.