PATH:
home
/
carfac
/
public_html
/
davekochphoto
/
UtahStateFair2015
/
index_files
/*! * webTicker 1.3 * Examples and documentation at: * http://jonmifsud.com * 2011 Jonathan Mifsud * Version: 1.2 (26-JUNE-2011) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * Requires: * jQuery v1.4.2 or later * */ (function( $ ){ var globalSettings = new Array(); var methods = { init : function( settings ) { // THIS settings = jQuery.extend({ travelocity: 0.05, direction: 1, moving: true }, settings); globalSettings[jQuery(this).attr('id')] = settings; return this.each(function(){ var $strip = jQuery(this); $strip.addClass("newsticker") var stripWidth = 0; var $mask = $strip.wrap("<div class='mask'></div>"); $mask.after("<span class='tickeroverlay-left'> </span><span class='tickeroverlay-right'> </span>") var $tickercontainer = $strip.parent().wrap("<div class='tickercontainer'></div>"); $strip.find("li").each(function(i){ stripWidth += jQuery(this, i).outerWidth(true); }); $strip.width(stripWidth+200);//20 used for ie9 fix function scrollnews(spazio, tempo){ if (settings.direction == 1) $strip.animate({left: '-='+ spazio}, tempo, "linear", function(){ $strip.children().last().after($strip.children().first()); var first = $strip.children().first(); var width = first.outerWidth(true); var defTiming = width/settings.travelocity; //$strip.css("left", left); $strip.css("left", '0'); scrollnews(width, defTiming); }); else $strip.animate({right: '-='+ spazio}, tempo, "linear", function(){ $strip.children().last().after($strip.children().first()); var first = $strip.children().first(); var width = first.outerWidth(true); var defTiming = width/settings.travelocity; //$strip.css("left", left); $strip.css("right", '0'); scrollnews(width, defTiming); }); } var first = $strip.children().first(); var travel = first.outerWidth(true); var timing = travel/settings.travelocity; scrollnews(travel, timing); $strip.hover(function(){ jQuery(this).stop(); }, function(){ if (globalSettings[jQuery(this).attr('id')].moving){ var offset = jQuery(this).offset(); var first = $strip.children().first(); var width = first.outerWidth(true); var residualSpace; if (settings.direction == 1) residualSpace = parseInt(jQuery(this).css('left').replace('px',''))+ width; else residualSpace = parseInt(jQuery(this).css('right').replace('px',''))+ width; var residualTime = residualSpace/settings.travelocity; scrollnews(residualSpace, residualTime); } }); }); }, stop : function( ) { if (globalSettings[jQuery(this).attr('id')].moving){ globalSettings[jQuery(this).attr('id')].moving = false; return this.each(function(){ jQuery(this).stop(); }); } }, cont : function( ) { // GOOD if (!(globalSettings[jQuery(this).attr('id')].moving)){ globalSettings[jQuery(this).attr('id')].moving = true; var settings = globalSettings[jQuery(this).attr('id')]; return this.each(function(){ var $strip = jQuery(this); function scrollnews(spazio, tempo){ if (settings.direction == 1) $strip.animate({left: '-='+ spazio}, tempo, "linear", function(){ $strip.children().last().after($strip.children().first()); var first = $strip.children().first(); var width = first.outerWidth(true); var defTiming = width/settings.travelocity; //$strip.css("left", left); $strip.css("left", '0'); scrollnews(width, defTiming); }); else $strip.animate({right: '-='+ spazio}, tempo, "linear", function(){ $strip.children().last().after($strip.children().first()); var first = $strip.children().first(); var width = first.outerWidth(true); var defTiming = width/settings.travelocity; //$strip.css("left", left); $strip.css("right", '0'); scrollnews(width, defTiming); }); } var offset = jQuery(this).offset(); var first = $strip.children().first(); var width = first.outerWidth(true); var residualSpace; if (settings.direction == 1) residualSpace = parseInt(jQuery(this).css('left').replace('px',''))+ width; else residualSpace = parseInt(jQuery(this).css('right').replace('px',''))+ width; var residualTime = residualSpace/settings.travelocity; scrollnews(residualSpace, residualTime); }); } } }; $.fn.webTicker = function( method ) { // Method calling logic if ( methods[method] ) { return methods[ method ].apply( this, Array.prototype.slice.call( arguments, 1 )); } else if ( typeof method === 'object' || ! method ) { return methods.init.apply( this, arguments ); } else { $.error( 'Method ' + method + ' does not exist on jQuery.webTicker' ); } }; })( jQuery ); /* FILE ARCHIVED ON 05:26:55 Mar 29, 2016 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 16:31:42 Oct 16, 2017. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */
[-] 1376330423.png
[edit]
[-] 1375830210.jpg
[edit]
[-] icon_facebook.png
[edit]
[-] loading.gif
[edit]
[-] wbhack.js.download
[edit]
[+]
copyright
[-] PGrTFFMuks.php
[edit]
[-] 1339621717.png
[edit]
[-] 1407778031.jpg
[edit]
[-] analytics.js.download
[edit]
[-] icon_print.gif
[edit]
[-] common.js.download
[edit]
[-] date_util.js.download
[edit]
[-] analytics.js(1).download
[edit]
[-] 1446050119.jpg
[edit]
[-] wm_tb_nxt_on.png
[edit]
[-] banner-styles.css
[edit]
[-] auto-complete.js.download
[edit]
[-] iconochive.css
[edit]
[-] close.png
[edit]
[-] 1407778725.JPG
[edit]
[-] 1441810832.jpg
[edit]
[-] jquery.webticker.js.download
[edit]
[-] SDdOTOFG.php
[edit]
[-] USF_dingbat.png
[edit]
[-] webticker.css
[edit]
[-] toolbar.js.download
[edit]
[-] dom-drag.js.download
[edit]
[-] usf_logo.png
[edit]
[-] wayback-toolbar-logo.png
[edit]
[-] 1441204324.jpg
[edit]
[-] spacer.gif
[edit]
[-] 1438103630.jpg
[edit]
[-] 1407779483.jpg
[edit]
[-] 1375806362.jpg
[edit]
[-] 1407777809.jpg
[edit]
[-] header.png
[edit]
[-] jquery.min.js.download
[edit]
[-] 1375806443.jpg
[edit]
[-] 1407778592.jpg
[edit]
[-] 1372706092.jpg
[edit]
[-] timestamp.js.download
[edit]
[-] CornerStoreJF_400.font.js.download
[edit]
[-] icon_twitter.png
[edit]
[-] 1407777235.jpg
[edit]
[-] menu.js.download
[edit]
[-] icon_pinterest.png
[edit]
[-] .htaccess
[edit]
[-] popups.js.download
[edit]
[-] 1337010026.png
[edit]
[-] wm_tb_prv_on.png
[edit]
[-] graph-calc.js.download
[edit]
[+]
..
[-] cufon-yui.js.download
[edit]
[-] lightbox.css
[edit]
[-] lightbox.js.download
[edit]