mirror of
https://github.com/Rushilwiz/brancher.git
synced 2025-04-19 03:20:17 -04:00
26 lines
399 B
JavaScript
26 lines
399 B
JavaScript
function field_focus(field, email)
|
|
{
|
|
if(field.value == email)
|
|
{
|
|
field.value = '';
|
|
}
|
|
}
|
|
|
|
function field_blur(field, email)
|
|
{
|
|
if(field.value == '')
|
|
{
|
|
field.value = email;
|
|
}
|
|
}
|
|
|
|
//Fade in dashboard box
|
|
$(document).ready(function(){
|
|
$('.box').hide().fadeIn(1000);
|
|
});
|
|
|
|
//Stop click event
|
|
$('a').click(function(event){
|
|
event.preventDefault();
|
|
});
|