Happy New Year - jQuery Popup For Sites!





15
comments





PLEASE NOTE:



We have Zero Tolerance to Spam.

Chessy Comments and Comments with
'Links'
will be deleted immediately upon our review.



(function() {
var items = ['id': '8018357119814185021', 'body': 'Muhammad Mustafa Bhai, You are my most favorite blogger from Pakistan :) Allah bless you sir. ', 'timestamp': '1451320740077', 'permalink': 'https://www.mybloggertricks.com/2015/12/jquery-new-year-popup.html?showCommentx3d1451320740077#c8018357119814185021', 'author': 'name': 'Adil Muhammad Yousuf', 'avatarUrl': '//lh5.googleusercontent.com/-upqdRXNAgp4/AAAAAAAAAAI/AAAAAAAAH1E/pEjdK86mzqE/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11859119924724048421', 'displayTime': 'Dec 28, 2015, 9:39:00 PM', 'deleteclass': 'item-control blog-admin pid-301840063', 'id': '6129813877352302637', 'body': 'Just one Word x3d WoW..!!!x3cbr /x3eThank You Bro.', 'timestamp': '1451321449088', 'permalink': 'https://www.mybloggertricks.com/2015/12/jquery-new-year-popup.html?showCommentx3d1451321449088#c6129813877352302637', 'author': 'name': 'Paramjot Singh', 'avatarUrl': '//lh4.googleusercontent.com/-Gny136G0-iI/AAAAAAAAAAI/AAAAAAAACEw/j6vCtANES_M/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/02334797096355469724', 'displayTime': 'Dec 28, 2015, 9:50:00 PM', 'deleteclass': 'item-control blog-admin pid-487109458', 'id': '1118005873930063508', 'body': 'A good approach with coding.x3cbr /x3ex3cbr /x3eThanks for the widget!', 'timestamp': '1451367873940', 'permalink': 'https://www.mybloggertricks.com/2015/12/jquery-new-year-popup.html?showCommentx3d1451367873940#c1118005873930063508', 'author': 'name': 'Umer Prince', 'avatarUrl': '//lh5.googleusercontent.com/-JT0qk30tAN4/AAAAAAAAAAI/AAAAAAAAB9w/G9uhzxlXXAs/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/16551852107804252606', 'displayTime': 'Dec 29, 2015, 10:44:00 AM', 'deleteclass': 'item-control blog-admin pid-705403293', 'id': '6339671492715594200', 'body': 'this is really nice idea to wish new year to our visitor x3cbr /x3ex3cbr /x3eRegardsx3cbr /x3ex3ca hrefx3dx22http://www.fpinfo.inx22 relx3dx22nofollowx22x3e Aana x3c/ax3e', 'timestamp': '1451371000534', 'permalink': 'https://www.mybloggertricks.com/2015/12/jquery-new-year-popup.html?showCommentx3d1451371000534#c6339671492715594200', 'author': 'name': 'Aana Bilson', 'avatarUrl': '//lh6.googleusercontent.com/-NKfJ5Gbl9Qg/AAAAAAAAAAI/AAAAAAAAAOQ/SEhfVUvanC8/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/01794269301482841646', 'displayTime': 'Dec 29, 2015, 11:36:00 AM', 'deleteclass': 'item-control blog-admin pid-1299945432', 'id': '7509309151318831258', 'parentId': '8018357119814185021', 'body': 'May Allah bless people like you with respect in heart. x3d) Thank you for honoring this small man', 'timestamp': '1451399191754', 'permalink': 'https://www.mybloggertricks.com/2015/12/jquery-new-year-popup.html?showCommentx3d1451399191754#c7509309151318831258', 'author': 'name': 'Mohammad Mustafa Ahmedzai', 'avatarUrl': '//lh4.googleusercontent.com/-f8qSqNLtpBU/AAAAAAAAAAI/AAAAAAAAJZA/Yfbvp1almlI/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11681339458447132019', 'displayTime': 'Dec 29, 2015, 7:26:00 PM', 'deleteclass': 'item-control blog-admin pid-1736397285', 'id': '4548467412053963973', 'parentId': '6129813877352302637', 'body': 'Pleasure dear Paramjot! Always welcomed x3d)x3cbr /x3eHappy new year!', 'timestamp': '1451399231225', 'permalink': 'https://www.mybloggertricks.com/2015/12/jquery-new-year-popup.html?showCommentx3d1451399231225#c4548467412053963973', 'author': 'name': 'Mohammad Mustafa Ahmedzai', 'avatarUrl': '//lh4.googleusercontent.com/-f8qSqNLtpBU/AAAAAAAAAAI/AAAAAAAAJZA/Yfbvp1almlI/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11681339458447132019', 'displayTime': 'Dec 29, 2015, 7:27:00 PM', 'deleteclass': 'item-control blog-admin pid-1736397285', 'id': '5362589630876114339', 'parentId': '1118005873930063508', 'body': 'Thank you for the kind feedback Umer. I am glad you liked it x3d)', 'timestamp': '1451399278738', 'permalink': 'https://www.mybloggertricks.com/2015/12/jquery-new-year-popup.html?showCommentx3d1451399278738#c5362589630876114339', 'author': 'name': 'Mohammad Mustafa Ahmedzai', 'avatarUrl': '//lh4.googleusercontent.com/-f8qSqNLtpBU/AAAAAAAAAAI/AAAAAAAAJZA/Yfbvp1almlI/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11681339458447132019', 'displayTime': 'Dec 29, 2015, 7:27:00 PM', 'deleteclass': 'item-control blog-admin pid-1736397285', 'id': '5003202056358334163', 'parentId': '6339671492715594200', 'body': 'Thank you for finding it useful Aana x3d)', 'timestamp': '1451399312132', 'permalink': 'https://www.mybloggertricks.com/2015/12/jquery-new-year-popup.html?showCommentx3d1451399312132#c5003202056358334163', 'author': 'name': 'Mohammad Mustafa Ahmedzai', 'avatarUrl': '//lh4.googleusercontent.com/-f8qSqNLtpBU/AAAAAAAAAAI/AAAAAAAAJZA/Yfbvp1almlI/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11681339458447132019', 'displayTime': 'Dec 29, 2015, 7:28:00 PM', 'deleteclass': 'item-control blog-admin pid-1736397285', 'id': '594327337031788858', 'body': 'how to call it on web pagex3cbr /x3e', 'timestamp': '1451463327671', 'permalink': 'https://www.mybloggertricks.com/2015/12/jquery-new-year-popup.html?showCommentx3d1451463327671#c594327337031788858', 'author': 'name': 'Deepak Srivastava', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/06241589563545075581', 'displayTime': 'Dec 30, 2015, 1:15:00 PM', 'deleteclass': 'item-control blog-admin pid-149455605', 'id': '4245672923814755667', 'body': 'How can i set the exact date and time ... x3cbr /x3eits showing 1775 days....', 'timestamp': '1451499013434', 'permalink': 'https://www.mybloggertricks.com/2015/12/jquery-new-year-popup.html?showCommentx3d1451499013434#c4245672923814755667', 'author': 'name': 'Haseeb Ahmed', 'avatarUrl': '//lh3.googleusercontent.com/-oE8jV6zxurw/AAAAAAAAAAI/AAAAAAAABdI/LfDSV7qi3bE/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/01100019554883434170', 'displayTime': 'Dec 30, 2015, 11:10:00 PM', 'deleteclass': 'item-control blog-admin pid-1295110315', 'id': '7724268011556610975', 'body': 'Hello Mohammad,x3cbr /x3ex3cbr /x3eAfter seeing live demo, I must say golden color really attracts our eyes.x3cbr /x3ex3cbr /x3eyou did really amazing coding :)', 'timestamp': '1451538597255', 'permalink': 'https://www.mybloggertricks.com/2015/12/jquery-new-year-popup.html?showCommentx3d1451538597255#c7724268011556610975', 'author': 'name': 'piyush golani', 'avatarUrl': '//lh4.googleusercontent.com/-d_N27eSZPxY/AAAAAAAAAAI/AAAAAAAADYE/dfjiLiYSItw/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/15624712984099396457', 'displayTime': 'Dec 31, 2015, 10:09:00 AM', 'deleteclass': 'item-control blog-admin pid-1854785510', 'id': '7493894363016551919', 'body': 'great idea, I try to my site. and really works very well', 'timestamp': '1451625173941', 'permalink': 'https://www.mybloggertricks.com/2015/12/jquery-new-year-popup.html?showCommentx3d1451625173941#c7493894363016551919', 'author': 'name': 'Micko-APW', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9NWOsR4U99qclJ9g2Q_BcSPjztWwlz-3GAlFc3EnosMrrhRB0y6L2l2NA0YVocqDoRcLnozHCEPvjl2G7yuLgYDV_o0baFHuQOCu7n-w9WW4rtjNK-x3Skkm_ouBTyLiSennYVkz6cT98/s35/220120111327.jpg', 'profileUrl': 'https://www.blogger.com/profile/09851351747454257652', 'displayTime': 'Jan 1, 2016, 10:12:00 AM', 'deleteclass': 'item-control blog-admin pid-937854010', 'id': '1382095882498388179', 'body': 'Check the link in tutorial for changing date and time ', 'timestamp': '1452723235361', 'permalink': 'https://www.mybloggertricks.com/2015/12/jquery-new-year-popup.html?showCommentx3d1452723235361#c1382095882498388179', 'author': 'name': 'Mohammad Mustafa Ahmedzai', 'avatarUrl': '//lh4.googleusercontent.com/-f8qSqNLtpBU/AAAAAAAAAAI/AAAAAAAAJZA/Yfbvp1almlI/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11681339458447132019', 'displayTime': 'Jan 14, 2016, 3:13:00 AM', 'deleteclass': 'item-control blog-admin pid-1736397285', 'id': '5791517226085721243', 'parentId': '7724268011556610975', 'body': 'Thank you piyush. Gold is gold after all! x3d)', 'timestamp': '1452723305115', 'permalink': 'https://www.mybloggertricks.com/2015/12/jquery-new-year-popup.html?showCommentx3d1452723305115#c5791517226085721243', 'author': 'name': 'Mohammad Mustafa Ahmedzai', 'avatarUrl': '//lh4.googleusercontent.com/-f8qSqNLtpBU/AAAAAAAAAAI/AAAAAAAAJZA/Yfbvp1almlI/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11681339458447132019', 'displayTime': 'Jan 14, 2016, 3:15:00 AM', 'deleteclass': 'item-control blog-admin pid-1736397285', 'id': '610681786870775075', 'parentId': '4245672923814755667', 'body': 'Please read follow the link in tutorial where I have shared how to customize it and change the time stamp ', 'timestamp': '1452723366435', 'permalink': 'https://www.mybloggertricks.com/2015/12/jquery-new-year-popup.html?showCommentx3d1452723366435#c610681786870775075', 'author': 'name': 'Mohammad Mustafa Ahmedzai', 'avatarUrl': '//lh4.googleusercontent.com/-f8qSqNLtpBU/AAAAAAAAAAI/AAAAAAAAJZA/Yfbvp1almlI/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11681339458447132019', 'displayTime': 'Jan 14, 2016, 3:16:00 AM', 'deleteclass': 'item-control blog-admin pid-1736397285'];
var msgs = 'loadMore': 'Load more...', 'loading': 'Loading...', 'loaded': 'No more!', 'addComment': 'Add comment', 'reply': 'Reply', 'delete': 'Delete';
var config = 'blogId': '8193278726666811965', 'postId': '1801102140224833866', 'feed': 'https://www.mybloggertricks.com/feeds/1801102140224833866/comments/default', 'authorName': 'M. Mustafa Ahmedzai', 'authorUrl': 'https://www.blogger.com/profile/11681339458447132019', 'baseUri': 'https://www.blogger.com', 'maxThreadDepth': 2;
// 0)
cursor = parseInt(items[items.length - 1].timestamp) + 1;

var bodyFromEntry = function(entry)
if (entry.gd$extendedProperty)
for (var k in entry.gd$extendedProperty)
if (entry.gd$extendedProperty[k].name == 'blogger.contentRemoved')
return '' + entry.content.$t + '';



return entry.content.$t;

var parse = function(data)
cursor = null;
var comments = ;
if (data && data.feed && data.feed.entry)
for (var i = 0, entry; entry = data.feed.entry[i]; i++)
var comment = ;
// comment ID, parsed out of the original id format
var id = /blog-(d+).post-(d+)/.exec(entry.id.$t);
comment.id = id ? id[2] : null;
comment.body = bodyFromEntry(entry);
comment.timestamp = Date.parse(entry.published.$t) + '';
if (entry.author && entry.author.constructor === Array)
var auth = entry.author[0];
if (auth)
comment.author =
name: (auth.name ? auth.name.$t : undefined),
profileUrl: (auth.uri ? auth.uri.$t : undefined),
avatarUrl: (auth.gd$image ? auth.gd$image.src : undefined)
;


if (entry.link)
if (entry.link[2])
comment.link = comment.permalink = entry.link[2].href;

if (entry.link[3])
var pid = /.*comments/default/(d+)?.*/.exec(entry.link[3].href);
if (pid && pid[1])
comment.parentId = pid[1];



comment.deleteclass = 'item-control blog-admin';
if (entry.gd$extendedProperty)
for (var k in entry.gd$extendedProperty)
if (entry.gd$extendedProperty[k].name == 'blogger.itemClass')
comment.deleteclass += ' ' + entry.gd$extendedProperty[k].value;
else if (entry.gd$extendedProperty[k].name == 'blogger.displayTime')
comment.displayTime = entry.gd$extendedProperty[k].value;



comments.push(comment);


return comments;
;
var paginator = function(callback) {
if (hasMore()) {
var url = config.feed + '?alt=json&v=2&orderby=published&reverse=false&max-results=50';
if (cursor)
url += '&published-min=' + new Date(cursor).toISOString();

window.bloggercomments = function(data) {
var parsed = parse(data);
cursor = parsed.length






  1. Adil Muhammad YousufDec 28, 2015, 9:39:00 PM

    Muhammad Mustafa Bhai, You are my most favorite blogger from Pakistan :) Allah bless you sir.


    ReplyDelete


    Replies




    1. Mohammad Mustafa AhmedzaiDec 29, 2015, 7:26:00 PM

      May Allah bless people like you with respect in heart. =) Thank you for honoring this small man


      Delete




    2. Reply









  2. Paramjot SinghDec 28, 2015, 9:50:00 PM

    Just one Word = WoW..!!!
    Thank You Bro.


    ReplyDelete


    Replies




    1. Mohammad Mustafa AhmedzaiDec 29, 2015, 7:27:00 PM

      Pleasure dear Paramjot! Always welcomed =)
      Happy new year!


      Delete




    2. Reply









  3. Umer PrinceDec 29, 2015, 10:44:00 AM

    A good approach with coding.

    Thanks for the widget!


    ReplyDelete


    Replies




    1. Mohammad Mustafa AhmedzaiDec 29, 2015, 7:27:00 PM

      Thank you for the kind feedback Umer. I am glad you liked it =)


      Delete




    2. Reply









  4. Aana BilsonDec 29, 2015, 11:36:00 AM

    this is really nice idea to wish new year to our visitor

    Regards
    Aana


    ReplyDelete


    Replies




    1. Mohammad Mustafa AhmedzaiDec 29, 2015, 7:28:00 PM

      Thank you for finding it useful Aana =)


      Delete




    2. Reply









  5. Deepak SrivastavaDec 30, 2015, 1:15:00 PM

    how to call it on web page


    ReplyDelete








  6. Haseeb AhmedDec 30, 2015, 11:10:00 PM

    How can i set the exact date and time ...
    its showing 1775 days....


    ReplyDelete


    Replies




    1. Mohammad Mustafa AhmedzaiJan 14, 2016, 3:16:00 AM

      Please read follow the link in tutorial where I have shared how to customize it and change the time stamp


      Delete




    2. Reply









  7. piyush golaniDec 31, 2015, 10:09:00 AM

    Hello Mohammad,

    After seeing live demo, I must say golden color really attracts our eyes.

    you did really amazing coding :)


    ReplyDelete


    Replies




    1. Mohammad Mustafa AhmedzaiJan 14, 2016, 3:15:00 AM

      Thank you piyush. Gold is gold after all! =)


      Delete




    2. Reply









  8. Micko-APWJan 1, 2016, 10:12:00 AM

    great idea, I try to my site. and really works very well


    ReplyDelete








  9. Mohammad Mustafa AhmedzaiJan 14, 2016, 3:13:00 AM

    Check the link in tutorial for changing date and time


    ReplyDelete




Add comment


Load more...












BLOG_CMT_createIframe('https://www.blogger.com/rpc_relay.html');







這個網誌中的熱門文章

How to read a connectionString WITH PROVIDER in .NET Core?

In R, how to develop a multiplot heatmap.2 figure showing key labels successfully

Museum of Modern and Contemporary Art of Trento and Rovereto