What doe the logs say?
dont have logs, becouse its just a widget for website
someone any idea?
DENIS BRAUN: hello, i have a problem with the economy calendar widget. Copied the code as it is generated and it just doesn't show up. is something missing or am i doing something wrong?
<div id="economicCalendarWidget"></div> <script async type="text/javascript" data-type="calendar-widget" src="https://www.tradays.com/c/js/widgets/calendar/widget.js?v=10"> {"width":"100%","height":"100%","mode":"2"} </script>
I tried it for myself and it also does not display anything. It does download the JavaScript file below but nothing is displayed. Probably some bug. Try report it to the service desk while referencing this thread.
var createCalendarWidget = function(a) { var b = this, f = a.width || 0, h = a.height || 0, k = parseInt(a.mode) || 1, d = a.dateformat, g, e = ""; b.lang = "en"; b.containerId = a.id || "economicCalendarWidget"; if (a = a.lang || document.documentElement.lang) a = a.replace(/\s/g, "").substring(0, 2).toLowerCase(), -1 !== "ru,en,zh,es,pt,ja,de,tr,ar,fr,it".indexOf(a) && (b.lang = a); e = window.location.hostname; this.createSrc = function() { return "https://www.tradays.com/" + b.lang + "/economic-calendar/widget?mode=" + k + (d ? "&dateFormat=" + d : "") }; this.createFrame = function() { var a = document.createElement("iframe"); a.setAttribute("scrolling", "no"); a.setAttribute("allowtransparency", !0); a.setAttribute("frameborder", 0); a.width = f; a.height = h; a.setAttribute("src", b.createSrc() + "&utm_source=" + e); return a }; this.create = function() { function a() { if (!f) { g = document.getElementById(b.containerId); if (!g) return !1; c = g.parentNode; "head" === c.tagName.toLowerCase() ? (document.body ? c = document.body : (c = document.createElement("body"), document.documentElement.appendChild(c)), c.appendChild(b.createFrame())) : c.insertBefore(b.createFrame(), g); clearInterval(d); f = !0 } } var f = !1, c, d; if (document.addEventListener) document.addEventListener("DOMContentLoaded", a, !1), window.addEventListener("load", a, !1); else if (window.attachEvent) { window.attachEvent("onload", a); var e = document.createElement("div"); try { var h = null === window.frameElement } catch (l) {} e.doScroll && h && window.external && (d = setInterval(function() { try { e.doScroll(), a() } catch (l) {} }, 30)) } "complete" === document.readyState && a() } }, economicCalendar = function(a) { createCalendarWidget.apply(this, arguments); this.create() }, economicCalendarEvent = function(a) { createCalendarWidget.apply(this, arguments); var b = this; this.mode = parseInt(a.mode) || 0; this.showTitle = parseInt(a.showTitle) || !1; this.id = parseInt(a.id) || 0; this.containerId = "economicCalendarEventWidget"; this.createSrc = function() { var a = ""; b.mode && (a += "?displayMode=" + b.mode); b.showTitle && (a += (b.mode ? "&" : "?") + "showTitle=1"); return "https://www.tradays.com/" + b.lang + "/economic-calendar/widget/event/" + b.id + a }; this.create() };
ok thank you
Please updated your widget code from https://www.mql5.com/en/economic-calendar/widgets
It should work

Economic calendar widget
- www.mql5.com
Set (customize) and place the economic calendar widget on your website with automatic updates in real time.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hello, i have a problem with the economy calendar widget. Copied the code as it is generated and it just doesn't show up. is something missing or am i doing something wrong?
<div id="economicCalendarWidget"></div>
<script async type="text/javascript" data-type="calendar-widget" src="https://www.tradays.com/c/js/widgets/calendar/widget.js?v=10">
{"width":"100%","height":"100%","mode":"2"}
</script>