Site logo

Archived topic

Widget height

5 replies · Started by Dan on August 26, 2020

Viewing posts 1–6 of 6

Hi there,

have you checked with the provider of that 'widget'?
Its being displayed as an iFrame, any content and its styling including the content height is set by the iframes origin server and cannot be overwritten locally.

hi, no it's not displayed as an iframe, here is the code;

<script type="text/javascript">DukascopyApplet = {"type":"realtime_sentiment_index","params":{"liquidity":"consumers","type":"swfx","sort":"volume","order":"asc","showPairs":true,"showCurrencies":true,"availableInstruments":"l:","availableCurrencies":["AUD","CAD","CHF","GBP","HKD","JPY","MXN","NOK","NZD","PLN","RUB","SEK","SGD","TRY","USD","ZAR","EUR","XAG","XAU"],"headingColor":"#ececec","dateColor":"#ececec","bgColor":"#2a363d","width":"100%","height":"100%","adv":"popup","lang":"en"}};</script><script type="text/javascript" src="https://freeserv-static.dukascopy.com/2.0/core.js"></script>

Thats just the script - it in turn outputs an iFrame to the page. If you right click and inspect the 'widget' you will see the iFrame.

Looks like you have resolved the height issue ?

I think so, thanks David

Glad to hear that :)

This archived topic is closed to new replies.