Title: milene's Replies | WordPress.org

---

# milene

  [  ](https://wordpress.org/support/users/milene/)

 *   [Profile](https://wordpress.org/support/users/milene/)
 *   [Topics Started](https://wordpress.org/support/users/milene/topics/)
 *   [Replies Created](https://wordpress.org/support/users/milene/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/milene/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/milene/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/milene/engagements/)
 *   [Favorites](https://wordpress.org/support/users/milene/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[jQuery UI Widgets] TypeError: $(…).dialog is not a function](https://wordpress.org/support/topic/typeerror-dialog-is-not-a-function-2/)
 *  Thread Starter [milene](https://wordpress.org/support/users/milene/)
 * (@milene)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/typeerror-dialog-is-not-a-function-2/#post-7276597)
 * Yes I tried to load only the widgets I needed with the custom download (core.
   js, widget.js, mouse.js, position.js, draggable.js, resizable.js, button.js, 
   dialog.js) but I have still the error.
 * I don’t know what to do.
 * The HTML dialog is already on a wordpress page. But not working.
 *     ```
       <?php /* Template Name: Vision 2020 */ ?>
       <?php get_header('cofely-display'); ?>
   
       <script language="javascript" type="text/javascript">
       	jQuery(document).ready(function($) {
   
       		var dialogPdf = $("#dialog").dialog({ autoOpen: false });
   
       		$('#trigger').click(function(e){
       			dialogPdf.dialog('open');
       			return false;
       		});
       	});
       </script>
   
       <div id="dialog" class="dialog" style="display:none">
       	<?php
       	$file = get_field('livret_pdf');
       	if( $file ): ?>
       	    <div>
       	    	<iframe src="<?php echo $file['url']; ?>"></iframe>
       	    </div>
           <?php endif; ?>
       </div>
       ```
   
 * Maybe a conflict somewhere ? Is it possible ?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[jQuery UI Widgets] TypeError: $(…).dialog is not a function](https://wordpress.org/support/topic/typeerror-dialog-is-not-a-function-2/)
 *  Thread Starter [milene](https://wordpress.org/support/users/milene/)
 * (@milene)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/typeerror-dialog-is-not-a-function-2/#post-7276592)
 * Sorry mishandling. Here is the rest of my message :
 * I tried the code you gave me, but still nothing. Any idea ?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[jQuery UI Widgets] TypeError: $(…).dialog is not a function](https://wordpress.org/support/topic/typeerror-dialog-is-not-a-function-2/)
 *  Thread Starter [milene](https://wordpress.org/support/users/milene/)
 * (@milene)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/typeerror-dialog-is-not-a-function-2/#post-7276590)
 * Hi David,
 * Thanks for you reply.
 * I downloaded the custom file from this website [http://jqueryui.com/download/](http://jqueryui.com/download/)
   and check that the file contained the dialog widget, dialog.js.
 * By saying “using the plugin” you mean if the librairy is well included in my 
   website ?
 * I called the file in function.php :
 *     ```
       wp_register_script('jquery-ui', get_template_directory_uri() . '/js/jquery-ui.js', array('jquery'), '1.0.0'); // Custom scripts
       wp_enqueue_script('jquery-ui'); // Enqueue it!
   
       wp_register_script('jquery-ui-min', get_template_directory_uri() . '/js/jquery-ui.min.js', array('jquery'), '1.0.0'); // Custom scripts
       wp_enqueue_script('jquery-ui-min'); // Enqueue it!
       ```
   
 * Also, I tried to replace
    `$(document).ready(function() {` By your code (I already
   tried it) ` jQuery(document).ready(function($) {
 * var dialogPdf = $(“#dialog”).dialog({ autoOpen: false });
 *  $(‘#trigger’).click(function(e){
    dialogPdf.dialog(‘open’); return false; });});
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gallery - Video Gallery and Youtube Gallery] Pop up for Video Gallery/Content-Popup doesn't display](https://wordpress.org/support/topic/pop-up-for-video-gallerycontent-popup-doesnt-display/)
 *  Thread Starter [milene](https://wordpress.org/support/users/milene/)
 * (@milene)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/pop-up-for-video-gallerycontent-popup-doesnt-display/#post-7164574)
 * Hello, thanks for your reply.
 * This is the link of my video galery :
 * [http://cofely-se.milenehays.com/videos-cofely-2/](http://cofely-se.milenehays.com/videos-cofely-2/)
 * Thanks by advance
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gallery - Video Gallery and Youtube Gallery] No HD thumbnails in my video gallery](https://wordpress.org/support/topic/no-hd-thumbnails-in-my-video-gallery/)
 *  Thread Starter [milene](https://wordpress.org/support/users/milene/)
 * (@milene)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/no-hd-thumbnails-in-my-video-gallery/#post-7161696)
 * Hello, thanks for your reply.
 * This is the link of my video galery :
 * [http://cofely-se.milenehays.com/videos-cofely-2/](http://cofely-se.milenehays.com/videos-cofely-2/)
 * I found the solution for this. I don’t change the width of elements on galery.
   If I change it, images are pixelated.
 * But It’s weird we can’t have great quality for youtube default thumbnails.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cloudy] Wrong animation on your website!](https://wordpress.org/support/topic/wrong-animation-on-your-website/)
 *  [milene](https://wordpress.org/support/users/milene/)
 * (@milene)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wrong-animation-on-your-website/#post-6627247)
 * Hi,
 * I visited my website this morning and I noticed a bug on firefox.
 * And thanks, it works for me too ! When the update will be available to fix the
   problem available ?
 * Milène

Viewing 6 replies - 1 through 6 (of 6 total)