什么网站在线看伦理片_伦一理电影在线观看

    Poshy Tip jQuery Plugin Demo Page

    The default browser tooltip that displays the value of the title attribute is replaced with a "poshier" version:

    Hover for a tooltip

    $('#demo-basic').poshytip();

    Using different tooltip classes is easy. Here are some examples that are included in the download package (in the "src" folder).

    .tip-yellow

    $('#demo-tip-yellow').poshytip();

    .tip-violet

    $('#demo-tip-violet').poshytip({
    	className: 'tip-violet',
    	bgImageFrameSize: 9
    });

    .tip-darkgray

    $('#demo-tip-darkgray').poshytip({
    	className: 'tip-darkgray',
    	bgImageFrameSize: 11,
    	offsetX: -25
    });

    .tip-skyblue

    $('#demo-tip-skyblue').poshytip({
    	className: 'tip-skyblue',
    	bgImageFrameSize: 9,
    	offsetX: 0,
    	offsetY: 20
    });

    .tip-yellowsimple (no background-image used for the tooltip body)

      $('#demo-tip-yellowsimple').poshytip({
      	className: 'tip-yellowsimple',
      	showTimeout: 1,
      	alignTo: 'target',
      	alignX: 'center',
      	offsetY: 5,
      	allowTipHover: false
      });

      .tip-twitter (ala Twitter)

      $('#demo-tip-twitter').poshytip({
      	className: 'tip-twitter',
      	showTimeout: 1,
      	alignTo: 'target',
      	alignX: 'center',
      	offsetY: 5,
      	allowTipHover: false,
      	fade: false,
      	slide: false
      });

      .tip-green

      $('#demo-tip-green').poshytip({
      	className: 'tip-green',
      	offsetX: -7,
      	offsetY: 16,
      	allowTipHover: false
      });

      Adding form input field tooltips is simple. You just have to make sure they are triggered on focus/blur (i.e. showOn: 'focus') and positioned relatively to the target element (i.e. alignTo: 'target'). The script also updates the position of such tooltips if the window is resized (e.g. show some of the tips below and resize your browser window for a demo).


      $('#demo-form-name').poshytip({
      	className: 'tip-yellowsimple',
      	showOn: 'focus',
      	alignTo: 'target',
      	alignX: 'right',
      	alignY: 'center',
      	offsetX: 5
      });


      $('#demo-form-email').poshytip({
      	className: 'tip-yellowsimple',
      	showOn: 'focus',
      	alignTo: 'target',
      	alignX: 'left',
      	alignY: 'center',
      	offsetX: 5
      });


      $('#demo-form-site').poshytip({
      	className: 'tip-yellowsimple',
      	showOn: 'focus',
      	alignTo: 'target',
      	alignX: 'inner-left',
      	offsetX: 0,
      	offsetY: 5
      });


      $('#demo-form-subject').poshytip({
      	className: 'tip-yellowsimple',
      	showOn: 'focus',
      	alignTo: 'target',
      	alignX: 'center',
      	alignY: 'bottom',
      	offsetX: 0,
      	offsetY: 5
      });

      Poshy Tip supports using a function for returning the tooltip content and the script also passes an update callback function as an argument to this function. By using this callback, you can easily update asynchronously the content of the tooltip after it has been displayed. The script also recalculates and updates the position of the tooltip when its content is updated.

      Update content after 1 second

        $('#demo-async-timeout').poshytip({
        	content: function(updateCallback) {
        		window.setTimeout(function() {
        			updateCallback('Tooltip content updated!');
        		}, 1000);
        		return 'Loading...';
        	}
        });

        A more complicated example of loading some Flickr images by tags:

        flowers, closeup, sunset, architecture, Plovdiv, old, town, Nesebar, depeche

          var flickrFeedsCache = {};
          
          $('#demo-async-flickr > a').poshytip({
          	className: 'tip-darkgray',
          	bgImageFrameSize: 11,
          	alignY: 'bottom',
          	content: function(updateCallback) {
          		var rel = $(this).attr('rel');
          		if (flickrFeedsCache[rel] && flickrFeedsCache[rel].container)
          			return flickrFeedsCache[rel].container;
          		if (!flickrFeedsCache[rel]) {
          			flickrFeedsCache[rel] = { container: null };
          			var tagsComma = rel.substring(4).replace('-', ',');
          			$.getJSON('http://api.flickr.com/services/feeds/photos_public.gne?tags=' + tagsComma + '&tagmode=all&format=json&jsoncallback=?',
          				function(data) {
          					var container = $('<div/>').addClass('flickr-thumbs');
          					$.each(data.items, function(i, item) {
          						$('<a/>')
          							.attr('href', item.link)
          							.append($('<img/>').attr('src', item.media.m))
          							.appendTo(container)
          							.data('tip', '<strong>' + (item.title || '(no title)') + '</strong><br />by: ' + item.author.match(/\((.*)\)/)[1]);
          						if (i == 4)
          							return false;
          					});
          					// add tips for the images inside the main tip
          					container.find('a').poshytip({
          						content: function(){return $(this).data('tip');},
          						className: 'tip-yellowsimple',
          						showTimeout: 100,
          						alignTo: 'target',
          						alignX: 'center',
          						alignY: 'bottom',
          						offsetY: 5,
          						allowTipHover: false,
          						hideAniDuration: 0
          					});
          					// store the content in the cache
          					// and call updateCallback() to update the content in the main tooltip
          					updateCallback(flickrFeedsCache[rel].container = container);
          				}
          			);
          		}
          		return 'Loading images...';
          	}
          });

          If using the followCursor: true option, it's better to make sure the the slide animation effect is disabled (i.e. slide: false) so that it doesn't conflict with the code that moves the tooltip with the cursor.

          Hover for a tooltip that follows the cursor

          $('#demo-follow-cursor').poshytip({
          	followCursor: true,
          	slide: false
          });

          If you like, you can add a tooltip to some element(s) and configure it to not be triggered automatically on hover or focus/blur by using the showOn: 'none' option. You can then control the tooltip manually via the available methods.

          This link has a tooltip that is not triggered automatically

          $('#demo-manual-trigger').poshytip({
          	content: 'Hey, there! This is a tooltip.',
          	showOn: 'none',
          	alignTo: 'target',
          	alignX: 'inner-left',
          	offsetX: 0,
          	offsetY: 5
          });
          $('#button-show').click(function() { $('#demo-manual-trigger').poshytip('show'); });
          $('#button-hide').click(function() { $('#demo-manual-trigger').poshytip('hide'); });
          $('#button-update').click(function() { $('#demo-manual-trigger').poshytip('update', 'I am a new content :)'); });
          $('#button-disable').click(function() { $('#demo-manual-trigger').poshytip('disable'); });
          $('#button-enable').click(function() { $('#demo-manual-trigger').poshytip('enable'); });
          $('#button-destroy').click(function() { $('#demo-manual-trigger').poshytip('destroy'); });

          You can set the liveEvents: true option to use live events. Note that the API methods (except 'destroy') won't work reliably in such case. They will only work for the elements for which the tooltip has been initialized (i.e. shown at least once). Live events are supported in jQuery 1.4.2+.

          Hover for a tooltip

            $('#demo-live-events > a').poshytip({
            	liveEvents: true
            });
            $('#button-live-events').click(function() {
            	$('#demo-live-events').append(', <a title="Hey, there! This is a tooltip." href="#">Hover for a tooltip</a>');
            });

            content String, DOM element, Function, jQuery
            Possible Values: '[title]', 'string', element, function(updateCallback){...}, jQuery
            Content to display.
            className String
            Class for the tips.
            bgImageFrameSize Number
            Size in pixels for the background-image (if set in CSS) frame around the inner content of the tip.
            showTimeout Number
            Timeout before showing the tip (in milliseconds 1000 == 1 second).
            hideTimeout Number
            Timeout before hiding the tip.
            timeOnScreen Number
            How long the tip will be displayed before automatically hiding.
            showOn String
            Possible Values: 'hover', 'focus', 'none'
            Handler for showing the tip. Use 'none' if you would like to trigger the tooltip just manually (i.e. by calling the 'show' and 'hide' methods).
            liveEvents Boolean
            Use live events.

            Note that the API methods (except 'destroy') won't work reliably when live events are used. They will only work for the elements for which the tooltip has been initialized (i.e. shown at least once). Live events are supported in jQuery 1.4.2+.
            alignTo String
            Possible Values: 'cursor', 'target'
            Align/position the tip relative to
            alignX String
            Possible Values: 'right', 'center', 'left', 'inner-left', 'inner-right'
            Horizontal alignment for the tip relative to the mouse cursor or the target element - values 'inner-*' matter if alignTo:'target'
            alignY String
            Possible Values: 'bottom', 'center', 'top', 'inner-bottom', 'inner-top'
            Vertical alignment for the tip relative to the mouse cursor or the target element - values 'inner-*' matter if alignTo:'target'
            offsetX Number
            Offset X pixels from the default position - doesn't matter if alignX:'center'
            offsetY Number
            Offset Y pixels from the default position - doesn't matter if alignY:'center'
            allowTipHover Boolean
            Allow hovering the tip without hiding it onmouseout of the target - matters only if showOn:'hover'
            followCursor Boolean
            If the tip should follow the cursor - matters only if showOn:'hover' and alignTo:'cursor'
            fade Boolean
            Use fade animation.
            slide Boolean
            Use slide animation.
            slideOffset Number
            Slide animation offset.
            showAniDuration Number
            Show animation duration.
            hideAniDuration Number
            Hide animation duration.

            .poshytip('show')
            Manually show the tooltip. Make sure the alignTo option is set to 'target' in order the tooltip to be properly positioned when you trigger it.
            .poshytip('hide')
            Manually hide the tooltip.
            .poshytip('update', content, [ dontOverwriteOption ] )
            Update the tooltip content at any time.
            content '[title]', 'string', element, function(updateCallback){...}, jQuery
            dontOverwriteOption (optional) A boolean flag - if set to true the content will be updated just temporary while the tooltip is active. The next time it is shown again, the default content will be used.
            Examples:
            - Update content permanently (works even when the tooltip is not active):
            .poshytip('update', 'New permanent content')
            - Update content temporary while the tooltip is active:
            .poshytip('update', 'Temporary content', true)
            .poshytip('disable')
            Disable the tooltip.
            .poshytip('enable')
            Enable the tooltip.
            .poshytip('destroy')
            Destroy completely the tooltip functionality.

            Like jQuery, Poshy Tip is dual licensed under the MIT and GPL licenses.

            Download link: http://vadikom.com/files/?file=poshytip/poshytip-1.1.zip

            The Poshy Tip source code is also available at GitHub:

            git clone git://github.com/vadikom/poshytip.git

            Post your questions/suggestions in the support forums.

            If you appreciate this script, you can support me by donating a small amount through PayPal or just by sp阅读ing the word about it. Your support is highly appreciated!

            1O36AdJcdiOALxwEj2C3TwrFoNYmEoGRFMrPjoXM7Hk6M98Cjw79VafwIzP2UrgmzvYdcXYd0qTkDOsBtmVpvQqNIJVBGHSzxP5v3OIOvy5QFQYYheDcdlysjp3Rg1YK8uNJqNM9OEUQj6hdQvxfRs0MOrlYXYVEfqomJPovFt8VE6uIDg3X6kwN4U2YxPBjmZQIRPZo4mrXbCAi1LJTT034UbBT2Ui6d9A6RXbEONBONSjW2kkmKpY5GzGe7n5HRnu2moc2wWQufjovCq9Xmp0TyAN7OiD98FKJSLDYYx5Kn5RSdCrJ65T9cQClhy5TvyzaUCSfqnaccpiB72fTil4GaUaR6qZ7rUirjzgcKStYUzOJx3PalMFFkQVMi6LAwKcfL6PM8cB8QYDPE2L6ImK7zXZtYuInjs1kIFlpHnKzd98ZXXxYlpDwgmEnNzSSTu9cYOPi2KkveHzZkh6B8pLB6zochuEgpLhhTOzVsb3Jdi0jwtkjelosuIQo3xGN99I2iiiRFqmfxRCNE1t3SJLaxn9a7CrSVRd91tDVd5vFHPLnYY6DjFV2KQg4LQ13hFec26V1jiYYWxXuabAGmwaG2SJz7cLYGyrXAT3AZXrrfXnwXtzVglvZbNyLpldY1GegqXpDeLd6S6XqPd8MxapP0m1BprImd2KjzsAXZk5LTTfXiqwkyh9LMLDFf5Ts2uEOGn7qRSAl1kazhttp://m.mxgh-xh.com.cnhttp://www.21dry.cn/8943.xmlhttp://www.kbhsoft.com.cn/qmoqh.xmlhttp://www.kbhsoft.com.cn/ugu.xmlhttp://www.hayongsheng.com.cn/951.xmlhttp://www.kbhsoft.com.cn/373.xmlhttp://www.21dry.cn/2531.xmlhttp://www.scxyy.com.cn/6636.xmlhttp://www.cnyitian.cn/892.xmlhttp://www.hayongsheng.com.cn/2946.xmlhttp://www.kbhsoft.com.cn/nS41W.xml在线理伦影片