TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 16, 2024, 10:08:58 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,163
  • Total Topics: 21,219
  • Online today: 106
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online

Top Panel problem

Started by Skb, September 03, 2018, 04:42:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Skb

I inserted this code into a top panel (advertising) block yesterday.
<div class="alignleft">
     <script type="text/javascript">
        amzn_assoc_ad_type = "banner";
amzn_assoc_marketplace = "amazon";
amzn_assoc_region = "US";
amzn_assoc_placement = "assoc_banner_placement_default";
amzn_assoc_campaigns = "amazonfresh";
amzn_assoc_banner_type = "category";
amzn_assoc_p = "48";
amzn_assoc_isresponsive = "false";
amzn_assoc_banner_id = "1RSQGCA3V5JXZ1X03DG2";
amzn_assoc_width = "728";
amzn_assoc_height = "90";
amzn_assoc_tracking_id = "diabeticpub-20";
amzn_assoc_linkid = "34ceea7732cc2321791f2811256c71d0";
     </script>
     <script src="//z-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&Operation=GetScript&ID=OneJS&WS=1"></script>
    </div>


What I noticed is that on my iPad I could not increase the size (expand) of the forum, which is something so easily done with two fingers. I did not test this on other mobile devices. Since the last thing I had done was the Top Panel, I disabled it and checked again. Got the functionality back.
Is it something at our (TP) end or a formatting problem in the code ?

SMF 2.1 RC4 (default theme) / TP 2.1.0

tino

You have a width set in that code block along with responsive being false, so I'd say it's the block your posting.

lurkalot

I was trying to find one of these banners in my Amazon associates dashboard to test, but can't for the life of me find any. Perhaps it's only the US version that has them. The UK site has info about them, but no responsive banners to choose from what I see..