-
//animate the full-screen project image
$('li[data-id] .wrap').each(
function(index) {
$(this).stop().css({
opacity: 0
}).animate({
padding: 0
}, 50 * index).animate({
opacity: 1
}, 500, 'easeOutCubic');
}
-
function getrank(site) {
$.ajaxSetup({
cache: false
});
// Alexa
var alexa_load = "<img src='images/misc/loading.gif' alt='loading...' />";
var alexaUrl = "get/alexa.php?d=" + site;
$('.asite[data-value="' + site + '"] .alexa').html(alexa_load);
$.get(alexaUrl, function(data) {
cookie_name = site + '_alexa';
-
$("#navDirectors .slide.list ul.list-directors li").hide();
if ($(this).is(".list-directors")) {
$.ajax({
url: "/" + country + "/directorbycategories/" + id,
dataType: "text",
success: function(data) {
var foundDirLi = 0;
if (data != "") {
var aData = String(data).split(",");
for (var i = 0; i < aData.length; i++) {
-
$.each(data.project, function(projectName, project) {
var links, link;
var node = $('.project .' + projectName);
node.animate({
opacity: 0
}, 400, function() {
node.find('.title').html(project.title);
node.find('.description').html(project.description);
node.find('.services').html(project.services);
-
function processProject(projectSlug) {
// Prevent projecBox from collapsing
jQuery("#projectBox").css("height", jQuery("#projectHolder").outerHeight());
// Fade out the old project
if (currentProject != "") {
jQuery("#projectHolder").fadeOut(transitionSpeed, function() {
jQuery(".project.ajax").remove();
currentProject = "";
if (projectSlug) {