/
home
/
vianto5
/
hidalgoresidences.mx
/
wp-content
/
themes
/
Bridge100
/
bridge
/
js
/
plugins
/
/home/vianto5/hidalgoresidences.mx/wp-content/themes/Bridge100/bridge/js/plugins
mkdir
upload
Name
Size
Mode
Actions
bigtext.js
9459
0644
edit
dl
rm
bootstrap.carousel.js
7535
0644
edit
dl
rm
Chart.min.js
32184
0644
edit
dl
rm
doubletaptogo.js
890
0644
edit
dl
rm
fluidvids.min.js
1324
0644
edit
dl
rm
html5.js
2001
0644
edit
dl
rm
imagesloaded.js
5559
0644
edit
dl
rm
jplayer.min.js
42856
0644
edit
dl
rm
jquery-1.10.2.min.js
93063
0644
edit
dl
rm
jquery.appear.js
4202
0644
edit
dl
rm
jquery.carouFredSel-6.2.1.js
91084
0644
edit
dl
rm
jquery.carouFredSel-6.2.1.min.js
62633
0644
edit
dl
rm
jquery.easing.1.3.js
8097
0644
edit
dl
rm
jquery.event.move.js
14709
0644
edit
dl
rm
jquery.fitvids.js
4979
0644
edit
dl
rm
jquery.flexslider-min.js
22342
0644
edit
dl
rm
jquery.fullPage.min.js
23679
0644
edit
dl
rm
jquery.hoverIntent.min.js
1464
0644
edit
dl
rm
jquery.isotope.min.js
35624
0644
edit
dl
rm
jquery.justifiedGallery.min.js
17827
0644
edit
dl
rm
jquery.mousewheel.min.js
1392
0644
edit
dl
rm
jquery.multiscroll.min.js
13427
0644
edit
dl
rm
jquery.nicescroll.min.js
64524
0644
edit
dl
rm
jquery.prettyPhoto.js
21506
0644
edit
dl
rm
jquery.sticky-kit.min.js
2798
0644
edit
dl
rm
jquery.stretch.js
4153
0644
edit
dl
rm
jquery.stylish-select.min.js
8275
0644
edit
dl
rm
jquery.touchSwipe.min.js
11805
0644
edit
dl
rm
jquery.twentytwenty.js
3769
0644
edit
dl
rm
jquery.waitforimages.js
5171
0644
edit
dl
rm
lemmon-slider.js
13110
0644
edit
dl
rm
lemmon-slider.min.js
6059
0644
edit
dl
rm
mediaelement-and-player.min.js
71027
0644
edit
dl
rm
modernizr-2.6.2.min.js
15414
0644
edit
dl
rm
owl.carousel.min.js
42834
0644
edit
dl
rm
packery-mode.pkgd.min.js
13618
0644
edit
dl
rm
qode-like.js
1034
0644
edit
dl
rm
qode-like.min.js
592
0644
edit
dl
rm
rangeslider.min.js
8168
0644
edit
dl
rm
ScrollToPlugin.min.js
2533
0644
edit
dl
rm
skrollr.js
40194
0644
edit
dl
rm
smoothPageScroll.js
971
0644
edit
dl
rm
smoothPageScroll.min.js
667
0644
edit
dl
rm
SmoothScroll.js
11275
0644
edit
dl
rm
TweenLite.min.js
25452
0644
edit
dl
rm
waypoints.min.js
8064
0644
edit
dl
rm
Edit:
/home/vianto5/hidalgoresidences.mx/wp-content/themes/Bridge100/bridge/js/plugins/jquery.stretch.js
(4153B)
/* strech jQuery Plugin * * Copyright (c) 2010, Tom Switzer <thomas.switzer@gmail.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ (function($) { /** * Expands text to fill up the entire width of its parent (or at least as much * as possible). It does this in 2 ways. First, it finds the largest font-size * for the text that can still fits on one line. If there is still some space * left to fill, it will increase the gap between the words as well to fill the * remaining space. * * For example, say we wanted to make the following title, "Sprockets and * Widgets" take up as much of the full 400px of width as possible: * * <h1 style="width: 400px">Sprockets and Widgets</h1> * <script> * $("h1").contents().fillWidth(); * </script> */ $.fn.stretch = function(opts) { opts = $.extend({}, $.fn.stretch.defaults, opts); if (!(opts.max >= 0) || !(opts.min >= 0)) opts.min = opts.max = 0; this.each(function() { var container = $(this), contents = container.find("> .stretch--handle"); if (!container.hasClass("stretch--resizer") || !contents) { contents = $(this).wrap("<span class='stretch--handle' />").parent(); container = contents.wrap("<div class='stretch--resizer' />").parent(); contents.css("margin", "0").css("padding", "0"); container.css("margin", "0").css("padding", "0"); // Ensures we only work with 1 line. container.css("white-space", "nowrap").css("overflow", "hidden"); } var idealWidth = container.width(), width, min = opts.min || 1, max = min; // Search for a minimum/maximum font size so we can bound our search. if (!opts.max) { do { min = max; max *= 2; container.css("font-size", max + "px"); // If the width isn't changing, then avoid an infinite loop. var realWidth = contents.width(); width = realWidth <= width ? idealWidth : realWidth; } while (width < idealWidth); } else { max = opts.max; if (min == max) container.css("font-size", max + "px"); } if (width == idealWidth) return; // Perform a binary search to find the font-size closest to the ideal. while (min < max) { var c = Math.floor((min + max) / 2); container.css("font-size", c + "px"); width = contents.width(); if (width == idealWidth) break; if (width < idealWidth) min = c + 1; else max = c; } // We may end up on the wrong side of "perfect," so we fix this. if (width > idealWidth) container.css("font-size", (max - 1) + "px"); // Adding a little bit of word spacing will bring us that much closer. var spacing = 0, origWidth = contents.width(), maxSpacing = opts.maxSpacing; do { spacing += 1; container.css("word-spacing", spacing + "px"); width = contents.width(); } while (spacing <= maxSpacing && width <= idealWidth && width > origWidth); container.css("word-spacing", (spacing - 1) + "px"); }); return this; }; $.fn.stretch.defaults = { min: 0, max: 0, maxSpacing: 0 }; })(jQuery);
Save
cmd:
run