Hunting and Fishing News & Blog Articles
Stay up-to-date on hunting, fishing and camping products, trends and news.
1 minute reading time
(148 words)
Eastmans’ Preseason Hunter Giveaway
.rafflepress-giveaway-iframe-wrapper iframe {
width: 1px;
min-width: 100%;
*width: 100%;
height: 1000px;
}
.rafflepress_iframe_loading {
background-image: url('data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==') !important;
background-repeat: no-repeat !important;
background-position: center 100px !important;
height: 100%;
}
function rafflepress_getParameterByName(name, url) {
if (!url) url = window.location.href;
name = name.replace(/[\[\]]/g, "\\$&");
var regex = new RegExp("[?&]" + name + "(=([^]*)|&|#|$)"),
results = regex.exec(url);
if (!results) return "";
if (!results[2]) return "";
return decodeURIComponent(results[2].replace(/\+/g, " "));
}
function insertIframe( ID, src, minHeight) {
var wrapperID = 'rafflepress-giveaway-iframe-wrapper-'+ID;
var iframe = document.createElement('iframe');
iframe.setAttribute('id', 'rafflepress-'+ID);
iframe.setAttribute('class', 'rafflepress-iframe');
iframe.setAttribute('src', src);
iframe.setAttribute('frameborder', '0');
iframe.setAttribute('scrolling', 'no');
iframe.setAttribute('allowtransparency', 'true');
if (minHeight) {
iframe.setAttribute('style', 'min-height:'+minHeight);
}
iframe.setAttribute('onload', 'rafflepress_resize_iframe_'+ID+'(this)');
document.getElementById(wrapperID).appendChild(iframe);
}
// phpcs:disable
insertIframe( '48335888','https://blog.eastmans.com/?rafflepress_page=rafflepress_render&rafflepress_id=12&iframe=1&giframe=false&rpr=&parent_url=https%3A%2F%2Fblog.eastmans.com%2Ffeed%2F&30785&rp-email='+rafflepress_getParameterByName('rp-email',location.href)+'&rp-name='+rafflepress_getParameterByName('rp-name',location.href),'' );
// phpcs:enable
function rafflepress_resize_iframe_48335888(){
iFrameResize({
log: false,
onMessage: function(messageData) {
if (messageData.message == 'rafflepress_loaded') {
var el = document.getElementById('rafflepress-giveaway-iframe-wrapper-48335888');
var className = "rafflepress_iframe_loading";
if (el.classList)
el.classList.remove(className);
else
el.className = el.className.replace(new RegExp('(^|\\b)' + className.split(' ').join('|') +
'(\\b|$)', 'gi'), ' ');
}
}
}, '#rafflepress-48335888');
};
The post Eastmans’ Preseason Hunter Giveaway appeared first on Eastmans' Official Blog | Mule Deer, Antelope, Elk Hunting and Bowhunting Magazine | Eastmans' Hunting Journals.
Copyright
© Eastmans