-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmicrosoft_paint.html
More file actions
520 lines (490 loc) · 27.3 KB
/
microsoft_paint.html
File metadata and controls
520 lines (490 loc) · 27.3 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
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
<html>
<head>
<title>Microsoft Paint features and top paint Illustrations</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="Keywords" content="microsoft, paint">
<meta name="Description" content="Microsoft paint is a simple raster graphics editor. First Paint program was released in November 1985
in windows 1.0. An updated version of microsoft paint was released with windows 95 and windows NT 4.0.">
<link rel="stylesheet" type="text/css" href=".css/font-awesome.min.css"/>
<link rel="stylesheet" type="text/css" href="./css/w3.css"/>
<script src="./js/w3.js"></script>
<style>
a{
text-decoration:none;
}
</style>
</head>
<body>
<div class="w3-container w3-padding-large w3-blue">
<!-- Logo component-->
<div class="w3-left w3-rightbar w3-border-white" style="width:60px;">
<div class="w3-display-container w3-indigo" style="width:40px;height:40px">
<div class="w3-display-topleft w3-green" style="width:40px;height:40px;transform:rotate(30deg);transform-origin:center center;">
</div>
<span class="w3-display-middle w3-text w3-hide-small-white w3-xlarge"><b>G</b></span>
</div>
</div>
<!-- Heading for website-->
<div class="w3-left w3-margin-left" style="max-width:60%;">
<span class="w3-xlarge w3-hide-small w3-padding-small">Microsoft Paint and, drawings and art Illustrations</span>
<span class="w3-large w3-border-bottom w3-hide-medium w3-hide-large w3-padding-small w3-mobile"><b>Microsoft Paint and, drawings and art Illustrations</b></span>
<span class="w3-tiny w3-mobile w3-right w3-padding-small">13-02-2023</span>
</div>
<!-- Search button-->
<div class="w3-right w3-white w3-hide-small">
<input class="w3-padding w3-border-0" style="width:100px;" type="text" placeholder="Search" />
<span class="w3-white w3-tag w3-bar-item"><span class=" w3-xlarge">☌</span></span>
</div>
</div>
<!-- Search button for small devices-->
<div class="w3-right w3-white w3-hide-medium w3-hide-large w3-padding">
<input class="w3-padding w3-border-0 w3-border-bottom w3-border-black" type="text" placeholder="Search" />
<span class="w3-white w3-tag w3-bar-item"><span class=" w3-xlarge">☌</span></span>
</div>
<div class="w3-">
<!-- This is code for sidebar opening button-->
<span class="w3-tag w3-top w3-hide-small w3-hide-medium w3-hover-green w3-animate-right w3-large" style="position:static;" onclick="w3.removeClass('#sidebar','w3-hide');">☰</span>
<!-- This is code for sidebar-->
<div id="sidebar" class="w3-sidebar w3-hide w3-animate-left w3-bar-block w3-aqua" style="width:40%;top:0">
<span class="w3-bar-item w3-black w3-text w3-hide-small-white w3-center"><b>Contents</b><span class="w3-right w3-border w3-tag w3-hover-red w3-hover-text-black" onclick="w3.addClass('#sidebar','w3-hide');">☓</span></span>
<div w3-repeat="bar" onclick="w3.toggleClass('#sidebar div:hover .dropdown','w3-hide');">
<div class="w3-bar-item w3-clear w3-hover-opacity w3-right-align w3-border-bottom w3-border-black">{{bar_item}}<span class="w3-left w3-border-right w3-border-black">☟</span></div>
<ul class="dropdown w3-right w3-hide">
<li class={{c1_}}>{{c1}}</li>
<li class={{c2_}}>{{c2}}</li>
<li class={{c3_}}>{{c3}}</li>
<li class={{c4_}}>{{c4}}</li>
<li class={{c5_}}>{{c5}}</li>
<li class={{c6_}}>{{c6}}</li>
<li class={{c7_}}>{{c7}}</li>
<li class={{c8_}}>{{c8}}</li>
<li class={{c9_}}>{{c9}}</li>
<li class={{c10_}}>{{c10}}</li>
</ul>
</div>
</div>
<!-- This is code for mainbody-->
<div class="w3-row w3-content">
<!-- This is code for content writing-->
<div id="main_section" class="w3-container w3-padding-16 w3-blue-grey w3-col l9 m8 w3-mobile">
<!-- This is code for sidebar opening button-->
<span class="w3-margin w3-hide-large w3-tag w3-hover-green w3-animate-right w3-large" style="position:static;" onclick="w3.removeClass('#sidebar','w3-hide');">☰</span>
<!-- code for cards-->
<div class="w3-container w3-padding w3-white">
<div w3-repeat="contents" class="w3-border-0">
<h1 class={{h_hide}}>{{Intro}}</h1>
<p class={{p_hide}}>{{p_content}}</p>
<div class={{img_hide}}>
<img class="w3-padding w3-margin-top" src={{img_src}} style="width:100%;"/>
</div>
</div>
</div>
</div>
<!-- This is code for content for publicity-->
<div id="ads_section" class="w3-container w3-padding-16 w3-col l3 m4 w3-mobile">
<div class="w3-blue-grey w3-panel w3-center">
<p class="w3-xlarge"><b>You might also like</b></p>
</div>
<!-- card type 0-->
<div w3-repeat="ads">
<a class={{card_0_hide}} href={{href_0}}>
<div class={{card_0_hide}}>
<div class="w3-hover-shadow w3-border w3-display-container w3-padding w3-margin-bottom">
<div class={{img_hide}}>
<img class="w3-opacity" src={{img_src}} style="width:100%;"/>
</div>
<div class="w3-display-middle">
<h3 class={{h_hide}}><strong>{{Intro}}</strong></h3>
<p class={{p_hide}}>{{p_content}}</p>
</div>
</div>
</div>
</a>
<!-- card type 1-->
<a class={{card_1_hide}} href={{href_1}}>
<div class={{card_1_hide}}>
<div class="w3-hover-shadow w3-border w3-padding w3-margin-bottom">
<h3 class={{h_hide}}><strong>{{Intro}}</strong></h3>
<p class={{p_hide}}>{{p_content}}</p>
</div>
</div>
</a>
<!-- card type 2-->
<a class={{card_2_hide}} href={{href_2}}>
<div class={{card_2_hide}}>
<div class="w3-card-2 w3-hover-shadow w3-padding w3-margin-bottom">
<img class={{img_hide}} src={{img_src}} style="width:100%;"/>
<h3 class={{h_hide}}><strong>{{Intro}}</strong></h3>
<p class={{p_hide}}>{{p_content}}</p>
</div>
</div>
</a>
<!-- card type 3-->
<a class={{card_3_hide}} href={{href_3}}>
<div class={{card_3_hide}}>
<div class="w3-card-4 w3-container w3-padding w3-margin-bottom">
<img class={{img_hide}} src={{img_src}} style="width:100%;"/>
<h3 class={{h_hide}}><strong>{{Intro}}</strong></h3>
<p class={{p_hide}}>{{p_content}}</p>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
<div class="w3-conatiner w3-black w3-padding-24 w3-xxlarge w3-blue w3-center">
Go to <span class="w3-button w3-hover-white w3-border">Home</span>
</div>
<script>
const sidebar_items = {
"bar":[
{"bar_item":"Introduction"},
{"bar_item":"Features",'c1':'Export','c2':'color modes','c3':'Menu bar','c4':'Tools'},
{"bar_item":"Menu bar",'c1':'File menu','c2':'Edit menu','c3':'View menu','c4':'Image menu','c5':'Colour menu','c6':'Help menu'},
{"bar_item":"Tools",'c1':'Shapes','c2':'Pencil and Eraser','c3':'Selection','c4':'fill and brush','c5':'Text'},
{"bar_item":"Editing pictures"},
{"bar_item":"Illustrations","c1":"Mostly mouse","c2":"with brush"}
]
}
sidebar_items.bar.forEach(p=>{
let items = Object.entries(p);
for(let i=0 ; i<items.length; i++){
for(let j=0 ; j<10 ; j++){
let p1 = j+1;
let p2 = "c"+p1;
let p3 = p2+"_";
if(p[p2]==undefined){
p[p2] = "";
}
p[p3] = p[p2]!=undefined && p[p2].length==0?"w3-hide":"";
}
}
});
w3.displayObject("sidebar",sidebar_items);
const content_items = {
"contents":[
{"Intro":"Introduction to Microsoft Paint",
"p_content":`
<b>Microsoft paint</b> is a simple raster graphics editor. First Paint program was released in November 1985
in windows 1.0. An updated version of microsoft paint was released with windows 95 and windows NT 4.0.
Feature of ribbon in user interface is added in windows 7 and later version. In 2017, microsoft added
paint to list of deprecated windows features and later kept into microsoft store as a free application.
This was done to release Paint 3D, but the course of action changed and they put Paint 3D in deprected
list instead. Paint is still shipped with every windows version. Latest windows 11 update was released
featuring a refreshed ui.
`,"img_src":"https://images.hindustantimes.com/tech/img/2021/12/03/960x540/paint1_1638495600499_1638495626197.png"},
{"Intro":'Features',
"p_content":`
<ul class="w3-ul w3-border">
<li>It can export files in windows bitmap(BMP), JPEG, PNG, and single page TIFF formats.</li>
<li>
<details>
<summary class="w3-tooltip">Two color modes<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<ul>
<li>Black and White</li>
<li>Multi color mode with indexed color pallete</li>
</ul></details>
</li>
<li>
<details>
<summary class="w3-tooltip">Shapes<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<ul>
<li>Rectangle</li>
<li>Ellipse</li>
<li>Line</li>
<li>Curve</li>
<li>Polygon</li>
<li>Rounded Rect</li>
</ul>
</details>
</li>
<li>Text</li>
<li>Edit Images</li>
<li>
<details>
<summary class="w3-tooltip">Menu Bar<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<ul>
<li>File Menu</li>
<li>Edit Menu</li>
<li>View Menu</li>
<li>Image Menu</li>
<li>Colour Menu</li>
<li>Help Menu</li>
</ul>
</details>
</li>
</ul>
`,"img_src":"https://filestore.community.support.microsoft.com/api/images/fe2238f2-15c1-42fa-839d-341c9e86f464"},
{"Intro":"Menu Bar",
"p_content":`
<ul class="w3-ul">
<li class="w3-hover-border-blue w3-border w3-border-white">File Menu
<ul class="w3-ul">
<li>
<details>
<summary class="w3-tooltip">New File<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<p>Helps to create new file and opens in new window. You can use <code class="w3-pale-yellow w3-padding-small">ctrl+N</code> to use new file option as well.</p>
</details>
</li>
<li>
<details>
<summary class="w3-tooltip">Save and Save as<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<p>Helps to save file , if already was saved then <code class="w3-light-grey w3-padding-small">save</code> updates the file, while <code class="w3-light-grey w3-padding-small">save as</code> will resave a file with the given name. You can use <code class="w3-pale-yellow w3-padding-small">ctrl+S</code> to use save option as well.</p>
</details>
</li>
<li>
<details>
<summary class="w3-tooltip">Print<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<p>Helps to print the file.You can use <code class="w3-pale-yellow w3-padding-small">windows + standard print button on keyboard</code> to use print option as well.</p>
</details>
</li>
<li>
<details>
<summary class="w3-tooltip">Preferences<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<p>Provides options to customize window options like background color,etc.</p>
</details>
</li>
</ul>
</li>
<li class="w3-hover-border-blue w3-border w3-border-white">Edit Menu
<ul class="w3-ul">
<li>
<details>
<summary class="w3-tooltip">Undo<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<p>Helps to undo the current changes. You can use <code class="w3-pale-yellow w3-padding-small">ctrl+Z</code> to use undo option as well.</p>
</details>
</li>
<li>
<details>
<summary class="w3-tooltip">Redo<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<p>Helps to redo the undo the current changes. You can use <code class="w3-pale-yellow w3-padding-small">ctrl+shift+Z</code> to use redo option as well.</p>
</details>
</li>
<li>
<details>
<summary class="w3-tooltip">Copy<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<p>Helps to copy a selected part on artboard of the current window. You can use <code class="w3-pale-yellow w3-padding-small">ctrl+C</code> to use undo option as well.</p>
</details>
</li>
<li>
<details>
<summary class="w3-tooltip">Paste<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<p>Helps to paste the copied part on the artboard default on the top left position and the you can drag it to the place you want to keep it to. You can use <code class="w3-pale-yellow w3-padding-small">ctrl+V</code> to use undo option as well.</p>
</details>
</li>
</ul>
</li>
<li class="w3-hover-border-blue w3-border w3-border-white">View Menu
<ul class="w3-ul">
<li>
<details>
<summary class="w3-tooltip">Tool box<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<p>The toolbox is very useful because it contains the tools you will use in order to come up with your drawing. It contains the following tools:
<ul class="w3-ul w3-border">
<li><b>Free-Form Select and Select Tools </b> are used to select a specific object, which you can then copy and paste in another location, or you can opt to delete that selection.</li>
<li><b>Eraser/Colour Eraser</b> erases your drawing or the colour you have applied.</li>
<li><b>Pick Colour</b> picks a specific colour you want and makes it the active colour, meaning that whatever you do next will have that colour.</li>
<li><b>Pencil</b> is used for drawing.</li>
<li><b>Airbrush</b> sprays your object with colour.</li>
<li><b>Line Tool</b> draws a line. To make your line straight, hold down the Shift key and then drag your mouse, holding the left button. Select the thickness of the line below the toolbox.</li>
<li><b>Rectangle Tool</b> makes rectangles. You can also draw a square by holding the Shift key.</li>
<li><b>Ellipse</b> is used to draw an ellipse; you can also draw a perfect circle by holding the shift key before you start dragging your mouse.</li>
<li><b>Fill With Colour</b> fills an object with colour at once.</li>
<li><b>Magnifier</b> can magnify or zoom into a part of your drawing.</li>
<li><b>Brush</b> is used for painting, just like you would paint your house.</li>
<li><b>Text</b> is used for entering text.</li>
<li><b>Curve</b> Tool draws a curve.</li>
<li><b>Polygon Tool</b> is used to draw a polygon, but you can draw a lot of other objects.</li>
<li><b>Rounded Rectangle</b> helps you to draw a rectangle with rounded corners.</li>
</ul>
</p>
</details>
</li>
<li>
<details>
<summary class="w3-tooltip">Color bar<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<p>The colour box contains the colours that you will use for painting your drawings.</p>
<p>Knowing the tools used in Paint, you can now come up with a drawing. Open Paint and think of something to draw. It is only with a lot of practising that you can improve your skills.</p>
</details>
</li>
<li>
<details>
<summary class="w3-tooltip">Status bar<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<p>At the buttom of the window is the status bar. It contains the zoom percentage, artbox size, etc.</p>
</details>
</li>
<li>
<details>
<summary class="w3-tooltip">Text toolbar<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<p>Helps to create text with different colors, size, etc. like a normal text option.</p>
</details>
</li>
<li>
<details>
<summary class="w3-tooltip">Zoom<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
</details>
</li>
<li>
<details>
<summary class="w3-tooltip">View Bitmap<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<p>Can import bitmap images in the artbox.</p>
</details>
</li>
</ul>
</li>
<li class="w3-hover-border-blue w3-border w3-border-white">Image Menu
<ul class="w3-ul">
<li>
<details>
<summary class="w3-tooltip">Flip<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<p>You can flip the selected part on art board with this option.</p>
</details>
</li>
<li>
<details>
<summary class="w3-tooltip">Rotate<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<p>You can rotate the selected part on art board with this option.</p>
</details>
</li>
<li>
<details>
<summary class="w3-tooltip">Inverting Colors<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<p>You can invert colors the selected part on art board with this option.</p>
</details>
</li>
</ul>
</li>
<li class="w3-hover-border-blue w3-border w3-border-white">Color Menu
<ul class="w3-ul">
<li>
<details>
<summary class="w3-tooltip">Editing Colors<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
</details>
</li>
</ul>
</li>
<li class="w3-hover-border-blue w3-border w3-border-white">Help Menu
<ul class="w3-ul">
<li>
<details>
<summary class="w3-tooltip">Comprehensive Help File<span class="w3-text w3-hide-small w3-tiny w3-tag">Click to view more</span></summary>
<p>Provides a summary of the paint app and different tools it provides.</p>
</details>
</li>
</ul>
</li>
</ul>
`
},
{"Intro":"Illustrations",
"p_content":"<p class='w3-red w3-text-black w3-panel w3-leftbar w3-border-blue w3-padding'>The following content is not being advertised.</p>Some amazing, decorative illustrations created by different artists over the decade.<p class='w3-large'><b>Mostly mouse</b></p>",
"img_src":"https://i.ytimg.com/vi/F-o87_OCspc/sddefault.jpg"
},
{
"p_content":"<p>A simple illustration and tutorial by <a href='https://youtu.be/F-o87_OCspc' class='w3-text-blue'>Ashu Art channel</a>.</p>",
"img_src":"https://i.ytimg.com/vi/-cVhpMDN-Zw/maxresdefault.jpg"
},
{
"p_content":"A simple illustration and tutorial on <a href='https://youtu.be/-cVhpMDN-Zw' class='w3-text-blue'>BeingNadish channel</a>.",
"img_src":"https://github.com/amitSah121/firstOne.github.io/blob/main/resources/ms_paint_test_1.png?raw=true"
},
{
"p_content":"A simple demonstration made by myself <a href='https://github.com/amitSah121/firstOne.github.io/blob/main/resources/ms_paint_test_1.png?raw=true' target='_blank' class='w3-text-blue w3-border-bottom'>Here's a clear picture</a>."
},
{
"p_content":"<b class='w3-large'>With Brush</b>",
"img_src":"https://support.content.office.net/en-us/media/ec16b0bf-76d2-48af-b694-73c2ec42dea4.png"
},
{
"p_content":"A simple illustration in microsoft paint tutorial in microsoft official site.",
"img_src":"https://i.ytimg.com/vi/3eKBiEeag1A/maxresdefault.jpg"
},
{
"p_content":"A simple illustration and tutorial on <a href='https://youtu.be/3eKBiEeag1A' class='w3-text-blue'>Vox youtube</a>.",
"img_src":"https://i.pinimg.com/236x/d0/77/f5/d077f52ae3f47b492df9813b1042792e--microsoft-paint-color-pallets.jpg"
},
{
"p_content":"A simple illustration on <a href='https://www.pinterest.com/pin/494762709043541476/' class='w3-text-blue'>pinterest</a>."
},
{
"Intro":"Conclusion",
"p_content":"<b>A simple curve tool</b> feature present in ms-paint is the most amazing tool that can't be found on other widely used paint or drawing programs.The way we can specify the end points and then adjust the curver with two more steps make it the most powerful tool in ms paint for drawing complex curved shapes easily."
}
]
}
content_items.contents.forEach(p=>{
let items = Object.entries(p);
for(let i=0 ; i<items.length ; i++){
if(p["h_hide"] == undefined){
p["h_hide"] = "";
}
if(p["p_hide"] == undefined){
p["p_hide"] = "";
}
if(p["img_hide"] == undefined){
p["img_hide"] = "";
}
if(p["Intro"] == undefined || p["Intro"].length==0){
p["Intro"] = "";
p["h_hide"] = "w3-hide";
}
if(p["p_content"] == undefined || p["p_content"].length==0){
p["p_content"] = "";
p["p_hide"] = "w3-hide";
}
if(p["img_src"] == undefined || p["img_src"].length==0){
p["img_src"] = "";
p["img_hide"] = "w3-hide";
}
}
});
w3.displayObject("main_section",content_items);
const ads_items = {
"ads":[
{"card_1_hide":"","Intro":"Just a card","p_content":"This is sth u should not miss","img_src":"https://thumbs.dreamstime.com/b/wooden-bridge-links-small-islands-around-lagoon-okinawa-japan-okinawa-popular-tourist-travel-destination-good-244824964.jpg"}
]
};
ads_items.ads.forEach(p=>{
let items = Object.entries(p);
for(let i=0 ; i<items.length ; i++){
if(p["card_0_hide"] == undefined){
p["card_0_hide"] = "w3-hide";
}else if(p["href_0"] == undefined){
p["href_0"] = "#";
}
if(p["card_1_hide"] == undefined){
p["card_1_hide"] = "w3-hide";
}else if(p["href_1"] == undefined){
p["href_1"] = "#";
}
if(p["card_2_hide"] == undefined){
p["card_2_hide"] = "w3-hide";
}else if(p["href_2"] == undefined){
p["href_2"] = "#";
}
if(p["card_3_hide"] == undefined){
p["card_3_hide"] = "w3-hide";
}else if(p["href_3"] == undefined){
p["href_3"] = "#";
}
if(p["Intro"] == undefined || p["Intro"].length==0){
p["Intro"] = "";
p["h_hide"] = "w3-hide";
}
if(p["p_content"] == undefined || p["p_content"].length==0){
p["p_content"] = "";
p["p_hide"] = "w3-hide";
}
if(p["img_src"] == undefined || p["img_src"].length==0){
p["img_src"] = "";
p["img_hide"] = "w3-hide";
}
}
});
w3.displayObject("ads_section",ads_items);
</script>
</body>
</html>