in

Google lifts political advert bans and Fb has a weekend advert outage

Google lifts political advert bans and Fb has a weekend advert outage


$.ajax({
url: ‘//munchkin.marketo.web/munchkin.js’,
dataType: ‘script’,
cache: true,
luck: serve as() {
Munchkin.init(‘727-ZQE-044’);
}
}); var parallax = (serve as(jq){
var $ = jq;

serve as init() {

var div = $(‘#img1’);
var nav_div = $(‘#floatingnav’);

serve as calculate_parallax_height() {
var img_w = 3200;
var img_h = 1040;
var divwidth = div.width();
console.log(‘div width’, divwidth);
var newheight = Math.ground((divwidth * img_h) / img_w)-1;
console.log(‘new peak’, newheight);
go back newheight;
}

serve as resize_all_parallax() {
var newheight = calculate_parallax_height();

div.peak(newheight + ‘px’);

var newtop = newheight – 88;

//nav_div.best(newtop + ‘px’);

}

$(window).on(‘resize’, serve as(){
resize_all_parallax();
});

resize_all_parallax();

$(window).on(‘scroll’, serve as(){
var newheight = calculate_parallax_height();

if (newheight

WebmasterWP

Written by WebmasterWP

Comments

Bir cevap yazın

Avatar

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

Loading…

0

How Web page Pace Impacts search engine marketing & Google Ratings

The Most sensible 5 Equipment for Trying out a WordPress Web site’s Efficiency