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

    (@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.

    Thread Starter Newzic

    (@newzic)

    I understand.

    The script for shadowbox is

    <script type='text/javascript' src='https://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?)

    Plugin Author Bob

    (@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

    Thread Starter Newzic

    (@newzic)

    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.

    Thanks

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