This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************* PRELOADER ***********/ | |
(function($) { | |
var imgList = []; | |
var _seccion=''; | |
$.extend({ | |
preload: function(imgArr, option,seccion) { | |
var setting = $.extend({ | |
init: function(loaded, total) {}, | |
loaded: function(img, loaded, total) {}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: 'FSDillonBold'; | |
src: url('fonts/fs_dillon-bold-webfont.eot'); | |
src: url('fonts/fs_dillon-bold-webfont.eot?#iefix') format('embedded-opentype'), | |
url('fonts/fs_dillon-bold-webfont.woff') format('woff'), | |
url('fonts/fs_dillon-bold-webfont.ttf') format('truetype'), | |
url('fonts/fs_dillon-bold-webfont.svg#FSDillonBold') format('svg'); | |
font-weight: normal; | |
font-style: normal; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".cont_360").mousemove(function(event) { | |
var msg; | |
var mX = event.pageX; | |
msg = event.pageX + ", " + event.pageY; | |
console.log(msg); | |
if(mX<fullW/2){ | |
var speed = (mX/(fullW/2))*1000; | |
setTimeout(function(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SQLite version 3.x | |
# gem install sqlite3 | |
# | |
# Ensure the SQLite 3 gem is defined in your Gemfile | |
# gem 'sqlite3' | |
development: | |
adapter: postgresql | |
encoding: unicode | |
database: jeep_dev | |
pool: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= link_to "", {:controller => "share", :action => "travel", :id => ru[:Id]}, :class => "cont_route", {:remote => true} do %> | |
<img class='preview' src="<%= ru[:CoverPictureURL] %>" alt=""> | |
<span class="info_box"> | |
<p class="date"> | |
<%= ru[:Date].strftime("%d . %b . %Y") %> | |
</p> | |
<p class="title"> | |
<%= ru[:Name].upcase %> | |
</p> | |
<p class="autor"><span>Por: </span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var scrollPage ; | |
var intro = new TimelineMax(); | |
var loopVapor = new TimelineMax({repeat: -1}); | |
var loopVapor2 = new TimelineMax({repeat: -1}); | |
var ripple = new TimelineMax({repeat: -1}); | |
var loopScroll = new TimelineMax({repeat: -1, delay: 6}); | |
var scrollmolienda = $.superscrollorama(); | |
var fullW = $(window).width(); | |
var fullH = $(window).height(); | |
var marginT = fullH/7; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".map_cont").carouFredSel({ | |
auto: true, | |
items : 1, | |
direction : "left", | |
scroll : { | |
items : 1, | |
easing : "elastic", | |
duration : 1000, | |
pauseOnHover : true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case '/believes/opencase?id=' + $.address.parameter('id'): | |
$("#subMenu ul:not(.subMenuBelieve)").fadeOut(function(){ | |
$(".subMenuBelieve").fadeIn(800); | |
}); | |
$('#mainMenu li:eq(1)').addClass("link_active").siblings().removeClass("link_active"); | |
$('.actived').removeClass('actived'); | |
$('.sm_generalmarket').addClass('actived'); | |
$.ajax({ | |
url: event.path, | |
data: "id=" + $.address.parameter('id') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
loopVapor.fromTo('#section_3 .vapor_2', 4, {autoAlpha: 0}, {autoAlpha: 0.4}); | |
loopVapor.fromTo('#section_3 .vapor_2', 4, {autoAlpha: 0.4}, {autoAlpha: 0}); | |
loopVapor.fromTo('#section_3 .vapor_2', 8, {top: 150, scaleX: 1, scaleY: 1}, {top: -100, scaleX:1.3, scaleY: 1.3}, "-=8"); | |
loopVapor.fromTo('#section_3 .vapor_1', 4, {autoAlpha: 0}, {autoAlpha: 0.2}, "-=2"); | |
loopVapor.fromTo('#section_3 .vapor_1', 4, {autoAlpha: 0.2}, {autoAlpha: 0}); | |
loopVapor.fromTo('#section_3 .vapor_1', 8, {top: 150, scaleX: 1, scaleY: 1}, {top: -100, scaleX:1.3, scaleY: 1.3}, "-=10.2"); |
OlderNewer