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

Miscellaneous question/feature request #4

Closed
mannanj opened this issue Sep 5, 2015 · 2 comments
Closed

Miscellaneous question/feature request #4

mannanj opened this issue Sep 5, 2015 · 2 comments

Comments

@mannanj
Copy link

mannanj commented Sep 5, 2015

Hi thanks so much for helping in the other iFrame issue here: #3.

I want to be able to add a button on to my html page which effectively goes to and takes the link from "File" -> "Export as Link" and saves it to memory. I load the circuit in an iFrame method (described in the issue above):

<iframe src="{{pathPrefix}}/static/circuitjs/circuitjs.html" style="position: fixed; height:87%; width:100%; margin-top:-2.5%; border: none"></iframe>

I can then load the circuit right back if you left the page, without having to manually go to File and import it back.

The difficult solution appears to be modify the original Java before it is compiled in Eclipse with GWT, I have no Java experience. Would you know of any way to do grab the URL through javascript or even HTML or have done before?

Mannan

@sharpie7
Copy link
Owner

sharpie7 commented Sep 6, 2015

No I don't think this is possible without modifying the Java application. The link from the "export as link" command is dynamically created by the Java when the user requests it.

@mannanj
Copy link
Author

mannanj commented Sep 7, 2015

Aha yea I figured. Thank you for the help. This can be closed. I may try to play around with the Java and if I get a solution that works for me, I can post my solution /java code modification here. I need to do a bit of thinking before I attack that problem. I'll update this if I get anywhere!

@mannanj mannanj closed this as completed Sep 7, 2015
sharpie7 pushed a commit that referenced this issue Jan 23, 2019
Update Russian language
sharpie7 pushed a commit that referenced this issue Dec 5, 2020
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

2 participants