Jump to content

 

johnbol1

Member Since 23 Feb 2010
Offline Last Active Today, 02:46 PM
*****

Topics I've Started

Height Of An Iframe

04 April 2019 - 05:16 PM

I have inserted a source code form a reseller website and am having trouble with the iframe not being full height of the content page. I created it under website/pages. the page is here and code is below https://www.hivis.co.uk/mugs.htmlCan anyone tell me how to have the page /frame be full page height please

Thanks, 

 <head> <title>Hivis</title><link rel='dns-prefetch' href='//maxcdn.bootstrapcdn.com' /><link rel='dns-prefetch' href='//use.fontawesome.com' /><link rel='dns-prefetch' href='//fonts.googleapis.com' /><link rel='dns-prefetch' href='//s.w.org' /><link rel="alternate" type="application/rss+xml" title=" &raquo; Feed" href="http://catalogue.mugsgalore.com/feed/" /><link rel="alternate" type="application/rss+xml" title=" &raquo; Comments Feed" href="http://catalogue.mugsgalore.com/comments/feed/" /><!-- This site uses the Google Analytics by MonsterInsights plugin v7.3.0 - Using Analytics tracking - https://www.monsterinsights.com/ --> <script type="text/javascript" data-cfasync="false"> var mi_version = '7.3.0'; var mi_track_user = true; var mi_no_track_reason = ''; var disableStr = 'ga-disable-UA-112529459-2'; /* Function to detect opted out users */ function __gaTrackerIsOptedOut() { return document.cookie.indexOf(disableStr + '=true') > -1; } /* Disable tracking if the opt-out cookie exists. */ if ( __gaTrackerIsOptedOut() ) { window[disableStr] = true; } /* Opt-out function */ function __gaTrackerOptout() { document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/'; window[disableStr] = true; } if ( mi_track_user ) { (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','__gaTracker'); __gaTracker('create', 'UA-112529459-2', 'auto'); __gaTracker('set', 'forceSSL', true); __gaTracker('set', 'anonymizeIp', true); __gaTracker('require', 'linkid', 'linkid.js'); __gaTracker('send','pageview'); } else { console.log( "" ); (function() { /* https://developers.google.com/analytics/devguides/collection/analyticsjs/ */ var noopfn = function() { return null; }; var noopnullfn = function() { return null; }; var Tracker = function() { return null; }; var p = Tracker.prototype; p.get = noopfn; p.set = noopfn; p.send = noopfn; var __gaTracker = function() { var len = arguments.length; if ( len === 0 ) { return; } var f = arguments[len-1]; if ( typeof f !== 'object' || f === null || typeof f.hitCallback !== 'function' ) { console.log( 'Not running function __gaTracker(' + arguments[0] + " ....) because you are not being tracked. " + mi_no_track_reason ); return; } try { f.hitCallback(); } catch (ex) { } }; __gaTracker.create = function() { return new Tracker(); }; __gaTracker.getByName = noopnullfn; __gaTracker.getAll = function() { return []; }; __gaTracker.remove = noopfn; window['__gaTracker'] = __gaTracker; })(); } </script> <!-- / Google Analytics by MonsterInsights --> <script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/svg\/","svgExt":".svg","source":{"concatemoji":"http:\/\/catalogue.mugsgalore.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.9.8"}}; !function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline="top",l.font="600 32px Arial",a){case"flag":return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]),!b);case"emoji":return b=d([55358,56760,9792,65039],[55358,56760,8203,9792,65039]),!b}return!1}function f(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var g,h,i,j,k=b.createElement("canvas"),l=k.getContext&&k.getContext("2d");for(j=Array("flag","emoji"),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],"flag"!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",h,!1),a.addEventListener("load",h,!1)):(a.attachEvent("onload",h),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.wpemoji)))}(window,document,window._wpemojiSettings); </script> <style type="text/css">img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 .07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important;}</style><link rel='stylesheet' id='cookie-law-info-css' href='http://catalogue.mugsgalore.com/wp-content/plugins/cookie-law-info/public/css/cookie-law-info-public.css?ver=1.7.0' type='text/css' media='all' /><link rel='stylesheet' id='cookie-law-info-gdpr-css' href='http://catalogue.mugsgalore.com/wp-content/plugins/cookie-law-info/public/css/cookie-law-info-gdpr.css?ver=1.7.0' type='text/css' media='all' /><link rel='stylesheet' id='wpfront-scroll-top-css' href='http://catalogue.mugsgalore.com/wp-content/plugins/wpfront-scroll-top/css/wpfront-scroll-top.min.css?ver=2.0.1' type='text/css' media='all' /><link rel='stylesheet' id='font-awesome-css' href='//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css?ver=4.7.0' type='text/css' media='all' /><link rel='stylesheet' id='mg_add_font_awesome_icons-css' href='https://use.fontawesome.com/releases/v5.4.1/css/all.css?ver=4.9.8' type='text/css' media='all' /><link rel='stylesheet' id='wpb-google-fonts-css' href='https://fonts.googleapis.com/css?family=Oswald%3A500%7CQuicksand&#038;ver=4.9.8' type='text/css' media='all' /><link rel='stylesheet' id='searchwp-live-search-css' href='http://catalogue.mugsgalore.com/wp-content/plugins/searchwp-live-ajax-search/assets/styles/style.css?ver=1.3.1' type='text/css' media='all' /><link rel='stylesheet' id='baskerville_googleFonts-css' href='//fonts.googleapis.com/css?family=Roboto+Slab%3A400%2C700%7CRoboto%3A400%2C400italic%2C700%2C700italic%2C300%7CPacifico%3A400&#038;ver=1' type='text/css' media='all' /><link rel='stylesheet' id='baskerville_style-css' href='http://catalogue.mugsgalore.com/wp-content/themes/baskerville/style.css?ver=1.0' type='text/css' media='all' /><link rel='stylesheet' id='baskerville_child-css' href='http://catalogue.mugsgalore.com/wp-content/themes/baskerville_child/style.css?ver=4.9.8' type='text/css' media='all' /><!--n2css--><script type='text/javascript'>/* <![CDATA[ */var monsterinsights_frontend = {"js_events_tracking":"true","is_debug_mode":"false","download_extensions":"doc,exe,js,pdf,ppt,tgz,zip,xls","inbound_paths":"","home_url":"http:\/\/catalogue.mugsgalore.com","track_download_as":"event","internal_label":"int","hash_tracking":"false"};/* ]]> */</script><script type='text/javascript' src='http://catalogue.mugsgalore.com/wp-content/plugins/google-analytics-for-wordpress/assets/js/frontend.js?ver=7.3.0'></script><script type='text/javascript' src='http://catalogue.mugsgalore.com/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script><script type='text/javascript' src='http://catalogue.mugsgalore.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script><script type='text/javascript'>/* <![CDATA[ */var Cli_Data = {"nn_cookie_ids":[],"cookielist":[]};var log_object = {"ajax_url":"http:\/\/catalogue.mugsgalore.com\/wp-admin\/admin-ajax.php"};/* ]]> */</script><script type='text/javascript' src='http://catalogue.mugsgalore.com/wp-content/plugins/cookie-law-info/public/js/cookie-law-info-public.js?ver=1.7.0'></script><script type='text/javascript' src='http://catalogue.mugsgalore.com/wp-content/plugins/sticky-menu-or-anything-on-scroll/assets/js/jq-sticky-anything.min.js?ver=2.1.1'></script><script type='text/javascript' src='http://catalogue.mugsgalore.com/wp-content/themes/baskerville/js/imagesloaded.pkgd.js?ver=1'></script><script type='text/javascript' src='http://catalogue.mugsgalore.com/wp-content/themes/baskerville/js/flexslider.min.js?ver=1'></script><link rel='https://api.w.org/' href='http://catalogue.mugsgalore.com/wp-json/' /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://catalogue.mugsgalore.com/xmlrpc.php?rsd" /><link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://catalogue.mugsgalore.com/wp-includes/wlwmanifest.xml" /> <meta name="generator" content="WordPress 4.9.8" /><link rel="canonical" href="http://catalogue.mugsgalore.com/hivis/" /><link rel='shortlink' href='http://catalogue.mugsgalore.com/?p=3221' /><link rel="alternate" type="application/json+oembed" href="http://catalogue.mugsgalore.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fcatalogue.mugsgalore.com%2Fhivis%2F" /><link rel="alternate" type="text/xml+oembed" href="http://catalogue.mugsgalore.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fcatalogue.mugsgalore.com%2Fhivis%2F&#038;format=xml" /> <script type="text/javascript"> var cli_flush_cache=2; </script> <style type="text/css" id="custom-background-css">body.custom-background { background-color: #ffffff; }</style><link rel="icon" href="http://catalogue.mugsgalore.com/wp-content/uploads/cropped-Favicon-1-32x32.png" sizes="32x32" /><link rel="icon" href="http://catalogue.mugsgalore.com/wp-content/uploads/cropped-Favicon-1-192x192.png" sizes="192x192" /><link rel="apple-touch-icon-precomposed" href="http://catalogue.mugsgalore.com/wp-content/uploads/cropped-Favicon-1-180x180.png" /><meta name="msapplication-TileImage" content="http://catalogue.mugsgalore.com/wp-content/uploads/cropped-Favicon-1-270x270.png" /> <style type="text/css" id="wp-custom-css"> @font-face{font-family:EuroMG; src:url(https://catalogue.mugsgalore.com/usersites/fonts/EUROSTILE.ttf);font-weight:normal;} </style> <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0, maximum-scale=1.0"> <style> #ifm { height: 0; width: 0; max-height: 100%; max-width: 100%; min-height: 100%; min-width: 100%; display: block; border: none; } #test{ display: inline-block; width: 100%; -webkit-overflow-scrolling: touch; overflow-y: scroll; overflow: auto; } </style></head><body>

<div id="skinsite-header" class="skinsite-header" style="background:#000000;; border-bottom: 5px solid #F5FE43;"> <div class="featured-media" style="text-align: center;"> <img width="236" height="93" src="http://catalogue.mugsgalore.com/wp-content/uploads/hivis-dark-logo-small.jpg" class="attachment-post-image size-post-image wp-post-image" alt="HiVis" /> </div> <p><a href="mailto:sales@hivis.co.uk" style="color:white;font-family:'Calibri',sans-serif;font-weight:bold;">sales@hivis.co.uk</a>&nbsp;<span style="height:10px;width:10px;background-color:#F5FE43;border-radius:100%;display:inline-block;"></span>&nbsp;<a href="Tel:01744 814004" style="color:white;font-family:'Calibri',sans-serif;font-size:90%;font-weight:bold;">01744 814004</a></p> </div><div id="test"> <iframe id="ifm" src="//www.catalogue.mugsgalore.com" scrolling="yes"> </iframe></div><script> var buffer = 0; var iframe = document.getElementById('test');
function pageY(elem) { return elem.offsetParent ? (elem.offsetTop + pageY(elem.offsetParent)) : elem.offsetTop; }
function resizeIframe() { var height = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight; height -= pageY(document.getElementById('test'))+ buffer; height = (height < 0) ? 0 : height; document.getElementById('test').style.height = height + 'px'; }
if (window.onload) { window.onload = resizeIframe; } else { window.onload=resizeIframe; }
window.onresize = resizeIframe;</script></body>

<div id="wpfront-scroll-top-container"> <i class="fa fa-arrow-circle-up fa-3x"></i> </div> <style type="text/css"> #wpfront-scroll-top-container i { color: #b4e1f3; } </style> <script type="text/javascript">function wpfront_scroll_top_init() {if(typeof wpfront_scroll_top == "function" && typeof jQuery !== "undefined") {wpfront_scroll_top({"scroll_offset":1000,"button_width":20,"button_height":20,"button_opacity":0.8000000000000000444089209850062616169452667236328125,"button_fade_duration":200,"scroll_duration":400,"location":1,"marginX":20,"marginY":20,"hide_iframe":false,"auto_hide":false,"auto_hide_after":2,"button_action":"top","button_action_element_selector":"","button_action_container_selector":"html, body","button_action_element_offset":0});} else {setTimeout(wpfront_scroll_top_init, 100);}}wpfront_scroll_top_init();</script>

Remove Notify Customer Check Mark

31 December 2018 - 06:22 PM

V4.9.2 can anyone tell me how to remove the check marks as default please.

 

https://prnt.sc/m1ourw

 

https://prnt.sc/m1ov64


Move Profile Field Position In Email And Admin

11 December 2018 - 12:56 PM

I have added a new profile position for company name 

https://prnt.sc/ltiz05

 

And Id like to move the position in the email template and also the admin area but cant see where.

Anyone please ?

 

https://prnt.sc/ltj2bu

 

 


What Does My Ultimate Licence Get Me

30 November 2018 - 03:36 PM

I have an ultimate licence purchased in Nov 2016.

 

I want to add a complete new store solely for one of my customers who has multiple sites.

I want to add this under a complete new domain related to the name of my customer but on my server.

Do I need to pay anything ? asit is a dofferent domain and is going to be "log in to view"

Can I add a new store under my exisiting installation under Admin>stores
Can I hide access to this store by using an addon like the ones on the marketplace ecomlabs and cs cart rock s have.

Can my customer have access to the admin and see ONLY The info from his domain store and not mine

and finally, can I just clone my existing store and butcher it to make it bare minimum , as this store will only carry 80 products.

 

Thanks

John


Move Del Address Profile Field

21 November 2018 - 06:09 PM

I added a new delivery address profile field https://www.screenca.../t/8JqENUldlYtw

 

And although the position (40) works in the front end, I want it to appear n admin and on the invoice higher.

 

https://www.screencast.com/t/kFLaEARo

 

Where should I be editing please. using the old templates not the new ones with template editor

 

Thanks

John