how to use jquery css in embedded mode?
See original GitHub issueHi,
nglview is using jquery-ui for player slider. Things are fine in notebook but the player is not displayed in jupyterlab and in html embedded mode.
Is there any idiom to make the UI work in non traditional notebook? thanks
Notebook
embed
Code
the code is here: https://github.com/arose/nglview/blob/master/js/src/widget_ngl.js#L5-L7
(PS: I tried to add “require(‘jquery-ui/themes/base/slider.css’);” but won’t help either). thanks.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
.css() | jQuery API Documentation
The .css() method is a convenient way to get a computed style property from the first matched element, especially in light of the...
Read more >jQuery CSS - Write into the <style>-tag - Stack Overflow
jQuery always adds its CSS in the tag itself. I think you should use the append() function with a new body style rule....
Read more >jQuery Get Started - W3Schools
There are several ways to start using jQuery on your web site. You can: Download the jQuery library from jQuery.com; Include jQuery from...
Read more >jQuery and Ajax Tutorial
jQuery adds many custom selectors on top of CSS selectors (marked with CSS). These selectors begins with a colon ':' , similar to...
Read more >How to Create Dark/Light Mode for Website using JavaScript ...
How to Create Dark/Light Mode for Website using JavaScript/jQuery? · Create an HTML Document. · Create CSS for the document file as well...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I think I solved the issue.
Just for the record.
First, include
then update
webpack.config.jsHi
Yeah that PR include css in html file. But that won’t help if we want to use sphinx-jupyter
Hai
On Tue, Aug 29, 2017 at 2:39 AM Pascal Bugnion notifications@github.com wrote: