diff --git a/src/css/main.css b/src/css/main.css index ad5849e..b6d9fca 100644 --- a/src/css/main.css +++ b/src/css/main.css @@ -76,7 +76,6 @@ body { font: 21px/30px Hectic, serif; color: #3b3b3b; background: #a3c5c4; /*url("../img/background-general.jpg");*/ - overflow: hidden; } .wrapper { @@ -289,6 +288,9 @@ nav a.current { .inicio .main-container a { margin: 0 auto; display: inline-block; + width: 500px; + height: 345px; + /*background: url('../img/entrada.gif'); */ } .filosofia .main-container { @@ -453,6 +455,51 @@ nav a.current { border-radius: 0 0 12px 0; } +/* ========================================================================== + Slideshow + ========================================================================== */ + +.slider-wrapper { + position: absolute; + height:550px; + top: 0; + right: 0; + float: right; + width: 860px; + display: table-cell; +} + +.nivoSlider { + height: 550px !important; +} + +.nivo-main-image { + height: 550px; +} + +#slideshow { + position:relative; + height:550px; +} + +#slideshow img { + position:absolute; + top:0; + left:0; + z-index:8; + opacity:0.0; +} + +#slideshow img.active { + z-index:10; + opacity:1.0; +} + +#slideshow img.last-active { + z-index:9; +} + + /* ========================================================================== Helper classes ========================================================================== */ @@ -513,7 +560,7 @@ nav a.current { .clearfix { *zoom: 1; -} + /* ========================================================================== Print styles @@ -621,4 +668,5 @@ nav a.current { .footer-container footer span { font: 36px/24px MarkerLitterBox, serif; } -} \ No newline at end of file +} + diff --git a/src/fotos/alpargatas.jpg b/src/fotos/alpargatas.jpg new file mode 100644 index 0000000..6e01b38 Binary files /dev/null and b/src/fotos/alpargatas.jpg differ diff --git a/src/fotos/alpargatas1.jpg b/src/fotos/alpargatas1.jpg new file mode 100644 index 0000000..a3d1b86 Binary files /dev/null and b/src/fotos/alpargatas1.jpg differ diff --git a/src/fotos/alpargatas1_small.jpg b/src/fotos/alpargatas1_small.jpg new file mode 100644 index 0000000..94dc914 Binary files /dev/null and b/src/fotos/alpargatas1_small.jpg differ diff --git a/src/fotos/alpargatas2.jpg b/src/fotos/alpargatas2.jpg new file mode 100644 index 0000000..85246d3 Binary files /dev/null and b/src/fotos/alpargatas2.jpg differ diff --git a/src/fotos/alpargatas2_small.jpg b/src/fotos/alpargatas2_small.jpg new file mode 100644 index 0000000..22bb2f3 Binary files /dev/null and b/src/fotos/alpargatas2_small.jpg differ diff --git a/src/fotos/alpargatas_small.jpg b/src/fotos/alpargatas_small.jpg new file mode 100644 index 0000000..b27027c Binary files /dev/null and b/src/fotos/alpargatas_small.jpg differ diff --git a/src/fotos/awa-blancas.jpg b/src/fotos/awa-blancas.jpg new file mode 100644 index 0000000..a5018a4 Binary files /dev/null and b/src/fotos/awa-blancas.jpg differ diff --git a/src/fotos/awa-blancas_small.jpg b/src/fotos/awa-blancas_small.jpg new file mode 100644 index 0000000..adaf6ae Binary files /dev/null and b/src/fotos/awa-blancas_small.jpg differ diff --git a/src/fotos/awa-gris.jpg b/src/fotos/awa-gris.jpg new file mode 100644 index 0000000..0cf4731 Binary files /dev/null and b/src/fotos/awa-gris.jpg differ diff --git a/src/fotos/awa-gris_small.jpg b/src/fotos/awa-gris_small.jpg new file mode 100644 index 0000000..072a513 Binary files /dev/null and b/src/fotos/awa-gris_small.jpg differ diff --git a/src/fotos/awa-negra.jpg b/src/fotos/awa-negra.jpg new file mode 100644 index 0000000..32060f5 Binary files /dev/null and b/src/fotos/awa-negra.jpg differ diff --git a/src/fotos/awa-negra_small.jpg b/src/fotos/awa-negra_small.jpg new file mode 100644 index 0000000..6409cca Binary files /dev/null and b/src/fotos/awa-negra_small.jpg differ diff --git a/src/fotos/bolsos.jpg b/src/fotos/bolsos.jpg new file mode 100644 index 0000000..abfd07d Binary files /dev/null and b/src/fotos/bolsos.jpg differ diff --git a/src/fotos/bolsos_small.jpg b/src/fotos/bolsos_small.jpg new file mode 100644 index 0000000..8f285e6 Binary files /dev/null and b/src/fotos/bolsos_small.jpg differ diff --git a/src/fotos/famous.jpg b/src/fotos/famous.jpg new file mode 100644 index 0000000..cd343ea Binary files /dev/null and b/src/fotos/famous.jpg differ diff --git a/src/fotos/famous_small.jpg b/src/fotos/famous_small.jpg new file mode 100644 index 0000000..d746614 Binary files /dev/null and b/src/fotos/famous_small.jpg differ diff --git a/src/fotos/havaianas1.jpg b/src/fotos/havaianas1.jpg new file mode 100644 index 0000000..807a08d Binary files /dev/null and b/src/fotos/havaianas1.jpg differ diff --git a/src/fotos/havaianas1_small.jpg b/src/fotos/havaianas1_small.jpg new file mode 100644 index 0000000..12adb67 Binary files /dev/null and b/src/fotos/havaianas1_small.jpg differ diff --git a/src/fotos/inaguracion.jpg b/src/fotos/inaguracion.jpg new file mode 100644 index 0000000..65070cb Binary files /dev/null and b/src/fotos/inaguracion.jpg differ diff --git a/src/fotos/inaguracion_small.jpg b/src/fotos/inaguracion_small.jpg new file mode 100644 index 0000000..7329c67 Binary files /dev/null and b/src/fotos/inaguracion_small.jpg differ diff --git a/src/fotos/inventos.jpg b/src/fotos/inventos.jpg new file mode 100644 index 0000000..0293529 Binary files /dev/null and b/src/fotos/inventos.jpg differ diff --git a/src/fotos/inventos_small.jpg b/src/fotos/inventos_small.jpg new file mode 100644 index 0000000..0b6aeda Binary files /dev/null and b/src/fotos/inventos_small.jpg differ diff --git a/src/fotos/nixon.jpg b/src/fotos/nixon.jpg new file mode 100644 index 0000000..ef6afcc Binary files /dev/null and b/src/fotos/nixon.jpg differ diff --git a/src/fotos/nixon_small.jpg b/src/fotos/nixon_small.jpg new file mode 100644 index 0000000..d0e8aa9 Binary files /dev/null and b/src/fotos/nixon_small.jpg differ diff --git a/src/fotos/tabla.jpg b/src/fotos/tabla.jpg new file mode 100644 index 0000000..de31b8b Binary files /dev/null and b/src/fotos/tabla.jpg differ diff --git a/src/fotos/tabla_small.jpg b/src/fotos/tabla_small.jpg new file mode 100644 index 0000000..6302f7e Binary files /dev/null and b/src/fotos/tabla_small.jpg differ diff --git a/src/fotos/tienda-entrada.jpg b/src/fotos/tienda-entrada.jpg new file mode 100644 index 0000000..b04e35c Binary files /dev/null and b/src/fotos/tienda-entrada.jpg differ diff --git a/src/fotos/tienda-entrada_small.jpg b/src/fotos/tienda-entrada_small.jpg new file mode 100644 index 0000000..f7791ec Binary files /dev/null and b/src/fotos/tienda-entrada_small.jpg differ diff --git a/src/fotos/tienda-noche.jpg b/src/fotos/tienda-noche.jpg new file mode 100644 index 0000000..b2f80cb Binary files /dev/null and b/src/fotos/tienda-noche.jpg differ diff --git a/src/fotos/tienda-noche_small.jpg b/src/fotos/tienda-noche_small.jpg new file mode 100644 index 0000000..57e67f6 Binary files /dev/null and b/src/fotos/tienda-noche_small.jpg differ diff --git a/src/galeria.html b/src/galeria.html new file mode 100644 index 0000000..0a6d562 --- /dev/null +++ b/src/galeria.html @@ -0,0 +1,133 @@ + + + + + + + + + Galería | AWA Escuela de Surf y Sup + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + +
+
+
+ Alpargatas + Alpargatas + Alpargatas + AWA blancas + AWA grises + AWA negras + Bolsos + Famous + Havaianas + Inaguración + Inventos + Nixon + Tablas + Entrada + La tienda + + +
+
+
+
+
+
+
+ + + + + + + + + + + + + + + diff --git a/src/index.html b/src/index.html index e0bef59..18b8d5d 100644 --- a/src/index.html +++ b/src/index.html @@ -29,10 +29,23 @@ Con monitores titulados, grupos reducidos (12 alumnos máximo), material de alquiler, clases para infantil, reserva de grupos, transporte, gestión de alojamiento. NOSOTROS TE LLEVAMOS TODO A LA PLAYA.

- + + + + + + + + + + + + + + +
+

prettyPhoto

+ +

This page has been made for testing purpose only. It covers all the basic things you can handle in prettyPhoto.

+ +

For complete documentation, please refer to the official website: http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/

+ +

Gallery

+ + +

Gallery 2

+ + +

API Call

+ +

API call

+ +

Picture alone

+ +
+

Flash

+ +
+
+

YouTube

+ +
+
+

Vimeo

+ +
+ +
+ +

Movies (.mov)

+ + +

Movies (.mov) alone

+ + +

Unusual sizes

+ + +

Iframe

+ + +

AJAX

+ + +

Mixed gallery

+ + +

Inline content

+ + + + + +

Custom content

+ + +

+ + + + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/src/js/vendor/prettyphoto/js/jquery.prettyPhoto.js b/src/js/vendor/prettyphoto/js/jquery.prettyPhoto.js new file mode 100644 index 0000000..d958202 --- /dev/null +++ b/src/js/vendor/prettyphoto/js/jquery.prettyPhoto.js @@ -0,0 +1,7 @@ +/* ------------------------------------------------------------------------ + Class: prettyPhoto + Use: Lightbox clone for jQuery + Author: Stephane Caron (http://www.no-margin-for-errors.com) + Version: 3.1.5 +------------------------------------------------------------------------- */ +(function(e){function t(){var e=location.href;hashtag=e.indexOf("#prettyPhoto")!==-1?decodeURI(e.substring(e.indexOf("#prettyPhoto")+1,e.length)):false;return hashtag}function n(){if(typeof theRel=="undefined")return;location.hash=theRel+"/"+rel_index+"/"}function r(){if(location.href.indexOf("#prettyPhoto")!==-1)location.hash="prettyPhoto"}function i(e,t){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n="[\\?&]"+e+"=([^&#]*)";var r=new RegExp(n);var i=r.exec(t);return i==null?"":i[1]}e.prettyPhoto={version:"3.1.5"};e.fn.prettyPhoto=function(s){function g(){e(".pp_loaderIcon").hide();projectedTop=scroll_pos["scrollTop"]+(d/2-a["containerHeight"]/2);if(projectedTop<0)projectedTop=0;$ppt.fadeTo(settings.animation_speed,1);$pp_pic_holder.find(".pp_content").animate({height:a["contentHeight"],width:a["contentWidth"]},settings.animation_speed);$pp_pic_holder.animate({top:projectedTop,left:v/2-a["containerWidth"]/2<0?0:v/2-a["containerWidth"]/2,width:a["containerWidth"]},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(a["height"]).width(a["width"]);$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed);if(isSet&&S(pp_images[set_position])=="image"){$pp_pic_holder.find(".pp_hoverContainer").show()}else{$pp_pic_holder.find(".pp_hoverContainer").hide()}if(settings.allow_expand){if(a["resized"]){e("a.pp_expand,a.pp_contract").show()}else{e("a.pp_expand").hide()}}if(settings.autoplay_slideshow&&!m&&!f)e.prettyPhoto.startSlideshow();settings.changepicturecallback();f=true});C();s.ajaxcallback()}function y(t){$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden");$pp_pic_holder.find(".pp_fade").fadeOut(settings.animation_speed,function(){e(".pp_loaderIcon").show();t()})}function b(t){t>1?e(".pp_nav").show():e(".pp_nav").hide()}function w(e,t){resized=false;E(e,t);imageWidth=e,imageHeight=t;if((p>v||h>d)&&doresize&&settings.allow_resize&&!u){resized=true,fitting=false;while(!fitting){if(p>v){imageWidth=v-200;imageHeight=t/e*imageWidth}else if(h>d){imageHeight=d-200;imageWidth=e/t*imageHeight}else{fitting=true}h=imageHeight,p=imageWidth}if(p>v||h>d){w(p,h)}E(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(h),containerWidth:Math.floor(p)+settings.horizontal_padding*2,contentHeight:Math.floor(l),contentWidth:Math.floor(c),resized:resized}}function E(t,n){t=parseFloat(t);n=parseFloat(n);$pp_details=$pp_pic_holder.find(".pp_details");$pp_details.width(t);detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom"));$pp_details=$pp_details.clone().addClass(settings.theme).width(t).appendTo(e("body")).css({position:"absolute",top:-1e4});detailsHeight+=$pp_details.height();detailsHeight=detailsHeight<=34?36:detailsHeight;$pp_details.remove();$pp_title=$pp_pic_holder.find(".ppt");$pp_title.width(t);titleHeight=parseFloat($pp_title.css("marginTop"))+parseFloat($pp_title.css("marginBottom"));$pp_title=$pp_title.clone().appendTo(e("body")).css({position:"absolute",top:-1e4});titleHeight+=$pp_title.height();$pp_title.remove();l=n+detailsHeight;c=t;h=l+titleHeight+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height();p=t}function S(e){if(e.match(/youtube\.com\/watch/i)||e.match(/youtu\.be/i)){return"youtube"}else if(e.match(/vimeo\.com/i)){return"vimeo"}else if(e.match(/\b.mov\b/i)){return"quicktime"}else if(e.match(/\b.swf\b/i)){return"flash"}else if(e.match(/\biframe=true\b/i)){return"iframe"}else if(e.match(/\bajax=true\b/i)){return"ajax"}else if(e.match(/\bcustom=true\b/i)){return"custom"}else if(e.substr(0,1)=="#"){return"inline"}else{return"image"}}function x(){if(doresize&&typeof $pp_pic_holder!="undefined"){scroll_pos=T();contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width();projectedTop=d/2+scroll_pos["scrollTop"]-contentHeight/2;if(projectedTop<0)projectedTop=0;if(contentHeight>d)return;$pp_pic_holder.css({top:projectedTop,left:v/2+scroll_pos["scrollLeft"]-contentwidth/2})}}function T(){if(self.pageYOffset){return{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}}else if(document.documentElement&&document.documentElement.scrollTop){return{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}}else if(document.body){return{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}}}function N(){d=e(window).height(),v=e(window).width();if(typeof $pp_overlay!="undefined")$pp_overlay.height(e(document).height()).width(v)}function C(){if(isSet&&settings.overlay_gallery&&S(pp_images[set_position])=="image"){itemWidth=52+5;navWidth=settings.theme=="facebook"||settings.theme=="pp_default"?50:30;itemsPerPage=Math.floor((a["containerWidth"]-100-navWidth)/itemWidth);itemsPerPage=itemsPerPage"}toInject=settings.gallery_markup.replace(/{gallery}/g,toInject);$pp_pic_holder.find("#pp_full_res").after(toInject);$pp_gallery=e(".pp_pic_holder .pp_gallery"),$pp_gallery_li=$pp_gallery.find("li");$pp_gallery.find(".pp_arrow_next").click(function(){e.prettyPhoto.changeGalleryPage("next");e.prettyPhoto.stopSlideshow();return false});$pp_gallery.find(".pp_arrow_previous").click(function(){e.prettyPhoto.changeGalleryPage("previous");e.prettyPhoto.stopSlideshow();return false});$pp_pic_holder.find(".pp_content").hover(function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()},function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()});itemWidth=52+5;$pp_gallery_li.each(function(t){e(this).find("a").click(function(){e.prettyPhoto.changePage(t);e.prettyPhoto.stopSlideshow();return false})})}if(settings.slideshow){$pp_pic_holder.find(".pp_nav").prepend('Play');$pp_pic_holder.find(".pp_nav .pp_play").click(function(){e.prettyPhoto.startSlideshow();return false})}$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme);$pp_overlay.css({opacity:0,height:e(document).height(),width:e(window).width()}).bind("click",function(){if(!settings.modal)e.prettyPhoto.close()});e("a.pp_close").bind("click",function(){e.prettyPhoto.close();return false});if(settings.allow_expand){e("a.pp_expand").bind("click",function(t){if(e(this).hasClass("pp_expand")){e(this).removeClass("pp_expand").addClass("pp_contract");doresize=false}else{e(this).removeClass("pp_contract").addClass("pp_expand");doresize=true}y(function(){e.prettyPhoto.open()});return false})}$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").bind("click",function(){e.prettyPhoto.changePage("previous");e.prettyPhoto.stopSlideshow();return false});$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").bind("click",function(){e.prettyPhoto.changePage("next");e.prettyPhoto.stopSlideshow();return false});x()}s=jQuery.extend({hook:"rel",animation_speed:"fast",ajaxcallback:function(){},slideshow:5e3,autoplay_slideshow:false,opacity:.8,show_title:true,allow_resize:true,allow_expand:true,default_width:500,default_height:344,counter_separator_label:"/",theme:"pp_default",horizontal_padding:20,hideflash:false,wmode:"opaque",autoplay:true,modal:false,deeplinking:true,overlay_gallery:true,overlay_gallery_max:30,keyboard_shortcuts:true,changepicturecallback:function(){},callback:function(){},ie6_fallback:true,markup:'
 
',gallery_markup:'',image_markup:'',flash_markup:'',quicktime_markup:'',iframe_markup:'',inline_markup:'
{content}
',custom_markup:"",social_tools:'
'},s);var o=this,u=false,a,f,l,c,h,p,d=e(window).height(),v=e(window).width(),m;doresize=true,scroll_pos=T();e(window).unbind("resize.prettyphoto").bind("resize.prettyphoto",function(){x();N()});if(s.keyboard_shortcuts){e(document).unbind("keydown.prettyphoto").bind("keydown.prettyphoto",function(t){if(typeof $pp_pic_holder!="undefined"){if($pp_pic_holder.is(":visible")){switch(t.keyCode){case 37:e.prettyPhoto.changePage("previous");t.preventDefault();break;case 39:e.prettyPhoto.changePage("next");t.preventDefault();break;case 27:if(!settings.modal)e.prettyPhoto.close();t.preventDefault();break}}}})}e.prettyPhoto.initialize=function(){settings=s;if(settings.theme=="pp_default")settings.horizontal_padding=16;theRel=e(this).attr(settings.hook);galleryRegExp=/\[(?:.*)\]/;isSet=galleryRegExp.exec(theRel)?true:false;pp_images=isSet?jQuery.map(o,function(t,n){if(e(t).attr(settings.hook).indexOf(theRel)!=-1)return e(t).attr("href")}):e.makeArray(e(this).attr("href"));pp_titles=isSet?jQuery.map(o,function(t,n){if(e(t).attr(settings.hook).indexOf(theRel)!=-1)return e(t).find("img").attr("alt")?e(t).find("img").attr("alt"):""}):e.makeArray(e(this).find("img").attr("alt"));pp_descriptions=isSet?jQuery.map(o,function(t,n){if(e(t).attr(settings.hook).indexOf(theRel)!=-1)return e(t).attr("title")?e(t).attr("title"):""}):e.makeArray(e(this).attr("title"));if(pp_images.length>settings.overlay_gallery_max)settings.overlay_gallery=false;set_position=jQuery.inArray(e(this).attr("href"),pp_images);rel_index=isSet?set_position:e("a["+settings.hook+"^='"+theRel+"']").index(e(this));k(this);if(settings.allow_resize)e(window).bind("scroll.prettyphoto",function(){x()});e.prettyPhoto.open();return false};e.prettyPhoto.open=function(t){if(typeof settings=="undefined"){settings=s;pp_images=e.makeArray(arguments[0]);pp_titles=arguments[1]?e.makeArray(arguments[1]):e.makeArray("");pp_descriptions=arguments[2]?e.makeArray(arguments[2]):e.makeArray("");isSet=pp_images.length>1?true:false;set_position=arguments[3]?arguments[3]:0;k(t.target)}if(settings.hideflash)e("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","hidden");b(e(pp_images).size());e(".pp_loaderIcon").show();if(settings.deeplinking)n();if(settings.social_tools){facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href));$pp_pic_holder.find(".pp_social").html(facebook_like_link)}if($ppt.is(":hidden"))$ppt.css("opacity",0).show();$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity);$pp_pic_holder.find(".currentTextHolder").text(set_position+1+settings.counter_separator_label+e(pp_images).size());if(typeof pp_descriptions[set_position]!="undefined"&&pp_descriptions[set_position]!=""){$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[set_position]))}else{$pp_pic_holder.find(".pp_description").hide()}movie_width=parseFloat(i("width",pp_images[set_position]))?i("width",pp_images[set_position]):settings.default_width.toString();movie_height=parseFloat(i("height",pp_images[set_position]))?i("height",pp_images[set_position]):settings.default_height.toString();u=false;if(movie_height.indexOf("%")!=-1){movie_height=parseFloat(e(window).height()*parseFloat(movie_height)/100-150);u=true}if(movie_width.indexOf("%")!=-1){movie_width=parseFloat(e(window).width()*parseFloat(movie_width)/100-150);u=true}$pp_pic_holder.fadeIn(function(){settings.show_title&&pp_titles[set_position]!=""&&typeof pp_titles[set_position]!="undefined"?$ppt.html(unescape(pp_titles[set_position])):$ppt.html(" ");imgPreloader="";skipInjection=false;switch(S(pp_images[set_position])){case"image":imgPreloader=new Image;nextImage=new Image;if(isSet&&set_position0)movie_id=movie_id.substr(0,movie_id.indexOf("?"));if(movie_id.indexOf("&")>0)movie_id=movie_id.substr(0,movie_id.indexOf("&"))}movie="http://www.youtube.com/embed/"+movie_id;i("rel",pp_images[set_position])?movie+="?rel="+i("rel",pp_images[set_position]):movie+="?rel=1";if(settings.autoplay)movie+="&autoplay=1";toInject=settings.iframe_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"vimeo":a=w(movie_width,movie_height);movie_id=pp_images[set_position];var t=/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/;var n=movie_id.match(t);movie="http://player.vimeo.com/video/"+n[3]+"?title=0&byline=0&portrait=0";if(settings.autoplay)movie+="&autoplay=1;";vimeo_width=a["width"]+"/embed/?moog_width="+a["width"];toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,a["height"]).replace(/{path}/g,movie);break;case"quicktime":a=w(movie_width,movie_height);a["height"]+=15;a["contentHeight"]+=15;a["containerHeight"]+=15;toInject=settings.quicktime_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case"flash":a=w(movie_width,movie_height);flash_vars=pp_images[set_position];flash_vars=flash_vars.substring(pp_images[set_position].indexOf("flashvars")+10,pp_images[set_position].length);filename=pp_images[set_position];filename=filename.substring(0,filename.indexOf("?"));toInject=settings.flash_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":a=w(movie_width,movie_height);frame_url=pp_images[set_position];frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1);toInject=settings.iframe_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{path}/g,frame_url);break;case"ajax":doresize=false;a=w(movie_width,movie_height);doresize=true;skipInjection=true;e.get(pp_images[set_position],function(e){toInject=settings.inline_markup.replace(/{content}/g,e);$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject;g()});break;case"custom":a=w(movie_width,movie_height);toInject=settings.custom_markup;break;case"inline":myClone=e(pp_images[set_position]).clone().append('
').css({width:settings.default_width}).wrapInner('
').appendTo(e("body")).show();doresize=false;a=w(e(myClone).width(),e(myClone).height());doresize=true;e(myClone).remove();toInject=settings.inline_markup.replace(/{content}/g,e(pp_images[set_position]).html());break}if(!imgPreloader&&!skipInjection){$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject;g()}});return false};e.prettyPhoto.changePage=function(t){currentGalleryPage=0;if(t=="previous"){set_position--;if(set_position<0)set_position=e(pp_images).size()-1}else if(t=="next"){set_position++;if(set_position>e(pp_images).size()-1)set_position=0}else{set_position=t}rel_index=set_position;if(!doresize)doresize=true;if(settings.allow_expand){e(".pp_contract").removeClass("pp_contract").addClass("pp_expand")}y(function(){e.prettyPhoto.open()})};e.prettyPhoto.changeGalleryPage=function(e){if(e=="next"){currentGalleryPage++;if(currentGalleryPage>totalPage)currentGalleryPage=0}else if(e=="previous"){currentGalleryPage--;if(currentGalleryPage<0)currentGalleryPage=totalPage}else{currentGalleryPage=e}slide_speed=e=="next"||e=="previous"?settings.animation_speed:0;slide_to=currentGalleryPage*itemsPerPage*itemWidth;$pp_gallery.find("ul").animate({left:-slide_to},slide_speed)};e.prettyPhoto.startSlideshow=function(){if(typeof m=="undefined"){$pp_pic_holder.find(".pp_play").unbind("click").removeClass("pp_play").addClass("pp_pause").click(function(){e.prettyPhoto.stopSlideshow();return false});m=setInterval(e.prettyPhoto.startSlideshow,settings.slideshow)}else{e.prettyPhoto.changePage("next")}};e.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").unbind("click").removeClass("pp_pause").addClass("pp_play").click(function(){e.prettyPhoto.startSlideshow();return false});clearInterval(m);m=undefined};e.prettyPhoto.close=function(){if($pp_overlay.is(":animated"))return;e.prettyPhoto.stopSlideshow();$pp_pic_holder.stop().find("object,embed").css("visibility","hidden");e("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animation_speed,function(){e(this).remove()});$pp_overlay.fadeOut(settings.animation_speed,function(){if(settings.hideflash)e("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","visible");e(this).remove();e(window).unbind("scroll.prettyphoto");r();settings.callback();doresize=true;f=false;delete settings})};if(!pp_alreadyInitialized&&t()){pp_alreadyInitialized=true;hashIndex=t();hashRel=hashIndex;hashIndex=hashIndex.substring(hashIndex.indexOf("/")+1,hashIndex.length-1);hashRel=hashRel.substring(0,hashRel.indexOf("/"));setTimeout(function(){e("a["+s.hook+"^='"+hashRel+"']:eq("+hashIndex+")").trigger("click")},50)}return this.unbind("click.prettyphoto").bind("click.prettyphoto",e.prettyPhoto.initialize)};})(jQuery);var pp_alreadyInitialized=false \ No newline at end of file diff --git a/src/js/vendor/prettyphoto/xhr_response.html b/src/js/vendor/prettyphoto/xhr_response.html new file mode 100644 index 0000000..84490c8 --- /dev/null +++ b/src/js/vendor/prettyphoto/xhr_response.html @@ -0,0 +1,5 @@ +

This is an XHR Response

+
+

This is sample content brought in.

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+
\ No newline at end of file diff --git a/src/links-amigos.html b/src/links-amigos.html index 3c3d269..66a8711 100644 --- a/src/links-amigos.html +++ b/src/links-amigos.html @@ -78,7 +78,7 @@ - +