SEARCH BLOG

WHAT'S NEW

EDITOR'S PICK

Embracing the Painful Parts of Your Story to Beat Anxiety: A Journey of Transformation

In the fast-paced symphony of the corporate world, anxiety often strikes an unbidden yet familiar note. For many professionals, the pathway to managing anxiety is paved with resistance and denial, an ...

Tech and Touch: Balancing Digital and Physical Worlds for Employee Health

In today's hyper-connected professional landscape, the digital world is as integral to our work life as the air we breathe. Emails, virtual meetings, digital collaborations - they shape our work n...

RANDOM READS

LATEST ARTICLES

Loading ...

RELATED

Cubicle to Sanctuary: Makeover of a Corporate Workspace

There’s a silent revolution unfurling in the corporate corridors. The cubicle, once a boxed embodiment of mechanical efficiency, is undergoing a transformation, morphing into a sanctuary where c...

RELATED

The Ultimate Guide to Virtual Events: Host, Engage, and Succeed in 2025

let loaderArea = $('#loaderArea'); let eventArea = $('#eventArea'); let itemsPerPage = 10; let currentPage = 1; let totalItems = 0; //this will be rewriiten on response of assks on line 307 let arr_cont = []; var already_rendered = false; var readswell_list_name = ''; var store_name = READStore; $(document).ready(function(){ //taoh_blogs_init(); getreadslistdata(); }); function getreadslistdata(queryString=''){ loader(true, loaderArea); // Open or create a database getIntaoDb(dbName).then((db) => { var currpage = currentPage-1; var readswell_list_hash = queryString+currpage+itemsPerPage; readswell_list_name = 'readswell_'+crc32(readswell_list_hash); console.log(readswell_list_name); const datareadswellrequest = db.transaction(store_name).objectStore(store_name).get(readswell_list_name); // get main data datareadswellrequest.onsuccess = ()=> { console.log(datareadswellrequest); const readswellstoredatares = datareadswellrequest.result; if(readswellstoredatares !== undefined && readswellstoredatares !== null && readswellstoredatares !== "" && readswellstoredatares !== "undefined" && readswellstoredatares !== "null"){ const readswellstoredata = datareadswellrequest.result.values; already_rendered = true; //render_asks_template(asks, listChatRooms); render_blog_template(readswellstoredata, eventArea); //taoh_blogs_init(queryString); }else{ taoh_blogs_init(queryString); //taoh_blogs_init(); } } }).catch((error) => { console.log('Getreadswellnesslistdata Error:', error); }); } jQuery.ajaxSetup({ beforeSend: function() { $('.spinner-border').show(); }, complete: function(){ $('.spinner-border').hide(); }, success: function() {} }); $("div").removeClass("card card-item"); //show_pagination('#pagination') function show_pagination(holder) { return $(holder).pagination({ items: totalItems, itemsOnPage: itemsPerPage, currentPage: currentPage, onInit: function() { $("#pagination ul").addClass('pagination'); $("#pagination ul li.disabled").addClass('page-link text-gray'); $("#pagination ul li.active").addClass('page-link bg-primary text-white'); }, onPageClick: function(pageNumber, event) { $("#pagination ul").addClass('pagination'); $("#pagination ul li.disabled").addClass('page-link text-gray'); $("#pagination ul li.active").addClass('page-link bg-primary text-white'); currentPage = pageNumber; //taoh_blogs_init(); already_rendered = false; getreadslistdata(); console.log(pageNumber); } }); } function taoh_blogs_init(queryString="") { var data = { 'taoh_action': 'taoh_central_get', 'ops': 'list', 'offset': currentPage, 'limit': itemsPerPage, 'filters': queryString, };console.log(data); jQuery.post("https://dcedit.org/club/ajax?uslo=2", data, function(response) { console.log(response); //render_blog_template(response, eventArea); indx_reads_list(response); if(!already_rendered){ render_blog_template(response, eventArea); } }).fail(function() { console.log( "Network issue!" ); }) } function call_iframe(e,el) { console.log('video --- ',$(el).closest('.blog_video').attr('data-video')); console.log('video id --- ',$(el).attr('data-video')); video_id = $(el).attr('data-video'); $(el).closest('.blog_video').css('display','none'); var image_div = ``; $(el).closest('.td-post-image').html(image_div); } function render_blog_template(data, slot) { loader(false, loaderArea); slot.empty(); var type_num = typeof(data.output.count); if(data.output === false || type_num === 'object') { slot.append('

No posts to display!

'); return false; } totalItems = data.output.count; $.each(data.output.list, function(i, v){ arr_cont.push(v.conttoken.toString()); var prefix = 'https://cdn.tao.ai'; if(v.blurb.media_type == 'youtube'){ var video_id = getYoutubeId(v.blurb.media_url); v.blurb.image = "http://img.youtube.com/vi/"+video_id+"/maxresdefault.jpg"; var image_div = ``; }else{ v.blurb.image = prefix+"/images/ig/"+encodeURIComponent(v.title)+"/"+v['category'][0]+"/notitle.png"; var image_div = ``; } console.log('descp ---------- ',v.blurb.description); let Str = decode(v.blurb.description); let decodedStr = decodeURIComponent(Str).replace(/\+/g, ' '); console.log('decode descp ---------- ',decodedStr); slot.append(`

` ); }); if(totalItems >= 11) { $('#pagination').show(); show_pagination('#pagination'); }else{ $('#pagination').hide(); } } function indx_reads_list(readslistdata){ var reads_taoh_data = { taoh_data:readswell_list_name,values : readslistdata }; let reads_setting_time = new Date(); reads_setting_time = reads_setting_time.setMinutes(reads_setting_time.getMinutes() + 600); var reads_setting_timedata = { taoh_ttl: readswell_list_name,time:reads_setting_time }; obj_data = { [store_name]:reads_taoh_data,[TTLStore] : reads_setting_timedata }; Object.keys(obj_data).forEach(key => { // console.log(key, obj_data[key]); IntaoDB.setItem(key,obj_data[key]).catch((err) => console.log('Storage failed', err)); }); return false; } // indexed db form submit setInterval(function(){ checkTTL(readswell_list_name,store_name); },30000); //Trending Bar Start var text = ["Mindsets That Help You Find Light Even in the Darkest of Times<\/a>"," What Isnt WorkLife Balance<\/a>","Tools to Clean Your Mind\u2019s Mess: A Journey from Clutter to Clarity<\/a>","How can I use stress to my advantage?<\/a>","The Four Types of People You Need to Live a Stress-Free Work Life<\/a>"];console.log(text); var counter = 0; var elem = document.getElementById("changeText"); var inst = setInterval(change, 3000); function change() { elem.innerHTML = text[counter]; //$('#changeText').val(text[counter]); counter++; if (counter >= text.length) { counter = 0; // clearInterval(inst); // uncomment this if you want to stop refreshing after one cycle } } //Trending Bar End $('.claimedRight').each(function (f) { var newstr = $(this).text().substring(0,250)+'....'; $(this).text(newstr); });
Side Kick

AI-Powered Career Coach assists you with everything around career !

What is a super perfect resume !

7:20

The secret to super perfect resume is keep it simple don’t over do it. Do you need help to create one !

7:20