WordPress.org

Support

Support » Plugins and Hacks » Wp-Pro-Quiz » Quiz-button not working

Quiz-button not working

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

    @xeno010

    Hello astrostart,

    you have a javascript error in “wp-content/themes/blacklight/includes/js/custom.js” line 89.

    Pls replace

    function iframe_correct(){
    	jQuery("iframe").each(function(){
    		var ifr_source = jQuery(this).attr('src');
    		var wmode = "wmode=transparent";
    		if(ifr_source.indexOf('?') != -1) {
    			var getQString = ifr_source.split('?');
    			var oldString = getQString[1];
    			var newString = getQString[0];
    			jQuery(this).attr('src',newString+'?'+wmode+'&'+oldString);
    		}else{
    			jQuery(this).attr('src',ifr_source+'?'+wmode);
    		}
    	});
    }

    TO

    function iframe_correct(){
    	jQuery("iframe").each(function(){
    		try {
    			var ifr_source = jQuery(this).attr('src');
    			var wmode = "wmode=transparent";
    			if(ifr_source.indexOf('?') != -1) {
    				var getQString = ifr_source.split('?');
    				var oldString = getQString[1];
    				var newString = getQString[0];
    				jQuery(this).attr('src',newString+'?'+wmode+'&'+oldString);
    			}else{
    				jQuery(this).attr('src',ifr_source+'?'+wmode);
    			}
    		} catch (e) {}
    	});
    }

    and try again

    xeno010

    Hi Xeno010,

    Thanks for your support! I changed the custom.js. Unfortunately it didn’t worked 🙁

    Do you have another idea? Thanks in advance!

    Best regards,
    Tim Kraaijvanger

    Plugin Author xeno010

    @xeno010

    OK, the error has been corrected in custom.js.

    Step 2:

    Pls go in your Adminpanel:
    -> Adminpanel
    -> Wp-Pro-Quiz
    -> Global settings (Overige instellingen)
    -> Settings in case of problems (Instellingen in geval van problemen)
    -> activate the “Do not load the Javascript-files in the footer” option (Javascript-bestand is niet geladen in de footer)

    and try again

    Best regards,
    xeno010

    My website is http://www.quizdesire.com.
    Same problem here. Sometimes the start button is working and sometime not. Please help me soon.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Quiz-button not working’ is closed to new replies.
Skip to toolbar