﻿/******Chris Bio*******/
this.chris = function(){ 
/* CONFIG */ 
xOffset = 10;
yOffset = 20; 
// these 2 variable determine popup's distance from the cursor
// you might want to adjust to get the right result 
/* END CONFIG */ 
$("a.chris").hover(function(e){ 
this.t = this.title;
this.title = ""; 
$("body").append("<p id='chris'>"+ this.t +"</p>");
$("#chris")
.css("top",(e.pageY - xOffset) + "px")
.css("left",(e.pageX + yOffset) + "px")
.fadeIn("fast"); 
},
function(){
this.title = this.t; 
$("#chris").remove();
}); 
$("a.chris").mousemove(function(e){
$("#chris")
.css("top",(e.pageY - xOffset) + "px")
.css("left",(e.pageX + yOffset) + "px");
}); 
};
// starting the script on page load
$(document).ready(function(){
chris();
});
/******End Chris Bio******/
/*****Dave Bio*******/
this.dave = function(){ 
/* CONFIG */ 
xOffset = 10;
yOffset = 20; 
// these 2 variable determine popup's distance from the cursor
// you might want to adjust to get the right result 
/* END CONFIG */ 
$("a.dave").hover(function(e){ 
this.t = this.title;
this.title = ""; 
$("body").append("<p id='dave'>"+ this.t +"</p>");
$("#dave")
.css("top",(e.pageY - xOffset) + "px")
.css("left",(e.pageX + yOffset) + "px")
.fadeIn("fast"); 
},
function(){
this.title = this.t; 
$("#dave").remove();
}); 
$("a.dave").mousemove(function(e){
$("#dave")
.css("top",(e.pageY - xOffset) + "px")
.css("left",(e.pageX + yOffset) + "px");
}); 
};
// starting the script on page load
$(document).ready(function(){
dave();
});
/*******End Dave Bio********/
/*****Scott Bio*******/
this.scott = function(){ 
/* CONFIG */ 
xOffset = 10;
yOffset = 20; 
// these 2 variable determine popup's distance from the cursor
// you might want to adjust to get the right result 
/* END CONFIG */ 
$("a.scott").hover(function(e){ 
this.t = this.title;
this.title = ""; 
$("body").append("<p id='scott'>"+ this.t +"</p>");
$("#scott")
.css("top",(e.pageY - xOffset) + "px")
.css("left",(e.pageX + yOffset) + "px")
.fadeIn("fast"); 
},
function(){
this.title = this.t; 
$("#scott").remove();
}); 
$("a.scott").mousemove(function(e){
$("#scott")
.css("top",(e.pageY - xOffset) + "px")
.css("left",(e.pageX + yOffset) + "px");
}); 
};
// starting the script on page load
$(document).ready(function(){
scott();
});
/*******End Scott Bio********/
