Monday 25 November 2013

Yoo Jae Suk là gương mặt quảng cáo được yêu thích nhất - Cherry Radio Australia

Copyright © 2012 Cherry Radio. All Rights Reserved.

').html($('div[id="' + $link.attr('title') + '"]').html()).dialog({ modal : true, autoOpen : false, title : $link.text(), width : 500, height : 300 }); // $link.click(function() { $dialog.dialog('open'); return false; //}); }); //new if (jQuery('.videothumbs').length > 0) { jQuery('a.leadingarticle:eq(0)').html(jQuery('a.contentpagetitle:eq(0)').html()); //tilte jQuery('a.leadingarticle:eq(0)').attr("href",jQuery('a.contentpagetitle').attr("href")); //tilte jQuery('span.cdatepublish:eq(0)').html(jQuery('td.createdate:eq(0)').text()); //date jQuery('a.leadingarticle').appendTo('#videodescription'); jQuery('span.cdatepublish').appendTo('#videodescription'); jQuery('#videodescription').css({'position':'relative','margin-top':'50px','margin-bottom':'10px'}); jQuery('a.leadingarticle:eq(0)').attr("href",jQuery('a.contentpagetitle').attr("href")); jQuery('#pagefooter a').click(function(e){e.preventDefault();}) jQuery('#videoajaxloadprogressbar').css('display', 'none'); // jQuery('a.leadingarticle').appendTo('#videodescription'); // jQuery('span.cdatepublish').appendTo('#videodescription'); // $('[class=videoitemblog]:not([done])').each(function(){ var title=$(this).find('table:eq(0)').html(); var img=$(this).find('table:eq(1)').html(); $(this).find('table:eq(0)').html(img); $(this).find('table:eq(1)').html(title); $(this).attr('done','done'); }) // // $(function() { // var progressbar = $("#progressbar"), progressLabel = $(".progress-label"); // progressbar.progressbar({ // value : false // }); //}); var newscrolltop = jQuery('#pagefooter').offset().top - jQuery(window).height() + 40; var count = 1; var lastScrollTop = 0; var updatedata = false; jQuery(window).scroll(function() { var st = jQuery(this).scrollTop(); if (!updatedata && jQuery(window).scrollTop() > newscrolltop) { // if (st > lastScrollTop) { updatedata = true; jQuery('#videoajaxloadprogressbar').css('display', 'block'); var pagefooterhref = jQuery('#pagefooter a:last').attr('href'); var pagefooterhrefparts = pagefooterhref.split("="); jQuery.ajax({ type : 'GET', url : pagefooterhrefparts[0] + "=" + ((pagefooterhrefparts[1] - 1) * count), success : function(data) { var second = data.indexOf('videoajaxloadprogressbar')-14; var first = data.indexOf('class="videothumbs"') +23; var content = data.substring(first, second); //var title=$(content).find('table:eq(0)').html(); //var img=content.find('table:eq(1)').html(); //content.find('table:eq(0)').html(img); //content.find('table:eq(1)').html(title); count++; newscrolltop = jQuery('#pagefooter').offset().top - jQuery(window).height() + 40; jQuery('#videoajaxloadprogressbar').css('display', 'none'); updatedata = false; if (content.length ' + content + ''); } $('[class=videoitemblog]:not([done])').each(function(){ var title=$(this).find('table:eq(0)').html(); var img=$(this).find('table:eq(1)').html(); $(this).find('table:eq(0)').html(img); $(this).find('table:eq(1)').html(title); $(this).attr('done','done'); }) }, error : function(data) { jQuery('#videoajaxloadprogressbar').css('display', 'none'); updatedata = false; } }); } } lastScrollTop = st; }); } //end jQuery("div[class=videowrapperplay]").live('click',(function(){ var index = $("div[class=videowrapperplay]").index(this); window.location=jQuery("a.img_caption:eq("+(1+index)+")").attr('href'); }) ) }else{ jQuery(document).ready(function() { jQuery('a.leadingarticle').appendTo('#videodescription'); jQuery('span.cdatepublish').appendTo('#videodescription'); jQuery('#videodescription').css({'position':'relative','margin-top':'50px','margin-bottom':'10px'}); jQuery('a.leadingarticle:eq(0)').attr("href",jQuery('a.contentpagetitle').attr("href")); jQuery('body[class*=video] #pagefooter a').css('color','white'); jQuery("a#scrolltop").click(function() { jQuery('html, body').animate({ scrollTop : 0 }, 'slow'); }); jQuery('#contactform input[type=text],#contactform textarea,#contactform input[type=file]').css("width", "95%"); jQuery("a[hotnew]").after(""); $('span[id="crrograms"] a').click(function() { var $link = jQuery(this); var $dialog = $('').html($('div[id="' + $link.attr('title') + '"]').html()).dialog({ modal : true, autoOpen : false, title : $link.text(), width : 500, height : 300 }); // $link.click(function() { $dialog.dialog('open'); return false; //}); }); //new if (jQuery('.videothumbs').length > 0) { jQuery('#pagefooter a').click(function(e){e.preventDefault();}) jQuery('#videoajaxloadprogressbar').css('display', 'none'); // $('[class=videoitemblog]:not([done])').each(function(){ var title=$(this).find('table:eq(0)').html(); var img=$(this).find('table:eq(1)').html(); $(this).find('table:eq(0)').html(img); $(this).find('table:eq(1)').html(title); $(this).attr('done','done'); }) // //$(function() { // var progressbar = $("#progressbar"), progressLabel = $(".progress-label"); // progressbar.progressbar({ // value : false // }); //}); var newscrolltop = jQuery('#pagefooter').offset().top - jQuery(window).height() + 40; var count = 1; var lastScrollTop = 0; var updatedata = false; jQuery(window).scroll(function() { var st = jQuery(this).scrollTop(); if (!updatedata && jQuery(window).scrollTop() > newscrolltop) { // if (st > lastScrollTop) { updatedata = true; jQuery('#videoajaxloadprogressbar').css('display', 'block'); var pagefooterhref = jQuery('#pagefooter a:last').attr('href'); var pagefooterhrefparts = pagefooterhref.split("="); jQuery.ajax({ type : 'GET', url : pagefooterhrefparts[0] + "=" + ((pagefooterhrefparts[1] - 1) * count), success : function(data) { var second = data.indexOf('videoajaxloadprogressbar')-13; var first = data.indexOf('class="videothumbs"')+20 ; var content = data.substring(first, second); //var title=$(content).find('table:eq(0)').html(); //var img=content.find('table:eq(1)').html(); //content.find('table:eq(0)').html(img); //content.find('table:eq(1)').html(title); count++; newscrolltop = jQuery('#pagefooter').offset().top - jQuery(window).height() + 40; jQuery('#videoajaxloadprogressbar').css('display', 'none'); updatedata = false; if (content.length ' + content + ''); } $('[class=videoitemblog]:not([done])').each(function(){ var title=$(this).find('table:eq(0)').html(); var img=$(this).find('table:eq(1)').html(); $(this).find('table:eq(0)').html(img); $(this).find('table:eq(1)').html(title); $(this).attr('done','done'); }) }, error : function(data) { jQuery('#videoajaxloadprogressbar').css('display', 'none'); updatedata = false; } }); } } lastScrollTop = st; }); } //end jQuery('.videowrapperplay').live('click',(function(){ window.location=(jQuery(this).parent().find('a').attr('href')); }) ) $("#opencherryembededcode").button({ text : false, icons : { primary : "ui-icon-carat-2-e-w" } }); jQuery('#opencherryembededcode').click(function(){jQuery('#cherryradioembeedcodedialog-message').toggle();}) }); } jQuery('#menulist_root-suckerfish>li:gt(10)').css('background-color','red');

No comments:

Post a Comment