');// }// // // btn.parent().find('.launch-moodboard-container').html('');// // }// }// });// } else{// jQuery.ajax({// type: "POST",// url: "/modules/mod_concept3/concept_script.php?task=unsave_brief&brief_id="+brief_id+"&t="+Math.random()*Math.random(),// cache: false,// success: function(data) {// if(data.saved){// btn.html('Save');// btn.removeClass('saved');// jQuery('.notes-container.active.'+btn.parent().attr('id')).remove();// // // btn.parent().find('.launch-moodboard-container').html('');// // }// }// });// }// }); }function InitiatePopupStickyScroll(){ var popup_top = jQuery('.generator-container-v3 .modal-popup.in').offset().top; var popup_end = jQuery('.generator-container-v3 .modal-popup.in ').offset().top + jQuery('.generator-container-v3 .modal-popup.in .modal-dialog').height(); var container_end = (jQuery('.generator-container-v3').offset().top + jQuery('.generator-container-v3').height()) - popup_end - 40; var container_edge = container_end - 0; var sidebar_width = jQuery('aside.tm-sidebar-a').width(); var popup_width = jQuery('.generator-container-v3 .modal-popup.in').width(); jQuery('.generator-container-v3 .modal-popup.in .modal-dialog').width(popup_width); jQuery(window).scroll(function (event) { var popup_width = jQuery('.generator-container-v3 .modal-popup.in').width(); jQuery('.generator-container-v3 .modal-popup.in .modal-dialog').width(popup_width); console.log('popup_top: '+popup_top); //console.log('popup_end: '+popup_end); //console.log('container_end: '+container_end); var y = jQuery(this).scrollTop(); if (y >= container_end){ //console.log('y: '+y); popup_top = jQuery('.generator-container-v3 .modal-popup.in').offset().top; jQuery('.generator-container-v3 .modal-popup.in .modal-dialog').css('top', container_edge+'px').addClass('stop'); } else{ jQuery('.generator-container-v3 .modal-popup.in .modal-dialog').css('top', 'auto').removeClass('stop'); } }); jQuery(window).resize(function (event) { var popup_width = jQuery('.generator-container-v3 .modal-popup.in').width(); jQuery('.generator-container-v3 .modal-popup.in .modal-dialog').width(popup_width); });}jQuery('.generator-container-v3 .modal-popup.in .modal-dialog').width(jQuery('.generator-container-v3 .modal-popup.in').width());if(jQuery){ jQuery(document).ready( function() { jQuery('#tab-container').easytabs().bind('easytabs:after', function() { var width = parseInt(jQuery('.concept_tabs.etabs').css('width')); var container_width = parseInt(jQuery('.tab-container').css('width')); var active_tab = jQuery('.concept_tabs').find('.active'); var offset = active_tab.position(); if(width > container_width){ active_tab = jQuery('.concept_tabs').find('.active'); var offset = active_tab.position(); jQuery('.concept_tabs.etabs').animate({'left': '-'+(offset.left - 50)+'px'}, 1000); } CheckAccess(); }); InitiateCheckboxes(); InitiateArrows(); CheckAccess(); jQuery('#generate_concept_btn').click(function(){ if(!locked){ GenerateWords(); } }); ActivateSaveClick(); if(!10){ jQuery('a.repeat-item').addClass('disabled'); } if(!10){ jQuery('a.shuffle-item').addClass('disabled'); } jQuery('.brief-notes').live('click', function(){ var box = jQuery(this); var note = box.text(); if(!box.hasClass('active')){ box.addClass('active'); box.html('Save'); box.find('a').on('click', function(){ var box = jQuery(this).parent(); if(box.hasClass('active')){ var note = box.find('textarea').val(); var brief_id = box.attr('data-id'); jQuery.ajax({ type: "POST", url: "/modules/mod_concept3/concept_script.php?task=save_note&brief_id="+brief_id+"&simulate_user=0¬e="+encodeURIComponent(note), success: function(data) { if(data == 1){ box.removeClass('active'); box.html(note); } else { alert('Sorry we cant save Your note!'); } } }); } }); } }); jQuery('.save-btn').live('click', function(){ var btn = jQuery(this); var brief_id = jQuery(this).attr('data-bried_id'); if(!btn.hasClass('saved')){ jQuery.ajax({ type: "POST", url: "/modules/mod_concept3/concept_script.php?task=save_brief&brief_id="+brief_id+"&simulate_user=0&t="+Math.random()*Math.random(), cache: false, success: function(data) { //console.log(data); btn.addClass('saved'); btn.html('Saved'); //btn.parent().parent().parent().find('.notes-container').addClass('active'); if(jQuery('.notes-container.active.'+btn.attr('id')).length == 0){ btn.parent().after('
Add Note
'); } } }); } else{ jQuery.ajax({ type: "POST", url: "/modules/mod_concept3/concept_script.php?task=unsave_brief&brief_id="+brief_id+"&simulate_user=0&t="+Math.random()*Math.random(), cache: false, success: function(data) { console.log(data); btn.removeClass('saved'); btn.html('Save'); //btn.parent().parent().parent().find('.notes-container').removeClass('active'); jQuery('.notes-container.active.'+btn.parent().attr('id')).remove(); } }); } }); jQuery('#zoom-in').live('click', function(){ jQuery(this).addClass('active'); jQuery('#zoom-out').removeClass('active'); jQuery('.moodboard-container').addClass('zoom-in'); }); jQuery('#zoom-out').live('click', function(){ jQuery(this).addClass('active'); jQuery('#zoom-in').removeClass('active'); jQuery('.moodboard-container').removeClass('zoom-in'); }); jQuery('#reload-moodboard').live('click', function(){ var brief_id = jQuery(this).attr('data-brief_id'); //console.log(brief_id); Custombox.close(); setTimeout(function(){ PreviewMoodboard(brief_id); }, 900) }); jQuery('#close-moodboard').live('click', function(){ Custombox.close(); }); jQuery('#save-moodboard').live('click', function(){ var btn = jQuery(this); var brief_id = jQuery(this).attr('data-brief_id'); var images = {}; //console.log(jQuery('.item-container .img-container')); jQuery('.item-container .img-container').each(function(){ var image_container = jQuery(this); var word = image_container.attr('id').split('-'); //console.log(image_container.find('a img').attr('src')); if(!images[''+word[0]]){ images[''+word[0]] = {}; } if(!images[''+word[0]][''+word[1]]){ images[''+word[0]][''+word[1]] = {}; } images[''+word[0]][''+word[1]]['word_id'] = word[0]; images[''+word[0]][''+word[1]]['thumb'] = image_container.find('a img').attr('src'); images[''+word[0]][''+word[1]]['thumb_width'] = image_container.find('a img').attr('width'); images[''+word[0]][''+word[1]]['thumb_height'] = image_container.find('a img').attr('height'); images[''+word[0]][''+word[1]]['full'] = image_container.find('a').attr('href'); images[''+word[0]][''+word[1]]['keyword'] = jQuery('#keyword-'+word[0]).val(); }) //console.log(images); jQuery.ajax({ type: "POST", data: {images:JSON.stringify(images)}, dataType : 'json', url: "/modules/mod_mybriefs2/briefs_script.php?task=save_moodboard&brief_id="+brief_id+"&simulate_user=0&t="+Math.random()*Math.random(), cache: false, success: function(data) { //console.log(data); btn.hide().html('Saved').addClass('saved').fadeIn(); if(jQuery('.moodboard-stats').length){ jQuery('.moodboard-stats').html(data.moodboard_stats+' MOODBOARDS'); } //if(jQuery('#row-'+brief_id)){ //console.log(jQuery('#row-'+brief_id).find('.generate-moodboard-link')); jQuery('#row-'+brief_id.replace('.', '_')).find('.generate-moodboard-link').addClass('saved') jQuery('#row-'+brief_id.replace('.', '_')).find('.generate-moodboard-link').attr('onclick', 'PreviewMoodboard(\''+brief_id+'\');') jQuery('#row-'+brief_id.replace('.', '_')).find('.generate-moodboard-link').attr('data-cached-title', 'LOAD SAVED'); jQuery('#row-'+brief_id.replace('.', '_')).find('.generate-moodboard-link').attr('title', 'LOAD SAVED'); //} } }); }); jQuery('.item-images .img-container .img-options .img-shuffle').live('click', function(){ var brief_id = jQuery(this).attr('data-brief_id'); var word_id = jQuery(this).attr('data-word_id'); var keyword = jQuery(this).attr('data-keyword'); var container = jQuery(this).attr('data-container'); var position = jQuery(this).attr('data-position'); var key = jQuery(this).attr('data-key'); var range_skip = jQuery('#range-skip-'+word_id).attr('value'); jQuery.ajax({ type: "POST", url: "/modules/mod_mybriefs2/briefs_script.php?task=shuffle_image&option=shuffle&brief_id="+brief_id+"&word_id="+word_id+"&keyword="+keyword+"&key="+key+"&position="+position+"&container="+container+"&bing_positions=1,2,3,4,5,6,7,8,9,10,11,12&groups=46|12,36|11,34|10,45|8,30|7,28|4,27|999&simulate_user=0&range_skip="+range_skip+"&t="+Math.random()*Math.random(), dataType: "json", cache: false, success: function(data) { console.log(data); if(data.image.length && jQuery('#'+data.container)){ jQuery('#'+data.container).html(data.image); initiateImageHoverOptions(); initiateImageZoom(); jQuery('#range-skip-'+word_id).val(data.range_skip_arr); } } }); }); jQuery('.item-images .img-container .img-options .img-next').live('click', function(){ var brief_id = jQuery(this).attr('data-brief_id'); var word_id = jQuery(this).attr('data-word_id'); var keyword = jQuery(this).attr('data-keyword'); var container = jQuery(this).attr('data-container'); var position = jQuery(this).attr('data-position'); var key = jQuery(this).attr('data-key'); var range_skip = jQuery('#range-skip-'+word_id).attr('value'); jQuery.ajax({ type: "POST", url: "/modules/mod_mybriefs2/briefs_script.php?task=shuffle_image&option=next&brief_id="+brief_id+"&word_id="+word_id+"&keyword="+keyword+"&key="+key+"&position="+position+"&container="+container+"&bing_positions=1,2,3,4,5,6,7,8,9,10,11,12&groups=46|12,36|11,34|10,45|8,30|7,28|4,27|999&simulate_user=0&range_skip="+range_skip+"&t="+Math.random()*Math.random(), dataType: "json", cache: false, success: function(data) { console.log(data); if(data.image.length && jQuery('#'+data.container)){ jQuery('#'+data.container).html(data.image); initiateImageHoverOptions(); initiateImageZoom(); jQuery('#range-skip-'+word_id).val(data.range_skip_arr); } } }); }); jQuery('.item-images .img-container .img-options .img-prev').live('click', function(){ var brief_id = jQuery(this).attr('data-brief_id'); var word_id = jQuery(this).attr('data-word_id'); var keyword = jQuery(this).attr('data-keyword'); var container = jQuery(this).attr('data-container'); var position = jQuery(this).attr('data-position'); var key = jQuery(this).attr('data-key'); var range_skip = jQuery('#range-skip-'+word_id).attr('value'); jQuery.ajax({ type: "POST", url: "/modules/mod_mybriefs2/briefs_script.php?task=shuffle_image&option=prev&brief_id="+brief_id+"&word_id="+word_id+"&keyword="+keyword+"&key="+key+"&position="+position+"&container="+container+"&bing_positions=1,2,3,4,5,6,7,8,9,10,11,12&groups=46|12,36|11,34|10,45|8,30|7,28|4,27|999&simulate_user=0&range_skip="+range_skip+"&t="+Math.random()*Math.random(), dataType: "json", cache: false, success: function(data) { console.log(data); if(data.image.length && jQuery('#'+data.container)){ jQuery('#'+data.container).html(data.image); initiateImageHoverOptions(); initiateImageZoom(); jQuery('#range-skip-'+word_id).val(data.range_skip_arr); } } }); }); jQuery('.flag-btn').live('click', function(){ var btn = jQuery(this); if(btn.hasClass('active')){ btn.removeClass('active'); } else{ jQuery('.flag-btn.active').removeClass('active'); btn.addClass('active'); } }); jQuery('#reset-comment-flag').live('click', function(){ jQuery('.flag-btn.active').removeClass('active'); jQuery('#flag_comment').val(''); jQuery('.flag-comment-box').show(); jQuery('.flag-msg-box').hide(); }); jQuery('#submit-comment-flag').live('click', function(){ var btn = jQuery(this); var brief_id = jQuery(this).attr('data-brief_id'); var flag = jQuery('.flag-btn.active'); var problem = jQuery('#flag_select').val(); var comment = jQuery('#flag_comment').val(); var subjectid = flag.attr('data-subjectid'); var images = {}; //console.log(flag.parent().parent().find('.img-container')); if(flag.length == 0){ alert('Please select flag'); return false; } flag.parent().parent().find('.img-container').each(function(){ var image_container = jQuery(this); var word = image_container.attr('id').split('-'); //console.log(image_container.find('a img').attr('src')); if(!images[''+word[0]]){ images[''+word[0]] = {}; } if(!images[''+word[0]][''+word[1]]){ images[''+word[0]][''+word[1]] = {}; } images[''+word[0]][''+word[1]]['word_id'] = word[0]; images[''+word[0]][''+word[1]]['thumb'] = image_container.find('a img').attr('src'); images[''+word[0]][''+word[1]]['thumb_width'] = image_container.find('a img').attr('width'); images[''+word[0]][''+word[1]]['thumb_height'] = image_container.find('a img').attr('height'); images[''+word[0]][''+word[1]]['full'] = image_container.find('a').attr('href'); images[''+word[0]][''+word[1]]['keyword'] = jQuery('#keyword-'+word[0]).val(); }) //console.log(images); jQuery.ajax({ type: "POST", data: {images:JSON.stringify(images)}, dataType : 'json', url: "/modules/mod_mybriefs2/briefs_script.php?task=save_flag&brief_id="+brief_id+'&subjectid='+subjectid+'&problem='+encodeURIComponent(problem)+'&simulate_user=0&comment='+encodeURIComponent(comment), success: function(data) { jQuery('.flag-comment-box').hide(); jQuery('.flag-msg-box').html('
Thank You for helping to improve this service.
').show(); } }); }); //goto that anchor by setting the body scroll top to anchor top setTimeout(function(){ //get the top offset of the target anchor var target = jQuery("#concept_form "+window.location.hash); var target_offset = target.position(); var target_top = target_offset.top; console.log('hash scrolled'); jQuery('html, body').animate({scrollTop:target_top-400}, 500); }, 1000); }); jQuery(window).on('hashchange', function() { setTimeout(function(){ console.log('hashchanged'); var target = jQuery("#concept_form "+window.location.hash); var target_offset = target.position(); var target_top = target_offset.top; //goto that anchor by setting the body scroll top to anchor top jQuery('html, body').animate({scrollTop:target_top-400}, 500); }, 1000); }); function CheckAccess(){ var active_tab = jQuery('.concept_tabs li.active'); var access = active_tab.attr('data-access'); //console.log(active_tab); //console.log(access); //console.log(0); if(0 == 0){ // guest check access if(access == 2){ jQuery('#brief_id_container').hide(); //jQuery('#brief_closed').show(); jQuery(document).ready(function(){ //var safestring = jQuery('
').text(eval('')).html(); //var safestring = jQuery('
').text("").html(); //jQuery('#modal-popup .modal-content').html(safestring); jQuery('#modal-popup-generator-limit').modal({backdrop: 'static', keyboard: false}); jQuery('.generator-container-v3 .modal-popup .modal-dialog').width(jQuery('.generator-container-v3').width()); regenerateTooltips(); setTimeout(function(){InitiatePopupStickyScroll();}, 2000); }); locked = 1; } else{ //jQuery('#brief_closed').hide(); jQuery('#modal-popup-generator-limit').modal('hide'); jQuery('#brief_id_container').show(); locked = 0; } } } function GenerateWords(){ if(locked){ return false; } if(flag){ console.log('btn locked'); return false; } flag = 1; jQuery('#generate_concept_btn').addClass('generating'); jQuery('.ai_prompt').hide(); jQuery('.ai_prompt .ai_prompt_content').hide(); jQuery('.ai_prompt .ai_prompt_title').removeClass('active'); jQuery('.ai_prompt .ai_prompt_content ul').html(''); jQuery('.active .loading').fadeOut(); jQuery('.active .item-word').remove(); jQuery('#brief_msg_container').fadeOut(); var tab = window.location.hash; if(!tab.length){ window.location.hash = jQuery('#tab-container .etabs li:first-child a').attr('href'); tab = window.location.hash; } tab = tab.replace('#', ''); var fields = jQuery(".active .item-checkbox[data-tab='item-"+tab+"']:checked, .active .item-icon input[type=hidden]"); var data = fields.serializeArray(); fields.each(function(index){ var item = jQuery(this).attr('id'); jQuery('#word-'+item+' .loading').fadeIn(); }); //console.log(data); if((generator_clicks % 0 == 0) && generator_clicks > 0){ if(guest_popup_number == 1){ jQuery('#modal-popup-guest_popup1').modal(); setTimeout(function(){InitiatePopupStickyScroll();}, 2000); jQuery('.generator-container-v3 .modal-popup .modal-dialog').width(jQuery('.generator-container-v3').width()); jQuery('#modal-popup-guest_popup1 .close-popup').on('click', function(){ jQuery('#modal-popup-guest_popup1').modal('hide'); }); guest_popup_number++; } else if(guest_popup_number == 2){ jQuery('#modal-popup-guest_popup2').modal(); setTimeout(function(){InitiatePopupStickyScroll();}, 2000); jQuery('.generator-container-v3 .modal-popup .modal-dialog').width(jQuery('.generator-container-v3').width()); jQuery('#modal-popup-guest_popup2 .close-popup').on('click', function(){ jQuery('#modal-popup-guest_popup2').modal('hide'); }); guest_popup_number++; } else if(guest_popup_number == 3){ jQuery('#modal-popup-guest_popup3').modal(); setTimeout(function(){InitiatePopupStickyScroll();}, 2000); jQuery('.generator-container-v3 .modal-popup .modal-dialog').width(jQuery('.generator-container-v3').width()); jQuery('#modal-popup-guest_popup3 .close-popup').on('click', function(){ jQuery('#modal-popup-guest_popup3').modal('hide'); }); guest_popup_number = 1; } else{ guest_popup_number == 1; } } jQuery.ajax({ type: "POST", url: "/modules/mod_concept3/concept_script.php?task=get_words&guest_limit=15&user_limit=0&simulate_user=0&time_frame=1&t="+Math.random()*Math.random(), data: data, cache: false, success: function(data) { jQuery('.active .loading').hide(); //console.log(data); var dataObj = eval('(' + data + ')'); if(dataObj.guest_limit_reached == 1 || dataObj.user_limit_reached == 1){ if(0){ // user if(1 == 1){ // daily //jQuery('#modal-popup .modal-content').html(''); jQuery('#modal-popup-user-limit').modal({backdrop: 'static', keyboard: false}); jQuery('.generator-container-v3 .modal-popup .modal-dialog').width(jQuery('.generator-container-v3').width()); regenerateTooltips(); setTimeout(function(){InitiatePopupStickyScroll();}, 2000); //jQuery('#brief_msg_container').html('
Your daily limit has exceededPlease check back tomorrow
'); } else if(1 == 2){ // forever //jQuery('#modal-popup .modal-content').html(''); jQuery('modal-popup-user-limit').modal({backdrop: 'static', keyboard: false}); jQuery('.generator-container-v3 .modal-popup .modal-dialog').width(jQuery('.generator-container-v3').width()); regenerateTooltips(); setTimeout(function(){InitiatePopupStickyScroll();}, 2000); //jQuery('#brief_msg_container').html('
Your daily limit has exceededPlease check back tomorrow
'); } } else{ // guest if(1 == 1){ // daily //jQuery('#modal-popup .modal-content').html(''); jQuery('#modal-popup-guest-limit').modal({backdrop: 'static', keyboard: false}); jQuery('.generator-container-v3 .modal-popup .modal-dialog').width(jQuery('.generator-container-v3').width()); regenerateTooltips(); setTimeout(function(){InitiatePopupStickyScroll();}, 2000); //jQuery('#brief_msg_container').html('
GUEST LIMIT REACHEDGenerate more Briefs with a MEMBERSHIP'); } else if(1 == 2){ // forever //jQuery('#modal-popup .modal-content').html(''); jQuery('#modal-popup-guest-limit').modal({backdrop: 'static', keyboard: false}); jQuery('.generator-container-v3 .modal-popup .modal-dialog').width(jQuery('.generator-container-v3').width()); regenerateTooltips(); setTimeout(function(){InitiatePopupStickyScroll();}, 2000); //jQuery('#brief_msg_container').html('
Your daily limit has exceededPlease register to access more briefsWhats included?
'); } } jQuery('#brief_msg_container').fadeIn(); } else{ if(jQuery('.active .shuffle-item.active').length == 0 && jQuery('.active .repeat-item.active').length == 0){ jQuery('.active .repeat-item').removeClass('disabled'); jQuery('.active .shuffle-item').removeClass('disabled'); } else{ jQuery('.active .word-repeat-hidden').val(0); jQuery('.active .word-shuffle-hidden').val(0); jQuery('.active .repeat-item').removeClass('active'); jQuery('.active .shuffle-item').removeClass('active'); jQuery('.active .repeat-item').addClass('disabled'); jQuery('.active .shuffle-item').addClass('disabled'); } var words = dataObj.words; if(words){ if(0){ // user jQuery('.active .repeat-item').css('display', 'inline-block'); jQuery('.active .shuffle-item').css('display', 'inline-block'); var repeats = 10 - dataObj.repeats; var shuffles = 10 - dataObj.shuffles jQuery('.repeat-container').html(((repeats > 0)? repeats : 0)+' repeats'); jQuery('.shuffle-container').html(((shuffles > 0)? shuffles : 0)+' shuffles'); if(repeats <= 0){ jQuery('.repeat-item').addClass('disabled'); } if(shuffles <= 0){ jQuery('.shuffle-item').addClass('disabled'); } } var words_long = ''; var words_tab_short = []; //console.log(words); for(var key in words){ //console.log(key); var word = words[key]; word_tab = word.split('|'); var title = word_tab[0]; var description_clean = word_tab[1]; words_long = words_long + ' ' + title; word_tab.shift(); var description = word_tab.join('|'); var short_index = key.replace(/\D/g,''); //console.log(short_index+' => '+title); words_tab_short[short_index] = title; var tooltip = ""; //if(0){ tooltip = description_clean; //} jQuery('.active #word-'+key).append(''+title+''); if(jQuery('.active #word-'+key+'-title').length == 0){ jQuery('.active #word-'+key).append(''); } else{ jQuery('.active #word-'+key+'-title').val(title); } if(jQuery('.active #word-'+key+'-description').length == 0){ jQuery('.active #word-'+key).append(''); } else{ jQuery('.active #word-'+key+'-description').val(description); } if(0){ // user if(jQuery('.active #word-'+key+'-repeat').length == 0){ jQuery('.active #word-'+key).append(''); } if(jQuery('.active #word-'+key+'-shuffle').length == 0){ jQuery('.active #word-'+key).append(''); } } }//console.log(words_tab_short);var desc = jQuery('.concept_tabs.etabs .tab.active .active').attr('data-desc');var prompts_array = [];var ai_array = [];var desc_array = desc.split('\n');for(var yy = 0; yy < desc_array.length; yy++){ var prompt_type = desc_array[yy].split('|'); if(prompt_type[0].indexOf('Prompt') !== -1){ var desc_tab = desc_array[yy]; desc_tab = desc_tab.replace('Prompt', ''); desc_tab = desc_tab.split('|'); var prompt_index = desc_tab[0]; var prompt_string = desc_tab[1]; //console.log(prompt_string); var prompt_tab = prompt_string.split(','); var desc_rand = prompt_tab[Math.floor(Math.random()*prompt_tab.length)]; //console.log('prompt_index '+prompt_index); //console.log('desc_rand '+desc_rand); prompts_array['Prompt'+prompt_index] = desc_rand.trim(); //words_string = words_string + words_long; //jQuery('.ai_prompt .ai_prompt_content #full_prompt').val(words_string); //jQuery('.ai_prompt').show(); } if(prompt_type[0].indexOf('**AI:') !== -1){ var desc_tab = desc_array[yy].replace('**AI:', ''); desc_tab = desc_tab.replace('**', ''); desc_tab = desc_tab.split('|'); var ai_title = desc_tab[0]; var ai_macro = desc_tab[1]; var prompt_output = ai_macro; //console.log('1 '+ai_macro); const regexp = /\[.*?\]/g; const macro_result = ai_macro.matchAll(regexp); for(result of macro_result) { var sequence = result[0]; if(sequence.indexOf('*') !== -1) { var word_id = sequence.replace(/\D/g,''); if(words_tab_short.hasOwnProperty(word_id)){ var word_string = words_tab_short[word_id]; var sequence_temp1 = sequence.replace('*'+word_id, word_string); var sequence_temp2 = sequence_temp1.replace('[', ''); sequence_temp2 = sequence_temp2.replace(']', ''); prompt_output = prompt_output.replace(sequence, sequence_temp2); } else{ prompt_output = prompt_output.replace(sequence, ''); } } else{ if(sequence.indexOf('Prompt') !== -1) { var sequence_temp2 = sequence.replace('[', ''); sequence_temp2 = sequence_temp2.replace(']', ''); if(prompts_array.hasOwnProperty(sequence_temp2)){ prompt_output = prompt_output.replace(sequence, prompts_array[sequence_temp2]); } else{ prompt_output = prompt_output.replace(sequence, ''); } } else{ var word_id = sequence.replace(/\D/g,''); if(words_tab_short.hasOwnProperty(word_id)){ var word_string = words_tab_short[word_id]; prompt_output = prompt_output.replace(sequence, word_string); } else{ prompt_output = prompt_output.replace(sequence, ''); } } } } //console.log('2 '+prompt_output); jQuery('.ai_prompt .ai_prompt_content ul').append('
'); jQuery('.ai_prompt').show(); }} jQuery('#full_prompt_btn').live('click', function(){ var field = jQuery(this).attr('data-field'); jQuery('#'+field).select(); document.execCommand("copy");});jQuery('#shuffle_full_prompt').live('click', function(){ var desc = jQuery('.concept_tabs.etabs .tab.active .active').attr('data-desc'); var desc_tab = desc.split('Prompt|'); var words_string = ''; for(var zz = 1; zz < desc_tab.length; zz++){ var desc_prompt = desc_tab[zz]; var desc_prompt = desc_prompt.split(','); var desc_rand = desc_prompt[Math.floor(Math.random()*desc_prompt.length)]; words_string = words_string + desc_rand.trim() + ' '; } words_string = words_string + words_long; jQuery('.ai_prompt .ai_prompt_content #full_prompt').val(words_string);});} jQuery('#brief_id_container #briefs-list').html(''); if(dataObj.briefs.length){ for(var i=0; i < dataObj.briefs.length; i++){ var brief = dataObj.briefs[i]; var save_wrapper = ''; var show_save = true; if((brief['saved'] && brief['user_id'] != 0)){ show_save = false; } if(0 && show_save){ save_wrapper = 'Save'; } var moodboard_generate_link = ''; if(0 && show_save){ if(brief['saved'] == 1){ moodboard_generate_link = ''+((brief['moodboard_saved'] == 1)? '' : '')+''; } } if(!0){ jQuery('#brief_id_container #briefs-list').append('
'+moodboard_generate_link+''+brief['subject_title']+'#'+brief['number']+'View Brief'+save_wrapper+'
'); } else{ if(brief['saved'] == 1){ jQuery('#brief_id_container #briefs-list').append('
'+moodboard_generate_link+''+brief['subject_title']+'#'+brief['number']+'View Brief'+save_wrapper+'
Add Note
'+brief['notes']+'
'); } else{ jQuery('#brief_id_container #briefs-list').append('
'+moodboard_generate_link+''+brief['subject_title']+'#'+brief['number']+'View Brief'+save_wrapper+'
'); } } } } if(0){ // user if(0){ if(0 > 0){ jQuery('.briefs-stats .counter').html(dataObj.limit_result+' / 0 BRIEFS'); } } else{ if(0 > 0){ jQuery('.briefs-stats .counter').html(dataObj.limit_result+' / 0 BRIEFS'); } } } else{ // guest jQuery('.briefs-stats .counter').html(dataObj.limit_result+' / 15 BRIEFS'); } jQuery('#brief_id_container').fadeIn(); //console.log(dataObj); } flag = 0; jQuery('#generate_concept_btn').removeClass('generating'); console.log('btn unlocked'); setTimeout(function(){ jQuery('.active .loading').hide(); }, 1000); } }); ActivateSaveClick(); generator_clicks++; } function ShowLoginPopup(){ jQuery('#popLogin').trigger('click'); } function ToggleItemShuffle(id){ var item_link = jQuery("#"+id+" .shuffle-item"); if(item_link.hasClass('active')){ item_link.removeClass('active'); jQuery("#"+id+"-shuffle").val(0); } else{ if(jQuery('.active .shuffle-item.active').length == 0 && jQuery('.active .repeat-item.active').length == 0){ item_link.addClass('active'); jQuery("#"+id+"-shuffle").val(1); } else { jQuery('.active .word-repeat-hidden').val(0); jQuery('.active .word-shuffle-hidden').val(0); jQuery('.active .repeat-item').removeClass('active'); jQuery('.active .shuffle-item').removeClass('active'); item_link.addClass('active'); jQuery("#"+id+"-shuffle").val(1); } } // setTimeout(function(){// GenerateWords();// item_link.removeClass('active');// jQuery("#"+id+"-shuffle").val(0);// }, 1000); } } function ToggleItemRepeat(id){ var item_link = jQuery("#"+id+" .repeat-item"); if(!item_link.hasClass('disabled')){ if(item_link.hasClass('active')){ item_link.removeClass('active'); jQuery("#"+id+"-repeat").val(0); } else{ if(jQuery('.active .shuffle-item.active').length == 0 && jQuery('.active .repeat-item.active').length == 0){ item_link.addClass('active'); jQuery("#"+id+"-repeat").val(1); } else { jQuery('.active .word-repeat-hidden').val(0); jQuery('.active .word-shuffle-hidden').val(0); jQuery('.active .repeat-item').removeClass('active'); jQuery('.active .shuffle-item').removeClass('active'); item_link.addClass('active'); jQuery("#"+id+"-repeat").val(1); } } } } function InitiateCheckboxes(){ var fields = jQuery(".item-checkbox:checked"); fields.each(function(index){ var item_name = jQuery(this).attr('name'); jQuery('.input-'+item_name).addClass('checked'); }); jQuery(".item-input").click(function(){ var item = jQuery(this).attr('data-item'); if(jQuery('#'+item).is(':checked')){ if(jQuery('.active .item-checkbox:checked').length > 2){ jQuery(this).removeClass('checked'); jQuery('#'+item).attr("checked", false); } } else{ jQuery(this).addClass('checked'); jQuery('#'+item).attr("checked", true); } }); jQuery(".item-icon label").click(function(){ var item = jQuery(this).attr('for'); //console.log(item); if(jQuery('#'+item).is(':checked')){ if(jQuery('.active .item-checkbox:checked').length > 2){ jQuery('#input-'+item).removeClass('checked'); jQuery('#'+item).attr("checked", false); } } else{ jQuery('#input-'+item).addClass('checked'); jQuery('#'+item).attr("checked", true); } }); } function InitiateArrows(){ var widthParentUl = 0; jQuery('.concept_tabs.etabs li').each(function(){ widthParentUl += jQuery(this).outerWidth(true) }); jQuery('.concept_tabs.etabs li').bind('click', function() { CheckAccess(); }); jQuery('.concept_tabs.etabs').width(widthParentUl); //jQuery('#arrow_left').addClass('inactive'); var width = parseInt(jQuery('.concept_tabs.etabs').css('width')); var container_width = parseInt(jQuery('.tab-container').css('width')); var active_tab = jQuery('.concept_tabs').find('.active'); var offset = active_tab.position(); if(width > container_width){ active_tab = jQuery('.concept_tabs').find('.active'); var offset = active_tab.position(); jQuery('.concept_tabs.etabs').animate({'left': '-'+(offset.left - 50)+'px'}, 1000); CheckAccess(); } jQuery('#arrow_left').click(function(){ var left = parseInt(jQuery('.concept_tabs.etabs').position().left); var active_tab = jQuery('.concept_tabs').find('.active'); var prev_tab = active_tab.prev(); if(prev_tab.length){ prev_tab.find('a').trigger('click'); CheckAccess(); } else{ var last_tab = jQuery('.concept_tabs li').last(); last_tab.find('a').trigger('click'); CheckAccess(); } if(width > container_width){ active_tab = jQuery('.concept_tabs').find('.active'); var offset = active_tab.position(); jQuery('.concept_tabs.etabs').animate({'left': '-'+(offset.left - 50)+'px'}, 1000); } }); jQuery('#arrow_right').click(function(){ var left = parseInt(jQuery('.concept_tabs.etabs').position().left); var width = parseInt(jQuery('.concept_tabs.etabs').css('width')); var container_width = parseInt(jQuery('.tab-container').css('width')); var active_tab = jQuery('.concept_tabs').find('.active'); var next_tab = active_tab.next(); if(next_tab.length){ next_tab.find('a').trigger('click'); CheckAccess(); } else{ var first_tab = jQuery('.concept_tabs li').first(); first_tab.find('a').trigger('click'); CheckAccess(); } if(width > container_width){ active_tab = jQuery('.concept_tabs').find('.active'); var offset = active_tab.position(); jQuery('.concept_tabs.etabs').animate({'left': '-'+(offset.left - 50)+'px'}, 1000); } }); }function GenerateMoodboard(brief_id){ if(0){ Custombox.open({ target: '/modules/mod_mybriefs2/briefs_script.php?task=get_moodboard&brief_id='+brief_id+'&bing_positions=1,2,3,4,5,6,7,8,9,10,11,12&width='+jQuery(window).width()+'&height='+jQuery(window).height()+'&simulate_user=0&groups=46|12,36|11,34|10,45|8,30|7,28|4,27|999&debug=0'+"&t="+Math.random()*Math.random(), loading: { delay: 2000, parent: ['sk-wandering-cubes'], }, overlayOpacity: 0.95, complete: function(){ jQuery(window).trigger('resize'); initiateImageHoverOptions(); initiateImageZoom(); } }); } else{// console.log('limit exceeded!'); } return false;}function PreviewMoodboard(brief_id){ if(0){ Custombox.open({ target: '/modules/mod_mybriefs2/briefs_script.php?task=preview_moodboard&brief_id='+brief_id+'&bing_positions=1,2,3,4,5,6,7,8,9,10,11,12&width='+jQuery(window).width()+'&height='+jQuery(window).height()+'&simulate_user=0&groups=46|12,36|11,34|10,45|8,30|7,28|4,27|999'+"&t="+Math.random()*Math.random(), loading: { delay: 2000, parent: ['sk-wandering-cubes'], }, overlayOpacity: 0.95, complete: function(){ jQuery(window).trigger('resize'); initiateImageHoverOptions(); initiateImageZoom(); } }); } else{// console.log('limit exceeded!'); } return false;}function initiateImageHoverOptions(){ setTimeout(function(){ jQuery('.img-container').hover(function(event){ jQuery(this).find('.img-options').addClass('active'); event.stopPropagation(); }, function(event){ jQuery(this).find('.img-options').removeClass('active'); }); }, 2000);}function initiateImageZoom(){ setTimeout(function(){ initiateMagnifier() }, 2000); setTimeout(function(){ initiateMagnifier() }, 3000); setTimeout(function(){ initiateMagnifier() }, 4000); setTimeout(function(){ initiateMagnifier() }, 5000); setTimeout(function(){ initiateMagnifier() }, 6000); setTimeout(function(){ initiateMagnifier() }, 7000); setTimeout(function(){ initiateMagnifier() }, 8000);}function initiateMagnifier(){ jQuery('.img-container').magnificPopup({ delegate: 'a', type: 'image', closeOnContentClick: false, closeBtnInside: false, mainClass: 'mfp-with-zoom mfp-img-mobile', image: { verticalFit: true }, gallery: { enabled: false }, zoom: { enabled: true, duration: 300, // don't foget to change the duration also in CSS opener: function(element) { return element.find('img'); } } }); }
- EASY Drawing
- CUTE Drawing
- COOL Drawing
- FUN Drawing
- MIXED Drawing
Generate Idea
A.I. PROMPT READY
Your Art Ideas will be listed below Access more features & Become a Member
ACCESS RESTRICTED
Free Art Prompt Generators:
Character | Creature | Environment
GET ACCESS |
- Browse Art Prompts - |
You're all out of ideas today!
VIEW MEMBERSHIPS
Unlock more amazing art ideas and improve your art from $5 per month!
► View the ideas you generated
Special Access Only
For the hobbyist that just loves to doodle, draw and paint; Get instant access to some quick start art prompts that offer exciting challenges based on Easy, Fun, Cute and Cool things to draw!
You might be suffering from art block and don’t know what to draw? or you might just be bored and looking for new and interesting art challenges!? Don’t worry, this happens to the best of artists which is exactly why this art prompt idea generator was created.
Lists of Things to Draw or Paint:
Easy things to draw (free)
Easy, peasy lemon squeezy! These art challenges are simple and straightforward enough for any artist to draw.
GENERATE IDEAS
Mixed things to draw
Shake up the bag and tap into these drawing prompts for a mixture of Easy, Cute, Cool and Fun things to draw or paint.
GENERATE IDEAS
Fun things to draw
Try to contain your excitement! These art prompt ideas are exploding with fun and entertaining drawing challenges.
GENERATE IDEAS
Cute things to draw
Awwww, they’re sooo cute! These extremely adorable drawing ideas are waiting for you to adopt and take them home you.
GENERATE IDEAS
Cool things to draw
It’s all good, no worries - keep your composure. These art prompts present you with some seriously cool things to draw.
GENERATE IDEAS
These drawing prompts provide artists like you with quick sketching ideas rooted in specific categoriesthat are suitable to all. These unique drawing ideas present you with challenging art tasks that revolve around a specific subject that is essentially easy, cute, cool or fun to create; all with different twists for a truly exciting list of drawing ideas. These tasksare taken further by getting you to drawthem in a certain way with a specific medium.
So look no further for quick lists of fun, cute, cool and easy things to draw, paint or sketch!
Published in
Tagged under
- idea generator
- art prompts
- fun ideas
Related items
- NFT Digital Art Prompt Idea Generator
- Art Prompts Idea Generator Quick List
- Art Prompts Portal
- Fan Art Fusion Ideas Generator
- Weapon Design Idea Prompt Generator
More in this category:« Speed Paint Art Prompt Idea Generator
back to top
Art Related Articles
inArt Blog
Efficient Environment design process
inArt Cheat Sheets
inArt Blog