Comments (7)
I think it's about the demos. E.g. the page https://jqueryui.com/draggable/ loads the URL https://jqueryui.com/resources/demos/draggable/default.html in an iframe and that one uses protocol-relative URLs as mentioned above.
While those URLs are valid, in 2023 it makes sense to just use HTTPS everywhere.
I'm not sure where exactly this is defined, though.
from jqueryui.com.
It looks like it may be defined here:
Lines 221 to 223 in 1d19439
from jqueryui.com.
When the protocol is missing, it should take the protocol of whatever page it's used in. Do you have a link to a page where it isn't working? What does devtools show you on the network panel?
from jqueryui.com.
It's just part of the view source
example code. Note that this is the only place where it is missing, the cdn's for the other links and scripts are written correctly.
In draggable:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jQuery UI Draggable - Default functionality</title>
<link rel="stylesheet" href="//code.jquery.com/ui/1.13.2/themes/base/jquery-ui.css">
<link rel="stylesheet" href="/resources/demos/style.css">
<style>
#draggable { width: 150px; height: 150px; padding: 0.5em; }
</style>
<script src="https://code.jquery.com/jquery-3.6.0.js"></script>
<script src="https://code.jquery.com/ui/1.13.2/jquery-ui.js"></script>
<script>
$( function() {
$( "#draggable" ).draggable();
} );
</script>
</head>
<body>
<div id="draggable" class="ui-widget-content">
<p>Drag me around</p>
</div>
</body>
</html>
from jqueryui.com.
If you open the file locally it will put file:// there and as such will not load the css file.
from jqueryui.com.
Where is the "view source example code"? Do you have a link to it? There are a lot of pages and I'm still not sure which page it is based on the description above.
from jqueryui.com.
I transferred the issue to the correct repository.
from jqueryui.com.
Related Issues (20)
- how can i add bootstrap class col-md-offset when i resize jquery ui rresizable from left HOT 2
- Jquery UI issue in autocomplete HOT 1
- jQuery UI Position issue with hidden elements HOT 2
- jQuery CDN - Bug Bounty - Vulnerabilities WebApplicationAssessment HOT 1
- Fix broken links HOT 1
- Comboxbox focus HOT 1
- tabs.js ajax issue HOT 1
- ID vs. Class in Accordeon API-Doc
- [www][forum] jquery forum redricted do blank page after login. HOT 3
- Nuget individual packages are very old HOT 1
- 502 Bad gateway on trying to load upgrade-guide pages HOT 4
- download.jqueryui.com throwing errors HOT 2
- draggable not dragging on touch (iPhone)
- Those IE version checks at the start of the HTML seem to be invalid... HOT 1
- broken link to book HOT 1
- jQuery UI Builder won't download v1.12.1 - it assumes v1.13.0 HOT 2
- confusing grid example in sortable interaction
- [BUG] documentation: demo on autocomplete fails for remote source HOT 3
- Creating an .everyN() traversal method
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jqueryui.com.