Guest

jQuery UI Datepicker on a qTip

By: a guest on Jan 28th, 2012  |  syntax: None  |  size: 0.81 KB  |  hits: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1. $(document).ready(function()
  2. {  
  3.     $("img.calendarIcon-calendarView").qtip({
  4.  
  5.        content: {
  6.             url: 'ajaxContent/caledarInclude.html'
  7.             },
  8.  
  9.         style: {
  10.             name: 'dark',
  11.             tip: 'topMiddle',
  12.             width: { max: 1000 },
  13.             border: {radius: 6, width: 4}
  14.                 },
  15.  
  16.         show: {
  17.             effect: {
  18.                 type: 'slide',
  19.                 length: 300  
  20.                 }
  21.             },
  22.  
  23.         hide: {
  24.             when: 'mouseout',
  25.             fixed: true,
  26.             delay: 750,
  27.             effect: {
  28.                 type: 'slide',
  29.                 length: 300
  30.                 }
  31.             },
  32.  
  33.        position: {
  34.           corner: {
  35.              target: 'bottomMiddle',
  36.              tooltip: 'topMiddle'
  37.           }}      
  38.     });
  39. });