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

Pop stepper visualisation out into a floating dialog #38

Open
psychemedia opened this issue May 6, 2020 · 0 comments
Open

Pop stepper visualisation out into a floating dialog #38

psychemedia opened this issue May 6, 2020 · 0 comments

Comments

@psychemedia
Copy link

To provide more real estate for the stepper visualisation, it might be useful to pop the stepper visualation out into a floating JQuery dialog widget.

As a proof of concept, if we find the div id for (the div has class nbtutor-canvas) we can pop it out into its own window if we have jquery and jquery-ui loaded using the following:

%%HTML
<script>$( "#SPECIFIC_ID" ).dialog()</script>

Peeking at the code, the corresponding div appears to be defined here:

this.$nbtutor_canvas = $("<div/>")

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

No branches or pull requests

2 participants