Posts

Showing posts with the label Timeline Project

showing timeline throught javascript

Image
Using W3Schools HTML and CSS timeline design , and  code a JavaScript timeline , get showing timeline ... const events = [  { date: 2017, descrip: "Lore ipsum ..." },  { date: 2018, descrip: "Lore ipsum ..." },  { date: 2019, descrip: "Lore ipsum ..." }, ];  const timeline = document.getElementById("timeline")  /* Loop for enumerable property names of an object */ for (let i=0; i<events.length;i++) {     // Displays elements     const eventContent = `         <div class="container ${i % 2 == 0 ? 'right' : 'left'}">             <div class="content">                 <h2>${events[i].date}</h2>                 ...

timeline project minimum viable product

Image
It's done: putting foreach loop in the correct place, and one flag variable to display one event to left and the next to right. And drawing the small blue point for each event using PDO connection to database.  This is the output: Timeline responsive design and dynamical Sources: Learn to design a CSS3 timeline Eduonix Learning Solutions Reviewed: Oct 6th, 2018 La clase PDOStatement The PHP Group Consultado: Dic 28, 2018 create read update delete (CRUD) in php and mysql using Php Data Object (pdo) polodev Published on Nov 13, 2017

passing variables using a href tag through foreach loop

Discarding security issues, this works for me:   <table class="table table-bordered">         <tr>           <th>ID</th>           <th>Name</th>           <th>Year</th>           <th>Action</th>         </tr>         <?php foreach($tl as $rowtl): ?>           <tr>             <td><?= $rowtl->idTL; ?></td>             <td><?= $rowtl->nameTL; ?></td>             <td><?= $rowtl->year; ?></td>             <td>                <a href="read_event.php?idTL=<?=$rowtl->idTL;?>&nameTL=<?=$r...

Java es un lenguaje gigantesco donde es facil perderse

Aunque Oracle parece que va matarlo (Google se ha decantado por Kotlin, quizá para no pagarle un centavo por Java), lo cierto es que hay mucho allá afuera corriendo en el lenguaje que en los 90s tomó por asalto Internet. Y ahí viene IoT. De entre todos los libros Java que he visto, el del ingeniero costarricense Enrique Gómez Jiménez me parece altamente recomendable: te dibuja todo el panorama pero desde el principio te pone ejemplos para acompañar la teoría, algo de lo que adolece el catedrático español Fco. Javier Ceballos. Tiene la pega de que ya he encontrado un par de errores de codificación. Quizá luego retome el Ceballos y, ya para el final, el de Sznajdtleder. Y luego, pues el de la certificación. Probablemente convenga ir desarrollando el Timeline Project en Java (para aprovechar la clase timeline). Aunque tenía pensado Java para videojuegos, lo que me ayudaría como desarrollador Android (Kotlin). Pero bueno, dijera el youtuber de Telusko Learnings: first, you must to learn co...

create Timeline

Vamos bien, a veces PHP sólo requiere el adecuado manejo de cadenas (siempre es la sintaxis, ¿eh?) Ahí reside su popularidad: puedes empezar a obtener resultados aunque no sepas mucho. <header> <div class="container"> <?php     if (isset ($_POST['nameTimeline'])  && $_POST['nameTimeline']!="") { echo '<h1>'.$_POST['nameTimeline'].'</h1>';     } ?> </div> </header>