Tarea #1054 -> Mejorar el rendimiento de la web
git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@157 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
@ -523,6 +523,8 @@ function gp_ajax_pagination($pages = '', $range = 2) {
|
||||
|
||||
if ($paged + 1 <= $pages) {
|
||||
echo "<a href='" . get_pagenum_link($paged + 1) . "' class='read-more' title='". __('See More', 'gp_lang') . "'>" . __('See More', 'gp_lang') . "</a>";
|
||||
echo "<img class='read-more-loader' src='" . get_template_directory_uri() . "/lib/images/loader.gif' style='display:none;'/>";
|
||||
|
||||
}
|
||||
|
||||
echo "</div>\n";
|
||||
|
||||
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 648 B After Width: | Height: | Size: 582 B |
|
Before Width: | Height: | Size: 1005 B After Width: | Height: | Size: 892 B |
|
Before Width: | Height: | Size: 631 B After Width: | Height: | Size: 565 B |
|
Before Width: | Height: | Size: 873 B After Width: | Height: | Size: 806 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 830 B After Width: | Height: | Size: 667 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 962 B |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 1.7 KiB |
@ -46,11 +46,14 @@ function calc_video_height() {
|
||||
|
||||
jQuery(document).ready(function(){
|
||||
jQuery('.home-page .wp-pagenavi a').live('click', function(e){
|
||||
jQuery('.home-page .wp-pagenavi img.read-more-loader').css('display', 'inline');
|
||||
e.preventDefault();
|
||||
link = jQuery(this).attr('href');
|
||||
jQuery('.home-page .wp-pagenavi').remove();
|
||||
|
||||
jQuery.get(link, function(data) {
|
||||
jQuery('.home-page .wp-pagenavi img.read-more-loader').remove();
|
||||
jQuery('.home-page .wp-pagenavi').remove();
|
||||
|
||||
var kids = jQuery(data).find('.contentInner').children();
|
||||
jQuery.each(kids, function(){
|
||||
jQuery('#content-wrapper #content .contentInner').append(jQuery(this));
|
||||
|
||||
|
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 309 B |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 134 B |
|
Before Width: | Height: | Size: 153 B After Width: | Height: | Size: 133 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 840 B |
|
Before Width: | Height: | Size: 110 B After Width: | Height: | Size: 90 B |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 745 B |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 231 B |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 235 B |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 814 B After Width: | Height: | Size: 790 B |
|
Before Width: | Height: | Size: 382 B After Width: | Height: | Size: 290 B |