Search Illustrated: Article Optimization

The strategy behind the addition of articles to a website is typically two fold: provide insightful information for current / potential clients and...

Search Illustrated: Types Of Link Bait

Linkbait comes in various forms that can be used in creative ways to drive traffic to your site. Today’s infographic shows the most common...

Search Illustrated: People Streams

A common misperception about search marketing is that it consists only of on-page optimization. In reality, SEM touches countless online channels...

Search Illustrated: The ROI Of SEO

Organic optimization brings more than just results in the search engines. This week’s infographic shows off the additional benefits and return...

Search Illustrated: PDF Optimization

Don’t make the mistake of thinking that just because content isn’t HTML-based doesn’t mean it can’t be optimized. An Adobe...

Search Illustrated: Search World 2008

Search engine results aren’t realized simply from optimizing your web site anymore. This week’s infographic shows that gaining an...

Search Illustrated: Spider Traps

With so much effort that gets focused on writing great content, acquiring links and social networking, the search spiders are sometimes overlooked....

$.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);