-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.htm
More file actions
261 lines (238 loc) · 10.7 KB
/
Copy pathindex.htm
File metadata and controls
261 lines (238 loc) · 10.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
<!doctype html>
<html lang="en">
<head>
<link href="https://fonts.googleapis.com/css?family=Alegreya+Sans" rel="stylesheet">
<link rel="stylesheet" href="css/style.css" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:image" content="https://a7madgamal.github.io/DevtoolsElPanel1/img/thumbnail.jpg"/>
<title>Kelmteenjs - elements panel - pt1</title>
</head>
<body>
<progress value="0" id="progressBar" class="flat">
<div class="progress-container">
<span class="progress-bar"></span>
</div>
</progress>
<div class="section-wrapper">
<!-- <div class="section" data-hash="screenshot">
<div>Mastering Devtools
<a target="_blank" href="https://youtu.be/gxYzwvNLd_0?t=0s"></a>
</div>
<div>Elements Panel (part 1)</div>
<div>Complete</div>
<div>Updated</div>
<div><strong> MIND-BLOWING!</strong></div>
<div>وبالمصري يا حج!</div>
</div> -->
<a name="intro"></a>
<div class="section" data-hash="intro">
<div>Elements Panel
<a target="_blank" href="https://youtu.be/gxYzwvNLd_0?t=0s"></a>
</div>
<div>Part 1: dom panel</div>
<div>Watch on another screen</div>
<div>USE this page!</div>
<div>Chrome v56</div>
</div>
<a name="htmldom"></a>
<div class="section" data-hash="htmldom">
<div>HTML vs. DOM
<a target="_blank" href="https://youtu.be/gxYzwvNLd_0?t=52s"></a>
</div>
<div id="dom_js"></div>
<div id="dom_css"></div>
<div class=oops>
I'm broken!
</div>
<div>
<video controls id="video1" style="height:150px">
<source src="https://www.html5rocks.com/en/tutorials/video/basics/devstories.webm" type='video/webm;codecs="vp8, vorbis"' />
<source src="https://www.html5rocks.com/en/tutorials/video/basics/devstories.mp4" type='video/mp4;codecs="avc1.42E01E, mp4a.40.2"' />
</video>
</div>
<div>OPT Shadow elements</div>
</div>
<a name="open"></a>
<div class="section" data-hash="open">
<div>Open
<a target="_blank" href="https://youtu.be/gxYzwvNLd_0?t=3m04s"></a>
</div>
<div>Right click > Inspect</div>
<div>Ctrl-Shift-C (inspector mode)</div>
<div>F12</div>
<div>drag and drop tabs</div>
<div>OPTION enable 1-9</div>
</div>
<a name="find"></a>
<div id="demoId" class="section class1 class2 class3 class4 class5" data-hash="find">
<div>Finding elements
<a target="_blank" href="https://youtu.be/gxYzwvNLd_0?t=04m02s"></a>
</div>
<div>Inspect > Page Hover</div>
<div>DOM tree Hover</div>
<div>CSS Selectors hover</div>
<div>breadcrumps</div>
<div>ctrl-f</div>
<div>selectors + values</div>
<div>copy as selector/xpath</div>
</div>
<a name="inspect"></a>
<div class="section" data-hash="inspect">
<div>Inspection
<a target="_blank" href="https://youtu.be/gxYzwvNLd_0?t=06m34s"></a>
</div>
<div>el#id.class - dimensions</div>
<div>oRANGe: mARGiN - GreeN: paddiNG</div>
<div>OPTION Rulers</div>
<div>OPTION Wordwrap</div>
<div>OPTION HTML comments</div>
<!-- <div>I'm a comment</div> -->
<div>OPTION Reveal DOM on hover</div>
</div>
<a name="nav"></a>
<div class="section" data-hash="nav">
<div>Navigate the DOM
<a target="_blank" href="https://youtu.be/gxYzwvNLd_0?t=09m"></a>
</div>
<div>Up - down - left - right</div>
<div>Expand\Collapse all</div>
<div>Right click OR alt-click on arrow</div>
</div>
<a name="edtwhole"></a>
<div class="section" data-hash="edtwhole">
<div>Editing (whole elements)
<a target="_blank" href="https://youtu.be/gxYzwvNLd_0?t=10m03s"></a>
</div>
<div>hide (h) (gray dot)</div>
<div>delete (del)</div>
<div>dragging</div>
<div>Cut - Copy - Paste</div>
<div>prevent nesting</div>
<div>… button</div>
</div>
<a name="edt"></a>
<div class="section" data-hash="edt">
<div>Editing (text and attrs)
<a target="_blank" href="https://youtu.be/gxYzwvNLd_0?t=12m19s"></a>
</div>
<div>Double click - Enter - Right click</div>
<div>tab - shift-tab - loop</div>
<div>edit tag type</div>
<div style="font-size:100%" class="class1">numerical values</div>
<div>alt*0.1 shift*10 ctrl*100</div>
<div>cls button</div>
</div>
<a name="edthtml"></a>
<div class="section" data-hash="edthtml">
<div>Editing (html)
<a target="_blank" href="https://youtu.be/gxYzwvNLd_0?t=14m07s"></a>
</div>
<div>F2</div>
<div>Right click > Edit html</div>
<div>Click outside to confirm, esc to cancel</div>
<div>Copy outerhtml OR copy</div>
<div>Select ALL > shift-tab to indent</div>
<div>Undo - Redo</div>
</div>
<a name="spcl"></a>
<div class="section" data-hash="spcl">
<div>Special elements
<a target="_blank" href="https://youtu.be/gxYzwvNLd_0?t=15m41s"></a>
</div>
<div><img src="img/img.png" alt="sample image" style="width:50%"></div>
<div><a target="_blank" href="https://www.youtube.com/channel/UC7Ca8ilbTCu9sj-Ux6JaGWw">Link</a></div>
<div><iframe src="https://example.com/" width="90%" height="200px"></iframe></div>
</div>
<a name="hl"></a>
<div class="section" data-hash="hl">
<div>Highlight DOM changes
<a target="_blank" href="https://youtu.be/gxYzwvNLd_0?t=17m16s"></a>
</div>
<div><button type="button" id="highlight_change_btn">click me!</button></div>
<div id="highlight_change_div">highlight DOM changes</div>
</div>
<a name="pseudo"></a>
<div class="section" data-hash="pseudo">
<div>Pseudo classes
<a target="_blank" href="https://youtu.be/gxYzwvNLd_0?t=17m46s"></a>
</div>
<div><input type="text" id="pseudo" name="pseudo" value="Pseudo classes"></div>
<div><a target="_blank" href="http://www.w3schools.com/Css/css_pseudo_classes.asp">link</a></div>
<div>Right click</div>
<div>:hov button</div>
<div>Orange dot</div>
</div>
<a name="log"></a>
<div class="section" data-hash="log">
<div>Logging Elements
<a target="_blank" href="https://youtu.be/gxYzwvNLd_0?t=20m27s"></a>
</div>
<!-- <div>Right click > break on</div> -->
<div><button type="button" id="log_el_btn"> Log DOM el </button></div>
<div>Same right-click in console</div>
<div><button type="button" id="log_jq_btn"> Log jq object </button></div>
<div>==$0</div>
<div>$1-$4</div>
<div>$('selector') $$('selector')</div>
<div>dir(el)</div>
<div>Scroll into view</div>
</div>
<a name="opts"></a>
<div class="section" data-hash="opts">
<div>Options
<a target="_blank" href="https://youtu.be/gxYzwvNLd_0?t=24m44s"></a>
</div>
<div>Theme</div>
<div>Panel layout</div>
<div>Auto open for popups <button type="button" id="popup_btn">popup!</button></div>
<div>Disable paused state overlay</div>
</div>
<a name="adv"></a>
<div class="section" data-hash="adv">
<div>Advanced
<a target="_blank" href="https://youtu.be/gxYzwvNLd_0?t=26m54s"></a>
</div>
<div>inspect the inspector ctrl-shift-j</div>
<div>chrome://flags/#enable-devtools-experiments</div>
<div>Allow custom UI themes</div>
<div><a target="_blank" href="https://chrome.google.com/webstore/detail/devtools-author/egfhcfdfnajldliefpdoaojgahefjhhi/">custom ui</a></div>
<div>shift key 6 times</div>
<div>Layout editor</div>
<div>remote debug and inspect</div>
<div>Restore defaults button</div>
</div>
<a name="end"></a>
<div class="section" data-hash="end">
<div>End of part 1
<a target="_blank" href="https://youtu.be/gxYzwvNLd_0?t=31m31s"></a>
</div>
<div>part2: css</div>
<div>Share!</div>
<div id='yt-button-holder'>
<div class="g-ytsubscribe" data-channelid="UC7Ca8ilbTCu9sj-Ux6JaGWw" data-layout="full" data-count="default" data-onytevent="onYtEvent"></div>
</div>
<div><a target="_blank" href="https://www.facebook.com/kelmteenjs">Add me on fb</a></div>
<div><a target="_blank" href="https://www.facebook.com/groups/1785218668429459/">Join the group</a></div>
<div><a target="_blank" href="https://twitter.com/a7madgamal87">Follow me on Twitter</a></div>
<div><a target="_blank" href="https://github.com/a7madgamal/DevtoolsElPanel1">Send a PR for updates/fixes</a></div>
<div>Share!</div>
</div>
<!-- <div class="section" data-hash="">
<div>Advanced pt2</div>
<div>chrome://inspect/</div>
<div>empty html <input type="text" name="" value="data:text/html,<!doctype html>" readonly></div>
<div>Flag - -auto-open-devtools-for-tabs</div>
</div> -->
</div>
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="js/lethargy.min.js"></script>
<script src="https://rawgit.com/Olical/EventEmitter/master/EventEmitter.min.js"></script>
<script src="js/smartscroll.js"></script>
<script src="js/custom.js"></script>
<script src="https://apis.google.com/js/platform.js"></script>
<script type="text/javascript">
document.getElementById('dom_js').innerText = "I'm js!";
</script>
</body>
</html>