Bing A Google-Killer? Get Real

Yes, this is another article about Bing. But I’m going to take a different spin. Instead of doing another expert review of the quality of the...

Designing For The Subconscious Mind

In last month’s column, I brought up the idea that the first impression your web site makes can have a bigger impact than many of the more...

Do Your Landing Pages “Feel” Right?

Question: What do web users and professional athletes have in common? Answer: They both make fast decisions about their next action based on limited...

Search: Too Boring For Branding?

I’m not a big fan of TV. But my wife and I decided to cancel our satellite TV service effective next week, so I’ve found myself watching more TV...

Social Media Gold: Ratings & Reviews

I’m an introvert by nature, so this whole social media thing has left me feeling like an outsider looking in. While everyone Facebooks and Twitters...

A Plea To Stop Dissing Your Customers

Dear Search Marketers: I’m worried about us. The way we’ve started talking about our target audience has me concerned that our priorities may be...

$.ajax({ url: '//munchkin.marketo.net/munchkin.js', dataType: 'script', cache: true, success: function() { Munchkin.init('727-ZQE-044'); } }); var parallax = (function(jq){ var $ = jq; function init() { var div = $('#img1'); var nav_div = $('#floatingnav'); function calculate_parallax_height() { var img_w = 3200; var img_h = 1040; var divwidth = div.width(); console.log('div width', divwidth); var newheight = Math.floor((divwidth * img_h) / img_w)-1; console.log('new height', newheight); return newheight; } function resize_all_parallax() { var newheight = calculate_parallax_height(); div.height(newheight + 'px'); var newtop = newheight - 88; //nav_div.top(newtop + 'px'); } $(window).on('resize', function(){ resize_all_parallax(); }); resize_all_parallax(); $(window).on('scroll', function(){ var newheight = calculate_parallax_height(); if (newheight <= $(window).scrollTop()) { // if so, add the fixed class nav_div.addClass('scrolling-nav-top'); } else { // otherwise remove it nav_div.removeClass('scrolling-nav-top'); } }); } return { init: init }; })(jQuery); seonewsnews