This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// | |
// | |
// http://skilleo.me/challenge/6 | |
// | |
// | |
function textAnalytics($a) { | |
/* Create the code to gather the text analytics here. */ | |
$return = ""; | |
// Number of words ----- Need to take one away for some reason, your counter is wrong. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//////////////////////////////////// | |
// This is my answer to the following | |
// http://skilleo.me/challenge/2 | |
// | |
// | |
// Seems to crash it out =/ | |
//////////////////////////////////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button class="replybutton" data-origional="123" data-parent="123">Reply</button> | |
<script> | |
$('.replybutton').on('click', function(){ | |
$(this).addClass('loading'); // a class that adds a no-repeat right-aligned background of a spinning giff... give it some padding so it appears 'in the button'. | |
if ($(this).is(":visible")) { | |
$("#post" + $(this).data("parent")).slideUp(); | |
} else { | |
$("#post" + $(this).data("parent")).hide(); | |
$("#post" + $(this).data("parent")).load("/reply?parentPost=" + $(this).data("parent") + "&originalPost=" + $(this).data("origional"), function () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
/* | |
* | |
* | |
* ----- Please note, my syntax is constantly evolving as I type this out | |
* ----- This really is a 10% done thing, in it's conception. | |
* ----- By the time you're reading this, i've probably changed | |
* ----- around the code a bit, but it should give you a general | |
*- ---- idea |
NewerOlder