Skip to content

Commit

Permalink
documentation : Improve Embed feature (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
vedant-jain03 authored Jul 19, 2022
1 parent f9818e1 commit 23686f2
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions docs/chapter2/2cvforeducators.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,15 +513,33 @@ Follow the below steps to embed a CircuitVerse simulation within a web page:

<div align="center"><em>Figure 2.47</em></div>

4. Click on the **Embed** button to display the iFrame code associated with the relevant project. Refer Figure 2.48.
4. Click on the **Embed** button to display the popup to customize the iframe associated with the relevant project. Refer Figure 2.48.

![](../images/img_chapter2/2.48.png)

<div align="center"><em>Figure 2.48</em></div>

5. Copy the displayed iframe value and paste the iframe code within the HTML frame of the desired webpage. The circuit will be embedded with the **Made with CircuitVerse** watermark as shown in Figure 2.49.
5. Customize your Project Embed in the Popup. You can customize height, width, border-width, border-color and border-style. Refer Figure 2.48.1

![](../images/img_chapter2/2.49.png)
![](../images/img_chapter2/2.48.1.png)

<div align="center"><em>Figure 2.48.1</em></div>

6. For the advance options, you just need to click on the **Advance Option** and more options will be rendered. Refer Figure 2.48.2

![](../images/img_chapter2/2.48.2.png)

<div align="center"><em>Figure 2.48.2</em></div>

7. You need to click on **Publish** button to update the embed link with the updated changes in the configurations. The embed link will be copied to your clipboard and is ready to render/embed your circuit. Refer Figure 2.48.3

![](../images/img_chapter2/2.48.3.png)

<div align="center"><em>Figure 2.48.3</em></div>

8. Paste the iframe code within the HTML frame of the desired webpage.

![](../images/img_chapter2/2.48.4.png)

<div align="center"><em>Figure 2.49</em></div>

Expand Down
Binary file added docs/images/img_chapter2/2.48.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/img_chapter2/2.48.2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/img_chapter2/2.48.3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/img_chapter2/2.48.4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/img_chapter2/2.48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 23686f2

Please sign in to comment.