first draft, only one (main) page
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -8,7 +8,7 @@ $(document).ready
|
||||
var $Pic = $('#pic');
|
||||
$Pic.css('height', iPicHeight+'px');
|
||||
$('.person').css('marginTop', Math.round(($('#header').height() - $Pic.outerHeight())/2));
|
||||
$Pic.attr('src', cConfigPage+'?t=pic&a='+a);
|
||||
$Pic.attr('src', cConfigPage+'?a=pic&s='+s);
|
||||
}
|
||||
|
||||
//Fix IE
|
||||
@@ -29,8 +29,8 @@ $(document).ready
|
||||
Cufon.replace('h1', {fontFamily:'Candara'});
|
||||
Cufon.replace('.item h2', {fontFamily:'Puritan 2.0'});
|
||||
Cufon.replace('.item h3', {fontFamily:'Puritan 2.0'});
|
||||
Cufon.replace('h2.section_name', {fontFamily:'Hattori Hanzo Light'});
|
||||
|
||||
Cufon.replace('h2.section_name', {fontFamily:'Andika Basic'});
|
||||
|
||||
//Contact panel events
|
||||
$('#contact_me_btn, #contact_me_link').click
|
||||
(
|
||||
@@ -146,7 +146,7 @@ $(document).ready
|
||||
$('a[href^=#]').click(function(e){$(this).jump(e);});
|
||||
|
||||
//To-the-top Button
|
||||
iProfileHeight = $('#profile').offset().top;
|
||||
iProfileHeight = $('#presentation').offset().top;
|
||||
$(window).scroll
|
||||
(
|
||||
function()
|
||||
@@ -203,7 +203,9 @@ $.prototype.jump = function(e)
|
||||
var sElem = this.attr('href');
|
||||
if(sElem != '#')
|
||||
{
|
||||
e.preventDefault();
|
||||
if($(this).parent().parent().attr('id')!='menu') e.preventDefault();
|
||||
else sElem += '_ln';
|
||||
|
||||
this.blur();
|
||||
var $Elem = $(sElem);
|
||||
var iOffSet = ($Elem.length>0)?($Elem.offset().top - 15):0;
|
||||
|
||||
0
jquery/jquery.functions.min.js
vendored
0
jquery/jquery.functions.min.js
vendored
Reference in New Issue
Block a user