Skip to content

Commit 23686f2

Browse files
documentation : Improve Embed feature (#336)
1 parent f9818e1 commit 23686f2

6 files changed

Lines changed: 21 additions & 3 deletions

File tree

docs/chapter2/2cvforeducators.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -513,15 +513,33 @@ Follow the below steps to embed a CircuitVerse simulation within a web page:
513513

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

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

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

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

522-
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.
522+
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
523523

524-
![](../images/img_chapter2/2.49.png)
524+
![](../images/img_chapter2/2.48.1.png)
525+
526+
<div align="center"><em>Figure 2.48.1</em></div>
527+
528+
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
529+
530+
![](../images/img_chapter2/2.48.2.png)
531+
532+
<div align="center"><em>Figure 2.48.2</em></div>
533+
534+
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
535+
536+
![](../images/img_chapter2/2.48.3.png)
537+
538+
<div align="center"><em>Figure 2.48.3</em></div>
539+
540+
8. Paste the iframe code within the HTML frame of the desired webpage.
541+
542+
![](../images/img_chapter2/2.48.4.png)
525543

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

90.1 KB
Loading
13.1 KB
Loading
24.8 KB
Loading
26.6 KB
Loading

docs/images/img_chapter2/2.48.png

-143 KB
Loading

0 commit comments

Comments
 (0)