crocodoc

Loading an external script using <script src=“…”> in Angular

风格不统一 提交于 2019-12-20 02:59:21
问题 I need to include a script that has a session ID in the URL (I wouldn't normally do this, but I'm using Crocodoc to embed documents into the page and they don't seem to have another way of doing it without using an iFrame which isn't customizable): <!--sets a global variable "_doc" that is needed for initialization--> <script src="//crocodoc.com/webservice/document.js?session=tohY5vh3dPjUbmW6_imSQFshvQUsJ3fuJFyG7CxBU-E3AArTbELI3U0bSJBm6z5ZKtXpJQCnJ-EU1J2WGbuu6WH4e3Bglcy38TplHg"></script> I

Changing DOM element order with CSS (Crocodoc) [duplicate]

萝らか妹 提交于 2019-12-19 10:48:28
问题 This question already has answers here : How can I reorder my divs using only CSS? (24 answers) Closed 4 months ago . Is it possible to change DOM element order with CSS? I have an iframe where I'd like to change the toolbar from above to below the iframe's main content. So from this: <iframe> <html> <body> <div id='toolbar'></div> <div id='main_content'></div> <div id='other_stuff'></div> </body> </html> </iframe> To this: <iframe> <html> <body> <div id='main_content'></div> <div id='toolbar

Changing DOM element order with CSS (Crocodoc) [duplicate]

徘徊边缘 提交于 2019-12-19 10:48:11
问题 This question already has answers here : How can I reorder my divs using only CSS? (24 answers) Closed 4 months ago . Is it possible to change DOM element order with CSS? I have an iframe where I'd like to change the toolbar from above to below the iframe's main content. So from this: <iframe> <html> <body> <div id='toolbar'></div> <div id='main_content'></div> <div id='other_stuff'></div> </body> </html> </iframe> To this: <iframe> <html> <body> <div id='main_content'></div> <div id='toolbar

Loading an external script using <script src=“…”> in Angular

旧巷老猫 提交于 2019-12-02 00:44:13
I need to include a script that has a session ID in the URL (I wouldn't normally do this, but I'm using Crocodoc to embed documents into the page and they don't seem to have another way of doing it without using an iFrame which isn't customizable): <!--sets a global variable "_doc" that is needed for initialization--> <script src="//crocodoc.com/webservice/document.js?session=tohY5vh3dPjUbmW6_imSQFshvQUsJ3fuJFyG7CxBU-E3AArTbELI3U0bSJBm6z5ZKtXpJQCnJ-EU1J2WGbuu6WH4e3Bglcy38TplHg"></script> I tried simple things like: <script ng-src="//crocodoc.com/webservice/document.js?session={{ file.crocodoc