Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter evilchinesefood

    (@evilchinesefood)

    Yes i do have a javascript error

    Uncaught TypeError: Object [object Object] has no method 'wpProQuizFront' totaltruckcenters.com:385
    (anonymous function) totaltruckcenters.com:385
    l jquery.js:2
    c.fireWith jquery.js:2
    v.extend.ready jquery.js:2
    A

    What does this mean? Also while I have you if you may, Is there a way i can have php code ran after a user gets 100% on the quiz. I have tried adding the php code to the graduation part of the code in a quiz setting but the it doesnt run it outputs it as text.

    Thread Starter evilchinesefood

    (@evilchinesefood)

    Unfortuantly i dont have a link. Its on a development server behind closed doors at the moment. I can share some code though. Im using bootstraps modal popups and then placeing a quiz inside it.

    <!-- Modal Quiz -->
    <div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel">Quiz Popup</h3>
      </div>
      <div class="modal-body">
    	<?php echo do_shortcode('[WpProQuiz 1]' ?>
    
      </div>
      <div class="modal-footer">
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
        <button class="btn btn-primary">Save changes</button>
      </div>
    </div>
Viewing 2 replies - 1 through 2 (of 2 total)