addchart Integrate this data on a website
Mixtures.info offers a convenient way to integrate a nice summary of the above information in another web page, using iFrames.
To do so, simply copy the following HTML code into the destination page, at the position where you want to integrate the data:
<iframe src="https://mixtures.info/en/recap/gabapentine/" style="border: none; width: 100%; height: auto" ></iframe>
Unfortunately, one restriction of iFrame elements is that they cannot automatically adjust their height to what they contain. A simple way to get around this problem is to load an additional JavaScript file, adding the following HTML code to your web page, alongside your other JavaScript files:
<script type="text/javascript" src="https://mixtures.info/static/drugcombinator/js/resize-frames.js" ></script>
Notes :
-
You only need to copy the second code once, even if you integrate several iFrames elements on the same page.
-
If you don't know where to put your JavaScript files, it is recommended that you load them at the end of the
<body>
element. It is also common to load them into the <head>
element.
-
If you can't or don't want to load an extra JavaScript file, it is possible to give a fixed height to the iFrame by changing
height: auto
to, for example, height: 500px
in the first code. Of course, you can change the value 500px
as you like.
-
For any questions or problems regarding integrations, please contact us.