You've already forked bryanpedini.it_old
Improved performance, finished templates, added jquery plugins
Completed the templates, added a cool javascript effect on textarea (added jquery.ns-autogrow plugin), modified the click functions from .on to .click for improved performance
This commit is contained in:
@@ -22,15 +22,15 @@
|
||||
});
|
||||
}
|
||||
$(function() {
|
||||
$('#navbar-home').on('click', function () { getPageContent (1) } );
|
||||
$('#navbar-description').on('click', function () { getPageContent (2) });
|
||||
$('#navbar-work').on('click', function () { getPageContent (3) });
|
||||
$('#navbar-ideas').on('click', function () { getPageContent (4) });
|
||||
$('#navbar-contact-form').on('click', function () { getPageContent (5) });
|
||||
$('#navbar-contact-email').on('click', function () { window.location.href = "mailto:bryanpedini@bryanpedini.it"; });
|
||||
$('ul.nav li.dropdown').hover(function() {
|
||||
$('#navbar-home').click(function () { getPageContent (1) } );
|
||||
$('#navbar-description').click(function () { getPageContent (2) });
|
||||
$('#navbar-work').click(function () { getPageContent (3) });
|
||||
$('#navbar-ideas').click(function () { getPageContent (4) });
|
||||
$('#navbar-contact-form').click(function () { getPageContent (5) });
|
||||
$('#navbar-contact-email').click(function () { window.location.href = "mailto:bryanpedini@bryanpedini.it"; });
|
||||
$('ul.nav li.dropdown').hover(function () {
|
||||
$(this).find('.dropdown-menu').stop(true, true).fadeIn(500);
|
||||
}, function() {
|
||||
}, function () {
|
||||
$(this).find('.dropdown-menu').stop(true, true).fadeOut(500);
|
||||
});
|
||||
getPageContent(0);
|
||||
|
Reference in New Issue
Block a user