Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A slight issue when <iframe>ing circuitjs.html #113

Open
SirClickALot opened this issue Oct 9, 2024 · 0 comments
Open

A slight issue when <iframe>ing circuitjs.html #113

SirClickALot opened this issue Oct 9, 2024 · 0 comments

Comments

@SirClickALot
Copy link

SirClickALot commented Oct 9, 2024

I have been experimenting embedding circuit models within an third-party-generated web page.

I do this all the time with other embedded web pages without issue but when it comes to embedding something like this...

<iframe width="100%" height= "100%" src="/assets/apps/electronics/circuitjs.html?hideInfoBox=true&hideMenu=true&hideSidebar=true&running=true&startCircuitLink=/assets/apps/electronics/_circuits/ram-dynamic.txt"></iframe>

When viewing the parent page, at first the model does not appear and I have to right-click on where I know the <iframe> to be and choose 'Reload frame'.

Does anyone have any experience with this and/or any ideas as to what I can try to fix it?


THIS IS ONLY A PROBLEM in CHROME, Firefox works a treat!
PLUS, if I have the Inspector open in Chrome then that's OK too the <iframe> displays fine.


Here's a screenshot add clarity...

image

Here is the actual URL: https://sirclickalot.co.uk/assets/books/gcse-computer-science-plus/chapters/computer-systems-in-detail/topics/cpu-in-detail/explainers/cpu-digging-deeper-ram-dynamic_problematic/#xl_xr_page_circuitjs_model

The 'invisible' <iframe> is on the right hand side.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant