PageSourceSearch

https://www.areagraficadigital.es/lib/fran6gallery/fran6gallery.min.js?v=2.0.99

js areagraficadigital.es collected 2026-10-08 23:15:39 UTC 6,435 bytes, 32 lines download raw bytes

1/*!
2 * fran6gallery v6.1
3 * [email protected]
4 * Date: fri 11 04 11:04:00 2014
5 * Utilitza jquery;
6 *
7 * --- Exemple de crida---------------------------------------------------------:
8 *  <script type="text/javascript">
9 *	$(document).ready(function(){
10 *	   $("#gal6home").fran6gallery({
11 *			duracio: 4000, //delay entre fades
12 *			velocitat: 800, //velocitat fade
13 *			paginacio: 0, //redolinets(0) numeros(1)  no res(2)
14 *			fletxes: false, //fletxes-desplaçament
15 *		});
16 *	});
17 *  <\/script>
18 *
19 *  --- Exemple d'estructura ---------------------------------------------------:
20 *   <div id="qualsevolId">
21 *	<ul class="gal6">
22 *	    <li><img src="../images/timThumb.php?src=trabajos/imagen.jpg&w=700" alt="imagen" /></li>
23 *	    <li><img src="../images/timThumb.php?src=trabajos/imagen.jpg&w=700" alt="imagen" /></li>
24 *	    <li><img src="../images/timThumb.php?src=trabajos/imagen.jpg&w=700" alt="imagen" /></li>
25 *	</ul>
26 *   </div>
27 *
28 *  --- millores próxima versió-------------------------------------------------:
29 *   - canviar el augment infinit de z-index per un "swapDepths()"
30 *   - possibilitat canvi tipus transició.
31 */
32!function(e){e.extend(e.fn,{fran6gallery:function(l){e(this).each((function(){var a=e.extend({duracio:3e3,velocitat:500,paginacio:0,bulletSize:"12px",bulletTextColor:"white",bulletTextColor_selected:"black",bulletBorder:"black",bulletBackground:"gray",bulletBackground_selected:"white",fletxes:!0,autoplay:!0,fran6galleryUrl:"/lib/fran6gallery/",timer:!0,timerBackground:"#e7e7e7",timerColor:"#58585A"},l),t="#"+$(this).attr("id"),o=1,n=1,r=1,d=1;function g(){$(t+" .gal6pag li").removeClass("gal6selected")}function s(e){var l;clearInterval(gal6interval),g(),l=e,$(t+" .gal6 li").removeClass("relative").css({opacity:0,display:"none"}),$(t+" .gal6 li:nth-child("+l+")").css("zIndex",d),$(t+" .gal6pag").css("zIndex",++d),$(t+" .gal6 li:nth-child("+l+")").addClass("relative").css({opacity:0,display:"block"}).animate({opacity:1},a.velocitat),r=l,o=l+1,o>n&&(o=1),$(t+" #gal6img_"+e).addClass("gal6selected")}function c(e){if("prev"==e){var l=r-1;l<=0&&(l=n)}return"next"==e&&(l=r+1)>n&&(l=1),p(l),l}function p(e){$(t+"_gal6counter").text(e+"/"+n)}function u(e){var l=$(t+" .gal6 li:nth-child("+r+")"),i=$(t+" .gal6 li:nth-child("+o+")");2!=a.paginacio&&(g(),p(o),$(t+" #gal6img_"+o).addClass("gal6selected")),i.css("zIndex",++d),l.removeClass("relative"),i.addClass("relative").css({opacity:"0",display:"block"}).animate({opacity:1},a.velocitat,(function(){e||(l.css({opacity:"0",display:"none"}),a.timer&&($(t+" #gal6timer div").css("width","0%"),$(t+" #gal6timer div").animate({width:"100%"},a.duracio-a.velocitat,"linear")))})),++o>n&&(o=1),++r>n&&(r=1)}!function(){if(n=$(t+" .gal6 li").size(),r=n,n>1){if(2!=a.paginacio)for($(t).append('<div class="gal6pag"><ul></ul></div>'),i=1;i<=n;i++)$(t+" .gal6pag ul").append('<li id="gal6img_'+i+'" class="gal6unselected"><span>'+i+"</span></li>"),e=i,$(t+" #gal6img_"+e).bind("click",{numero:e},(function(e){s(e.data.numero)}));a.fletxes&&($(t).append('<div id="gal6left" class="fletxa"><div class="arrow"><svg width="16" height="16" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19.4014 25.1431L8.85851 14.6002C8.77651 14.5233 8.71116 14.4303 8.66649 14.3271C8.62181 14.2239 8.59876 14.1127 8.59876 14.0002C8.59876 13.8878 8.62181 13.7765 8.66649 13.6733C8.71116 13.5701 8.77651 13.4772 8.85851 13.4002L19.4014 2.85735" stroke="white" stroke-width="3.42857" stroke-linecap="round" stroke-linejoin="round" /></svg></div></div><div id="gal6right" class="fletxa"><div class="arrow"><svg width="16" height="16" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.59869 2.85693L19.1416 13.3998C19.2235 13.4767 19.2889 13.5697 19.3336 13.6729C19.3782 13.7761 19.4013 13.8873 19.4013 13.9998C19.4013 14.1122 19.3782 14.2235 19.3336 14.3267C19.2889 14.4299 19.2235 14.5228 19.1415 14.5998L8.59869 25.1426" stroke="white" stroke-width="3.42857" stroke-linecap="round" stroke-linejoin="round" /></svg></div></div>'),$(t+" #gal6left").click((function(){s(c("prev"))}
32)),$(t+" #gal6right").click((function(){s(c("next"))}))),a.timer&&$(t).append('<div id="gal6timer"><div></div></div>'),a.autoplay?(p(o),n>1&&(u(),gal6interval=setInterval((function(){u()}),a.duracio))):u()}else u(!0);var e,l="";l+=t+" .gal6{ margin:0; padding:0; overflow:hidden; z-index:1; background:url("+a.fran6galleryUrl+"loading.gif) no-repeat center center;list-style-type:none;height:auto;position:relative;}",l+=t+" .gal6 li{ position:absolute; opacity:0;display:none;width:100%;top:0;left:0;}",l+=t+" .gal6 li.relative{ position:relative;display:block;}",l+=t+" .gal6 img{ display:block;}",2!=a.paginacio&&(l+=t+" .gal6pag{ position:absolute; right:20px; top:15px; z-index:3;}",l+=t+" .gal6pag ul{ list-style-type: none; margin:0; padding:0; overflow: hidden;}",l+=t+" .gal6pag ul li{font-size: 10px; float:left; height:"+a.bulletSize+"; width:"+a.bulletSize+"; border:solid 1px "+a.bulletBorder+"; text-align: center; margin-left: 3px; cursor:pointer;}",l+=t+" .gal6pag ul li:not(.gal6selected):hover{opacity:.6}",l+=t+" .gal6unselected{ background:"+a.bulletBackground+"; color:"+a.bulletTextColor+";}",l+=t+" .gal6selected{ background: "+a.bulletBackground_selected+"; color:"+a.bulletTextColor_selected+";}");var d="";0==a.paginacio?(d+=t+" .gal6pag ul li span{display:none;}",d+=t+" .gal6pag ul li {border-radius:10px;-moz-border-radius :10px}"):1==a.paginacio&&(d+=t+" .gal6pag ul li span{display:none;}",d+=t+" .gal6pag ul li {border:none; -moz-border-radius : 0px; background-color: transparent;}"),a.fletxes&&(d+=t+" .fletxa{width: 15%;height:100%;position:absolute;top:0;left:0;cursor: pointer;z-index:2;}",d+=t+" #gal6right{left:auto;right:0;}",d+=t+" .fletxa .icon{background-image: url("+a.fran6galleryUrl+"gal6sprite.png);width: 19px;height: 23px;position: absolute;top: 50%;margin-top: -12px;right: 15px;background-position: -19px 0;opacity:.5;text-indent:-9999px;}",d+=t+" #gal6left .icon{ left: 15px; background-position: 0 0;}",d+=t+" .fletxa:hover .icon{opacity:1;}"),a.timer&&(d+=t+" #gal6timer{position:absolute;bottom:0;left:0;height:1px;width:100%;background:"+a.timerBackground+";z-index:10}",d+=t+" #gal6timer div{background:"+a.timerColor+";width:1%;height:1px;}");var g="<style type='text/css'>";g+=l+d,g+="</style>",$(g).appendTo("head")}()}))}})}(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.