jquery ui - dialog

WE HAVE MOVED!

Please visit our new Drupal Website at https://www.xenyo.com我們的新網頁設計公司網頁.

 <?php
 jquery_ui_add('ui.dialog');
  drupal_add_js('$(document).ready(function(){
$("body").after("<div id=\'dialog\'></div>");
$('#dialog').dialog({autoOpen: false,draggable:true,width:500,modal: true,title: "title"});});', 'inline');
  $path = jquery_ui_get_path();
  drupal_add_css($path . '/themes/base/ui.all.css');
?>
 
 
  /* call dialog box with custom message */
  $('#dialog').text('Your message here').dialog('open');
Help Share this Article