This file contains 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
{ | |
"status": "success", | |
"data": { | |
"ids": [ | |
{ | |
"id": 99999, | |
"symbol": "ETH" | |
}, | |
{ | |
"id": 1, |
This file contains 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
function getRandomStartingSeatConfiguration() { | |
var seatRandomMod = 2, | |
seatRandomNum = Math.floor(Math.random()*seatRandomMod); | |
if(seatRandomNum%seatRandomMod) { | |
return 'up'; | |
} else { | |
return 'down'; | |
} | |
} |
This file contains 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
$('body').on({ | |
mouseenter: function(e) { //the argument 'e' allows for the use of position tracking | |
$('#popup_text').css({ //using the position of the current target (element which is moused over), we can position the popup text using CSS | |
left: $(this).offset().left-130, | |
top: $(this).offset().top-5 | |
}); | |
}, | |
mouseleave: function(e) { //once the mouse has left the target element, the CSS moves the popup text out of view | |
$('#popup_text').css({ | |
left: -9999, |
This file contains 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
//For example | |
.school-directory-container{ | |
height: 250px; | |
} | |
.school-directory-copy{ | |
position:relative; | |
top:-242px; | |
font-size: 144%; | |
width: 253px; |
This file contains 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 | |
$path = get_template_directory(); | |
include($path."/example.php"); | |
?> |
This file contains 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
UPDATE popular_crosslinks | |
SET slug = NULL; | |
UPDATE popular_crosslinks | |
SET slug = CONCAT("/", LOWER(degree_level_proper)) | |
WHERE degree_level IS NOT NULL; | |
UPDATE | |
-- SELECT slug,search_term_url FROM | |
popular_crosslinks |