Title: Missing files
Last modified: August 21, 2016

---

# Missing files

 *  [migueltavares](https://wordpress.org/support/users/migueltavares/)
 * (@migueltavares)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/missing-files-14/)
 * Failed to load resource: the server responded with a status of 404 (Not Found)
   [http://www.xxxxxxxx.com/plugins/popup-lightbox/js/popup.js?ver=0.1](http://www.xxxxxxxx.com/plugins/popup-lightbox/js/popup.js?ver=0.1)
 * [http://wordpress.org/plugins/popup-lightbox/](http://wordpress.org/plugins/popup-lightbox/)

Viewing 1 replies (of 1 total)

 *  [kraudio](https://wordpress.org/support/users/kraudio/)
 * (@kraudio)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/missing-files-14/#post-4351071)
 *     ```
       (function($){
       	$(function() {
   
       		var pop = $('#popup');
   
       		setTimeout(function(){
   
       			if(pop.length == 1){
       		        $.colorbox({
       		            html: pop.html(),
       		            scalePhotos : false,
       		    		opacity: 0.7,
       		            maxWidth:($(window).width() - 20),
       		            onLoad: function(){
       		            	$('html,body').animate({
       		        			scrollTop: 0
       		        		}, 200, "swing");
       		            	var current_time = Math.ceil((new Date().getTime())/1000);
   
       		            	setCookie("pl-open-time-" + POPUP_ID, current_time, 10);
       		            	setCookie("pl-showed-" + POPUP_ID, 1, 10);
       		            }
       		        });
       			}
       		}, 200);
           });
   
       	function setCookie(c_name, value, exdays) {
       	    var exdate = new Date();
       	    exdate.setDate(exdate.getDate() + exdays);
       	    var c_value = escape(value) + ((exdays == null) ? "" : "; expires=" + exdate.toUTCString());
       	    document.cookie = c_name + "=" + c_value;
       	}
   
       })(jQuery);
       ```
   
 * _[Moderator Note: Please post code & markup between backticks or use the code
   button. Your posted code may now have been permanently damaged by the forum’s
   parser.]_

Viewing 1 replies (of 1 total)

The topic ‘Missing files’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/popup-lightbox_466989.svg)
 * [Popup Lightbox](https://wordpress.org/plugins/popup-lightbox/)
 * [Support Threads](https://wordpress.org/support/plugin/popup-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-lightbox/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [kraudio](https://wordpress.org/support/users/kraudio/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/missing-files-14/#post-4351071)
 * Status: not resolved