ben_aaron
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Jquery suddenly not working correctlyYes. Are there any issues known where some javascript/jquery stopped working correctly after some time?
So what could have happen that made I go wrong so suddenly?
I will clean up my code now and several test versions again. I also contacted my webhost (bluehost) about that.Forum: Fixing WordPress
In reply to: Jquery suddenly not working correctlyI did that. It worked without a problem. And exactly that is the problem: It stops coding the responses correctly all of the sudden. If it were for each user or irregularly I would be very confident that it is in the code, but it appears to stop working altogether for all users at a random moment.
Forum: Fixing WordPress
In reply to: Jquery suddenly not working correctlyIf you click on Next the task starts. Sorry I didn’t mention that.
Forum: Fixing WordPress
In reply to: Jquery suddenly not working correctlyIt is this variable that is broken: respcor
I code the responses and save them to respcor in this part:
if (code == 97 || code == 108 || code == 65 || code == 76) { if(listen == false) return; if (newword.type == "irrelevant" && code == 97 || newword.type == "irrelevant" && code == 65) { $("#false").fadeIn(50).delay(200).fadeOut(50); respcor = 0; cor.push(respcor); } if (newword.type == "irrelevant" && code == 108 || newword.type == "irrelevant" && code == 76) { //$("#false").fadeIn(50).delay(200).fadeOut(50); respcor = 1; cor.push(respcor); } if (newword.type == "target" && code == 97 || newword.type == "target" && code == 65) { //$("#false").fadeIn(50).delay(200).fadeOut(50); respcor = 1; cor.push(respcor); } if (newword.type == "target" && code == 108 || newword.type == "target" && code == 76) { $("#false").fadeIn(50).delay(200).fadeOut(50); respcor = 0; cor.push(respcor); } if (newword.type == "probe" && code == 97 || newword.type == "probe" && code == 65) { $("#false").fadeIn(50).delay(200).fadeOut(50); respcor = 0; cor.push(respcor); } if (newword.type == "probe" && code == 108 || newword.type == "probe" && code == 76) { //$("#false").fadeIn(50).delay(200).fadeOut(50); respcor = 1; cor.push(respcor); }
Forum: Themes and Templates
In reply to: Custom html code to custom page templateFound help on stackoverflow quickly: I forgot to call the html elements on my wordpress page to the php template
This helped me out:<?php while (have_posts()) : the_post(); the_content(); endwhile; ?>
Forum: Themes and Templates
In reply to: Custom html code to custom page templateMaybe this is even better:
The code for the template:
<?php /* Template Name: Raw Page */
And: I host via bluehost, and have put it via file manager into the public_html –> … themes directory and my template appears in wordpress.