Line 550: | Line 550: | ||
<div id="bodyContent"> | <div id="bodyContent"> | ||
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><p> | <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><p> | ||
+ | |||
+ | <html><head><title>Simbla Website Editor iFrame</title><meta charset="utf-8"><link href="/css/bootstrap3.min.css" rel="stylesheet"><link rel="stylesheet" href="/css/font-awesome.min.css"><link rel="stylesheet" href="/css/styleBlock.css?v=2.0.7" media="screen"><link href="/css/theme-css.css?v=2.0.7" rel="stylesheet"><link href="/css/styleWD_iframe.css?v=2.0.7" rel="stylesheet"><script src="/js/jquery-1.11.3.min.js" type="text/javascript"></script><script src="/js/bootstrap3.min.js" type="text/javascript"></script><script language="javascript" src="/js/html.sortable.min.js"></script><script src="/js/popover-extra-placements.min.js" type="text/javascript"></script><script>function setViewHeight() { | ||
+ | selfInsertCss("#bodyContainer{min-height:" + ($(window).height() - 44) + "px}", "", false); | ||
+ | } | ||
+ | $(function () { | ||
+ | top.EDITOR = $('#editor'); | ||
+ | setTimeout(setViewHeight, 200); | ||
+ | top.fireReadyEvent && top.fireReadyEvent(); | ||
+ | top.iframeReade = true; | ||
+ | }); | ||
+ | $.expr[":"].containsi = $.expr.createPseudo(function (arg) { | ||
+ | return function (elem) { | ||
+ | return $(elem).text().toUpperCase().indexOf(arg.toUpperCase()) >= 0; | ||
+ | }; | ||
+ | }); | ||
+ | function selfInsertCss(css, id, inBody, attr) { | ||
+ | var styleNode = document.createElement('style'); | ||
+ | styleNode.type = "text/css"; | ||
+ | styleNode.id = id; | ||
+ | if (attr) | ||
+ | styleNode.setAttribute('data', attr); | ||
+ | if (!!(window.attachEvent && !window.opera)) { | ||
+ | styleNode.styleSheet.cssText = css; | ||
+ | } else { | ||
+ | var styleText = document.createTextNode(css); | ||
+ | styleNode.appendChild(styleText); | ||
+ | } | ||
+ | if (!inBody) | ||
+ | $(document).find('head').append(styleNode); | ||
+ | else | ||
+ | $('#editor').find('#windowDiv').append(styleNode); | ||
+ | }</script></head><body id="editor" class="editorMode"><div id="windowDiv"><div id="MarginsTop" style="height: 0px;" class="row"></div><div id="bodyContainer" style="width:100%"></div></div></body></html> | ||
</html> | </html> |
Revision as of 17:23, 9 June 2017