Skip to content

Commit c0c6149

Browse files
committed
All: move responsive.html to themes/jquery/responsive.html
Back when the WP-MU setup was used on the old servers, this directory was mounted at /jquery-wp-content. This is no longer the case on the new simpler and standalone WordPress installs. To keep using this utility, expose it via the themes folder instead. While at, update the URL to be absolute path, so that it naturally embeds the current site and thus works for all sites, stage/prod, api, non-api, jquery, jqueryui, etc.
1 parent e39f5f3 commit c0c6149

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

responsive.html renamed to themes/jquery/responsive.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>Responsive Design Testing</title>
66
<style>
77
body { margin: 20px; font-family: sans-serif; overflow-x: scroll; }
8-
.wrapper { width: 6000px; }
8+
.wrapper { width: 5000px; }
99
.frame { float: left; }
1010
h2 { margin: 0 0 5px 0; }
1111
iframe { margin: 0 20px 20px 0; border: 1px solid #666; }
@@ -15,23 +15,23 @@
1515
<div class="wrapper">
1616
<div class="frame">
1717
<h2>320 &times; 480 <small>(mobile)</small></h2>
18-
<iframe src="https://stage.api.jquery.com/foo/" sandbox="allow-same-origin allow-forms" seamless width="320" height="480"></iframe>
18+
<iframe src="/" seamless width="320" height="480"></iframe>
1919
</div>
2020
<div class="frame">
2121
<h2>480 &times; 640 <small>(small tablet)</small></h2>
22-
<iframe src="https://stage.api.jquery.com/foo/" sandbox="allow-same-origin allow-forms" seamless width="480" height="640"></iframe>
22+
<iframe src="/" seamless width="480" height="640"></iframe>
2323
</div>
2424
<div class="frame">
2525
<h2>768 &times; 1024 <small>(tablet - portrait)</small></h2>
26-
<iframe src="https://stage.api.jquery.com/foo/" sandbox="allow-same-origin allow-forms" seamless width="768" height="1024"></iframe>
26+
<iframe src="/" seamless width="768" height="1024"></iframe>
2727
</div>
2828
<div class="frame">
2929
<h2>1024 &times; 768 <small>(tablet - landscape)</small></h2>
30-
<iframe src="https://stage.api.jquery.com/foo/" sandbox="allow-same-origin allow-forms" seamless width="1024" height="768"></iframe>
30+
<iframe src="/" seamless width="1024" height="768"></iframe>
3131
</div>
3232
<div class="frame">
3333
<h2>1200 &times; 800 <small>(desktop)</small></h2>
34-
<iframe src="https://stage.api.jquery.com/foo/" sandbox="allow-same-origin allow-forms" seamless width="1200" height="800"></iframe>
34+
<iframe src="/" seamless width="1200" height="800"></iframe>
3535
</div>
3636
</div>
3737
</body>

0 commit comments

Comments
 (0)