-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconcepto_de_fraccin.html
530 lines (434 loc) · 20.6 KB
/
concepto_de_fraccin.html
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
521
522
523
524
525
526
527
528
529
530
<!doctype html>
<html lang="es">
<head>
<link rel="stylesheet" type="text/css" href="base.css" />
<link rel="stylesheet" type="text/css" href="content.css" />
<link rel="stylesheet" type="text/css" href="nav.css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Concepto de fracción | FRACCIONES </title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<meta name="author" content="María José Novillo Rodríguez" />
<link rel="license" type="text/html" href="http://creativecommons.org/licenses/by-sa/4.0/" />
<meta name="generator" content="eXeLearning 2.8.1 - exelearning.net" />
<!--[if lt IE 9]><script type="text/javascript" src="exe_html5.js"></script><![endif]-->
<script type="text/javascript" src="exe_jquery.js"></script>
<script type="text/javascript" src="common_i18n.js"></script>
<script type="text/javascript" src="common.js"></script>
<link rel="stylesheet" type="text/css" href="geogebra-activity.css" />
<script type="text/javascript" src="geogebra-activity.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="https://fonts.googleapis.com/css2?family=Lato&display=swap" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible&display=swap" rel="stylesheet" type="text/css">
<link href="https://fonts.cdnfonts.com/css/opendyslexic" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap" rel="stylesheet" type="text/css">
<style>
.z-index {
z-index: 999;
}
.select-container {
display: inline-block;
position: relative;
z-index: 999;
}
.font-button {
padding: 8px 16px;
border: 1px solid black;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
margin: 8px;
text-align: center;
text-decoration: none;
background-color: white;
color: black;
z-index: 999;
}
.fontButtonContainer {
z-index: 999;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap; /* establece el wrap para que los botones se distribuyan en varias líneas */
gap: 5px; /* ajusta el espacio entre los botones */
position: static; /* fija la barra de botones en la página: static para que aparezca en la parte superior, fixed para que quede flotando */
top: 40px; /* fija la barra de botones en la parte superior de la página */
left: 0; /* fija la barra de botones en el margen izquierdo */
right: 0; /* fija la barra de botones en el margen derecho */
margin: auto; /* centra la barra de botones horizontalmente */
}
/* Estilo para el desplegable */
select {
padding: 8px 4px;
border: 1px solid black;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
margin: 6px;
text-align: center;
text-decoration: none;
background-color: white;
}
select option {
text-align: left;
}
</style>
<script>
// BatexeGo v3 Juan José de Haro
// Define los textos que se ven en pantalla. Reemplazar el texto entre comillas
// Textos del menú desplegable
const defaultText = 'Parámetros por defecto:'; //Descripción de la opción por defecto
const standardText = 'Fuente estándar'; // Fuente original del documento
const dyslexicDesc = 'Dislexia:'; // Descripción de la opción OpenDyslexic
const dyslexicText = 'OpenDyslexic';
const hyperlegibleDesc = 'Deficiencias visuales:'; // Descripción de la opción Atkinson Hyperlegible
const hyperlegibleText = 'Atkinson Hyperlegible';
const highLegibilityDesc = 'Alta legibilidad:'; // Descripción de las opciones de alta legibilidad
const opensansText = 'OpenSans';
const robotoText = 'Roboto';
const latoText = 'Lato';
const montserratText = 'Montserrat';
// Botones aumentar y disminuir fuente
const increaseFontText = 'A+'; // Botón para incrementar la fuente
const increaseFontTitle = 'Incrementa la fuente'; // Texto emergente al pasar el ratón
const decreaseFontText = 'A-'; // Botón para reducir la fuente
const decreaseFontTitle = 'Reduce la fuente'; // Texto emergente al pasar el ratón
// Botón para traducir
const translateText = '🌐'; // Texto para el botón de traducción de Google
const translateTitle = 'Traduce la página'; // Texto emergente al pasar el ratón
// Botón para leer / detener la lectura en voz alta
let readText = 'Leer'; // Botón para leer en voz alta el contenido de la página
const readTextTitle ='Lee en voz alta la selección o la página entera'; // Texto emergente al pasar el ratón
const stopText = 'Detener'; // Texto del botón para detener la lectura
const stopTextTitle = 'Detiene la lectura'; // Texto emergente al pasar el ratón
// Botones para que los botones estén siempre visibles
let floatingFix = 'Fijar'; // Texto del botón flotante cuando está sobre el texto
let floatingFixTitle = 'Fija la barra de botones en la parte superior'; // Texto emergente al pasar el ratón
let floatingFloat = 'Flotar'; //Texto del botón flotante cuando está fijo en la parte superior
let floatingFloatTitle = 'La barra permanecerá siempre visible';
// Enlace +Info
const infoText = '+Info'; // Texto del enlace +Info
const infoTextLink = 'https://batexego.bilateria.org'; // Destino del enlace de +Info
// Fin
readText = `${readText} (${document.documentElement.lang})`; //Se añade el idioma al botón Leer
let originalFont;
let currentFontSize;
let originalFontSize;
let isReading = false;
let utterance = new SpeechSynthesisUtterance();
let googleTranslateWidgetVisible = localStorage.getItem('googleTranslateWidgetVisible');
function setFont(font) {
document.body.style.fontFamily = font;
localStorage.setItem('font', font);
}
function setFontSize(size) {
currentFontSize = parseInt(window.getComputedStyle(document.body).getPropertyValue('font-size'));
currentFontSize += size;
document.body.style.fontSize = currentFontSize + 'px';
localStorage.setItem('fontSize', currentFontSize + 'px');
}
function toggleGoogleTranslateWidget() {
if (!googleTranslateWidgetVisible) {
const script = document.createElement('script');
script.src = 'https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit';
script.id = 'google-translate-script';
document.head.appendChild(script);
const googleTranslateElement = document.createElement('div');
googleTranslateElement.id = 'google_translate_element';
googleTranslateElement.style.position = 'fixed';
googleTranslateElement.style.top = '0';
googleTranslateElement.style.right = '0';
googleTranslateElement.style.zIndex = '1000';
document.body.appendChild(googleTranslateElement);
window.googleTranslateElementInit = function() {
new google.translate.TranslateElement({pageLanguage: 'auto', layout: google.translate.TranslateElement.FloatPosition.TOP_RIGHT}, 'google_translate_element');
};
googleTranslateWidgetVisible = true;
} else {
const script = document.getElementById('google-translate-script');
script.remove();
const googleTranslateElement = document.getElementById('google_translate_element');
googleTranslateElement.remove();
googleTranslateWidgetVisible = false;
}
localStorage.setItem('googleTranslateWidgetVisible',googleTranslateWidgetVisible);
}
document.addEventListener('DOMContentLoaded', () => {
googleTranslateWidgetVisible = JSON.parse(localStorage.getItem('googleTranslateWidgetVisible'));
if(googleTranslateWidgetVisible) {
googleTranslateWidgetVisible = false;
toggleGoogleTranslateWidget();
}
originalFont = window.getComputedStyle(document.body).getPropertyValue('font-family');
localStorage.setItem('originalFont', originalFont);
let font = localStorage.getItem('font');
if (!font) {
font = originalFont;
}
document.body.style.fontFamily = font;
let fontSize = localStorage.getItem('fontSize');
originalFontSize = window.getComputedStyle(document.body).getPropertyValue('font-size');
localStorage.setItem('originalFontSize', originalFontSize);
if (!fontSize) {
fontSize = originalFontSize
localStorage.setItem('fontSize', fontSize);
}
document.body.style.fontSize = fontSize;
const fontButtonContainer = document.createElement('div');
fontButtonContainer.classList.add('fontButtonContainer');
const selectContainer = document.createElement('div');
selectContainer.classList.add('select-container');
const select = document.createElement('select');
select.classList.add('z-index');
const standardOption = document.createElement('option');
standardOption.value = 'standard';
standardOption.text = standardText;
const defaultFontOptGroup = document.createElement('optgroup');
defaultFontOptGroup.label = defaultText;
defaultFontOptGroup.appendChild(standardOption);
select.appendChild(defaultFontOptGroup);
const dyslexicOption = document.createElement('option');
dyslexicOption.value = 'dyslexic';
dyslexicOption.text = dyslexicText;
select.add(dyslexicOption);
const dyslexicOptGroup = document.createElement('optgroup');
dyslexicOptGroup.label = dyslexicDesc;
dyslexicOptGroup.appendChild(dyslexicOption);
select.appendChild(dyslexicOptGroup);
const hyperlegibleOption = document.createElement('option');
hyperlegibleOption.value = 'hyperlegible';
hyperlegibleOption.text = hyperlegibleText;
select.add(hyperlegibleOption);
const hyperlegibleOptGroup = document.createElement('optgroup');
hyperlegibleOptGroup.label = hyperlegibleDesc;
hyperlegibleOptGroup.appendChild(hyperlegibleOption);
select.appendChild(hyperlegibleOptGroup);
const opensansOption = document.createElement('option');
opensansOption.value = 'Open Sans';
opensansOption.text = opensansText;
select.add(opensansOption);
const robotoOption = document.createElement('option');
robotoOption.value = 'Roboto';
robotoOption.text = robotoText;
select.add(robotoOption);
const latoOption = document.createElement('option');
latoOption.value = 'Lato';
latoOption.text = latoText;
select.add(latoOption);
const montserratOption = document.createElement('option');
montserratOption.value = 'Montserrat';
montserratOption.text = montserratText;
select.add(montserratOption);
const highLegibilityOptGroup = document.createElement('optgroup');
highLegibilityOptGroup.label = highLegibilityDesc;
highLegibilityOptGroup.appendChild(latoOption);
highLegibilityOptGroup.appendChild(montserratOption);
highLegibilityOptGroup.appendChild(opensansOption);
highLegibilityOptGroup.appendChild(robotoOption);
select.appendChild(highLegibilityOptGroup);
// Seleccionar la opción correspondiente al cargar la página
if (font === originalFont) { // Nueva condición
select.selectedIndex = 0; // Nueva línea
} else if (font === 'OpenDyslexic') {
select.selectedIndex = 1;
} else if (font === 'Atkinson Hyperlegible') {
select.selectedIndex = 2;
} else if (font === 'Roboto') {
select.selectedIndex = 6;
} else if (font === 'Lato') {
select.selectedIndex = 3;
} else if (font === 'Open Sans') {
select.selectedIndex = 5;
} else if (font === 'Montserrat') {
select.selectedIndex = 4;
}
select.addEventListener('change', () => {
const font = select.value;
if (font === 'standard') {
setFont(originalFont);
fontSize = originalFontSize;
localStorage.setItem('fontSize', fontSize);
document.body.style.fontSize = localStorage.getItem('originalFontSize');
} else if (font === 'dyslexic') {
setFont('OpenDyslexic');
} else if (font === 'hyperlegible') {
setFont('Atkinson Hyperlegible');
} else if (font === 'Open Sans') {
setFont('Open Sans');
} else if (font === 'Roboto') {
setFont('Roboto');
} else if (font === 'Lato') {
setFont('Lato');
} else if (font === 'Montserrat') {
setFont('Montserrat');
}
});
selectContainer.appendChild(select);
fontButtonContainer.appendChild(selectContainer);
const increaseFontButton = document.createElement('button');
increaseFontButton.classList.add('font-button');
increaseFontButton.textContent = increaseFontText;
increaseFontButton.setAttribute('title', increaseFontTitle);
increaseFontButton.addEventListener('click', () => setFontSize(1));
fontButtonContainer.appendChild(increaseFontButton);
const decreaseFontButton = document.createElement('button');
decreaseFontButton.classList.add('font-button');
decreaseFontButton.textContent = decreaseFontText;
decreaseFontButton.setAttribute('title', decreaseFontTitle);
decreaseFontButton.addEventListener('click', () => setFontSize(-1));
fontButtonContainer.appendChild(decreaseFontButton);
const translateButton = document.createElement('button');
translateButton.classList.add('font-button');
translateButton.textContent = translateText;
translateButton.setAttribute('title', translateTitle);
translateButton.addEventListener('click', toggleGoogleTranslateWidget);
fontButtonContainer.appendChild(translateButton);
// Botón para leer en voz alta
const readButton = document.createElement('button');
readButton.classList.add('font-button');
readButton.textContent = readText;
readButton.setAttribute('title', readTextTitle);
readButton.addEventListener('click', () => {
let selectedText = window.getSelection().toString();
let text = '';
let lang = document.documentElement.lang;
if (selectedText !== '') {
text = selectedText;
let selectedNode = window.getSelection().anchorNode;
while (selectedNode && selectedNode.nodeType !== Node.ELEMENT_NODE) {
selectedNode = selectedNode.parentNode;
}
if (selectedNode) {
const selectedLang = selectedNode.getAttribute('lang');
if (selectedLang) {
lang = selectedLang;
}
}
} else {
text = document.body.innerText;
const bodyLang = document.body.getAttribute('lang');
if (bodyLang) {
lang = bodyLang;
}
}
utterance.lang = lang;
utterance.text = text;
if (!isReading) {
isReading = true;
readButton.textContent = `${stopText} (${lang})`;
readButton.setAttribute('title', stopTextTitle);
speechSynthesis.speak(utterance);
} else {
isReading = false;
readButton.textContent = readText;
readButton.setAttribute('title', readTextTitle);
speechSynthesis.cancel();
}
utterance.addEventListener('end', () => {
isReading = false;
readButton.textContent = readText;
readButton.setAttribute('title', readTextTitle);
});
});
fontButtonContainer.appendChild(readButton);
// Botón para que la barra esté siempre visible
const floatingButton = document.createElement('button');
floatingButton.classList.add('font-button');
floatingButton.textContent = floatingFloat;
floatingButton.setAttribute('title', floatingFloatTitle);
floatingButton.addEventListener('click', () => {
if (floatingButton.textContent === floatingFix) {
fontButtonContainer.style.position = 'static';
floatingButton.textContent = floatingFloat;
floatingButton.setAttribute('title', floatingFloatTitle);
localStorage.setItem('floatState', 'static');
} else {
fontButtonContainer.style.position = 'fixed';
floatingButton.textContent = floatingFix;
floatingButton.setAttribute('title', floatingFixTitle);
localStorage.setItem('floatState', 'fixed');
}
});
let floatState = localStorage.getItem('floatState');
if (!floatState) {
floatState = 'static';
floatingButton.textContent = floatingFix;
floatingButton.setAttribute('title', floatingFixTitle);
}
if (floatState === 'fixed') {
fontButtonContainer.style.position = 'fixed';
floatingButton.textContent = floatingFix;
floatingButton.setAttribute('title', floatingFixTitle);
} else {
fontButtonContainer.style.position = 'static';
floatingButton.textContent = floatingFloat;
floatingButton.setAttribute('title', floatingFloatTitle);
}
localStorage.setItem('floatState', floatState);
fontButtonContainer.appendChild(floatingButton);
const infoLink = document.createElement('a');
infoLink.textContent = infoText;
infoLink.href = infoTextLink;
infoLink.target = '_blank';
infoLink.style.marginLeft = '8px';
infoLink.style.fontSize = '12px';
fontButtonContainer.appendChild(infoLink);
infoLink.classList.add('z-index');
document.body.insertBefore(fontButtonContainer, document.body.firstChild);
});
</script>
</head>
<body class="exe-web-site exe-auto-math" id="exe-node-7"><script type="text/javascript">document.body.className+=" js"</script>
<div id="content">
<p id="skipNav"><a href="#main" class="sr-av">Saltar la navegación</a></p>
<header id="header" style="background-image: url(pie-charts-7408997_1280%20copia.png); background-repeat: no-repeat;"><div id="headerContent">FRACCIONES</div></header>
<nav id="siteNav">
<ul>
<li><a href="index.html" class="daddy main-node">LAS FRACCIONES EN 2º DE LA ESO</a></li>
<li class="current-page-parent"><a href="actividades.html" class="current-page-parent daddy">Actividades</a>
<ul>
<li><a href="claves_para_empezar.html" class="no-ch">Claves para empezar</a></li>
<li id="active"><a href="concepto_de_fraccin.html" class="active no-ch">Concepto de fracción</a></li>
<li><a href="fracciones_propias_e_impropias.html" class="no-ch">Fracciones propias e impropias</a></li>
<li><a href="comparacin_de_fracciones.html" class="no-ch">Comparación de fracciones</a></li>
<li><a href="fracciones_equivalentes.html" class="no-ch">Fracciones equivalentes</a></li>
<li><a href="operaciones_con_fracciones.html" class="no-ch">Operaciones con fracciones</a></li>
<li><a href="problemas_con_fracciones.html" class="no-ch">Problemas con fracciones</a></li>
</ul>
</li>
<li><a href="autoevaluacin.html" class="no-ch">Autoevaluación</a></li>
</ul>
</nav>
<div id='topPagination'>
<nav class="pagination noprt">
<a href="claves_para_empezar.html" class="prev"><span><span>« </span>Anterior</span></a> <span class="sep">| </span><a href="fracciones_propias_e_impropias.html" class="next"><span>Siguiente<span> »</span></span></a>
</nav>
</div>
<div id="main-wrapper">
<section id="main">
<header id="nodeDecoration"><h1 id="nodeTitle">Concepto de fracción</h1></header>
<article class="iDevice_wrapper GeoGebraIdevice em_iDevice" id="id6">
<div class="iDevice emphasis1" >
<header class="iDevice_header iDevice_header_noIcon"><h1 class="iDeviceTitle">Fracción y división</h1></header>
<div class="iDevice_inner">
<div class="iDevice_content_wrapper">
<div id="ta6_136_2" class="block iDevice_content">
<div class="auto-geogebra auto-geogebra-jBtpmcYk auto-geogebra-width-1024 auto-geogebra-height-550 language-es auto-geogebra-scale-100"><div class="auto-geogebra-instructions"><p>Prueba con distintas divisiones y comprueba las fracciones resultantes. Observa como cambia el numerador y el denominador según como repartes el pastel.</p></div><p><a href="https://www.geogebra.org/m/jBtpmcYk" target="_blank">https://www.geogebra.org/m/jBtpmcYk (Ventana nueva)</a></p><div class="auto-geogebra-author js-hidden">William%20Guti%E9rrez-Herrera,https%3A//ggbm.at/30267,Dulces%20Fracciones,1,Autor%EDa</div></div>
</div>
</div>
</div>
</div>
</article>
<div id="packageLicense" class="cc cc-by-sa">
<p><span>Obra publicada con</span> <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Licencia Creative Commons Reconocimiento Compartir igual 4.0</a></p>
</div>
</section>
</div>
<div id='bottomPagination'>
<nav class="pagination noprt">
<a href="claves_para_empezar.html" class="prev"><span><span>« </span>Anterior</span></a> <span class="sep">| </span><a href="fracciones_propias_e_impropias.html" class="next"><span>Siguiente<span> »</span></span></a>
</nav>
</div>
<footer id="siteFooter">2ESO</footer></div>
<p id="made-with-eXe"><a href="https://exelearning.net/" target="_blank" rel="noopener"><span>Creado con eXeLearning<span> (Ventana nueva)</span></span></a></p><script type="text/javascript" src="_style_js.js"></script></body></html>