Skip to content
Snippets Groups Projects
Commit 9dbe9196 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Added attribute data-language

parent c525e03b
Branches
No related tags found
No related merge requests found
...@@ -15,13 +15,14 @@ ...@@ -15,13 +15,14 @@
<h1>Let's say this is the EuroWheat web page</h1> <h1>Let's say this is the EuroWheat web page</h1>
<p>What you do is that you include the following code in your HTML</p> <p>What you do is that you include the following code in your HTML</p>
<code> <code>
&lt;div id="zymoGridMapContainer" style="width:800px;"&gt;&lt;/div&gt;<br/> &lt;div id="zymoGridMapContainer" style="width:800px;" data-language="dk"&gt;&lt;/div&gt;<br/>
&lt;script id="zymoGridMapScript" type="text/javascript" src="{{settings.VIPSLOGIC_PROTOCOL}}://{{settings.VIPSLOGIC_SERVER_NAME}}/public/nordic_septoria_whs/nordic_septoria_whs.js"/&gt;&lt;/script&gt; &lt;script id="zymoGridMapScript" type="text/javascript" src="{{settings.VIPSLOGIC_PROTOCOL}}://{{settings.VIPSLOGIC_SERVER_NAME}}/public/nordic_septoria_whs/nordic_septoria_whs.js"/&gt;&lt;/script&gt;
</code> </code>
<p>Then the application will look like this</p> <p>Then the application will look like this</p>
<div id="zymoGridMapContainer" style="width:800px;"></div> <div id="zymoGridMapContainer" style="width:800px;" data-language="dk"></div>
<script id="zymoGridMapScript" type="text/javascript" src="{{settings.VIPSLOGIC_PROTOCOL}}://{{settings.VIPSLOGIC_SERVER_NAME}}/public/nordic_septoria_whs/nordic_septoria_whs.js"/></script> <script id="zymoGridMapScript" type="text/javascript" src="{{settings.VIPSLOGIC_PROTOCOL}}://{{settings.VIPSLOGIC_SERVER_NAME}}/public/nordic_septoria_whs/nordic_septoria_whs.js"/></script>
<!-- script id="zymoGridMapScript" type="text/javascript" src="http://restclienthtml/public/nordic_septoria_whs/nordic_septoria_whs.js"/></script--> <!--script id="zymoGridMapScript" type="text/javascript" src="http://restclienthtml/public/nordic_septoria_whs/nordic_septoria_whs.js"/></script-->
<p>If you omit the style attribute, then the application will fill all available space</p> <p>If you omit the style attribute, the application will fill all available space</p>
<p>If you omit the data-language attribute, the default language (en) will be used. Currently supported languages are no, dk and en. </p>
</body> </body>
</html> </html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment