Post

Replies

Boosts

Views

Activity

Reply to Updated HTML and Javascript in HTML
Css is not working. Why? function Focus(){ document.getElementById("buscador").focus(); } Focus(); let containingElement = document.querySelector('#Template'); document.body.addEventListener('click', function( event ){ if( containingElement.contains( event.target ) ){ Focus(); } else { } }); h2 { /* WebKit */ -webkit-appearance: button !important; /* Mozilla */ -moz-appearance
Topic: Safari & Web SubTopic: General Tags:
Mar ’24
Reply to Updated HTML and Javascript in HTML
Here the other part head>                                                                                                                                                                                                                                                                                                                                                                                           bb                                         sso                                                                                                                                                                                                                                                                                             Quick  Center                                              X                                                                          ID NewPassIDAccRec                                                                                     —  —      Inactive                                 ID                                                                                                                                                                                                               iPhone SetUpUpdateRestore                                                                                     —  —      Reset
Topic: Safari & Web SubTopic: General Tags:
Mar ’24
Reply to Updated HTML and Javascript in HTML
CSS code is as designed #contenedor_reloj p { font-size: 12px; color: #fff; } #contenedor_reloj p { display: inline-block; line-height: 1em; box-sizing: border-box; } .fecha { font-family: arial; text-align: center; width: 30%; float: left; } .reloj { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; width: 25%; text-align: left; float: left; } .reloj, .ampm, .reloj, .segundos { display: block; } #contenedor { opacity: 0.1; float: left;               } .crono {       margin-top: 7px;               float: left; font-size: 18px; font-family: Courier, sans-serif; color: #363431;                        } #parar, #continuar, #reinicio {       display: none; } .boton {       margin-top: 8px; outline: none; border: 1px solid #363431; color: white; text-shadow: 0px -1px 1px black; font-size: 11px; height: auto; border-radius: 5px; font-family: Segoe, Segoe UI, DejaVu Sans, Trebuchet MS, Verdana," sans-serif"; cursor: pointer; background-color: #2f3030; color: #E6EAEF; border-color: #0939c8; border-bottom-color: #072ea1; box-shadow: 0 1px 1px -1px rgb(‪255 255 255‬ / 90%) inset, 0 40px 20px -20px rgb(‪255 255 255‬ / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(‪31 84 245‬ / 20%);       opacity: 0.95; } .art { float: right; width: 75px; margin: -5px 0px -5px 0px; } .art:hover { background-color: #005FA5; } .botonMenu {       margin-right: -12px; outline: none; border: 1px solid #363431; color: white; font-size: 15px; height: auto; border-radius: 0px; font-family: Segoe, Segoe UI, DejaVu Sans, Trebuchet MS, Verdana," sans-serif"; cursor: pointer; background-color: #2f3030; color: #E6EAEF; border-color: #0939c8; border-bottom-color: #072ea1; box-shadow: 0 1px 1px -1px rgb(‪255 255 255‬ / 90%) inset, 0 40px 20px -20px rgb(‪255 255 255‬ / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(‪31 84 245‬ / 20%);       opacity: 0.95; } .botonMenu rect { fill: none; stroke: #fff; stroke-width: 1; stroke-dasharray: 422, 0; } .botonMenu:hover { background: rgba(225, 51, 45, 0); letter-spacing: 0.5px; } .botonMenu:hover rect { stroke-width: 5; stroke-dasharray: 15, 310; stroke-dashoffset: 48; -webkit-transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1); transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1); } .botonP {       margin-top: 8px; outline: none; border: 1px solid #363431; color: white; text-shadow: 0px -1px 1px black; font-size: 12px; height: 25px; border-radius: 5px; font-family: Helvetica; cursor: pointer; background-color: #008BE0; color: #E6EAEF; border-color: #0939c8; border-bottom-color: #072ea1; box-shadow: 0 1px 1px -1px rgb(‪255 255 255‬ / 90%) inset, 0 40px 20px -20px rgb(‪255 255 255‬ / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(‪31 84 245‬ / 20%);       opacity: 0.95;                       border-color: transparent; background-color: transparent; } .botonP:active { background-image: linear-gradient(#FF0004, #FF4D4F); } .botonP:hover { box-shadow: 0px 0px 10px #F01F45; } #botonX {                outline: none; border: 1px solid #363431; color: white; text-shadow: 0px -1px 1px black; font-size: 7px; height: 14px;       width: 170px;       margin-bottom: 2px; border-radius: 5px; font-family: Helvetica; cursor: pointer; background-image: linear-gradient(#688CF8, #2f3030); } .boton:active { background-image: linear-gradient(#2f3030, #5901B0); } .boton:hover { box-shadow: 0px 0px 14px #5E85F7; } #tarjetas {       margin-top: 20px;       display: block; } ::-webkit-input-placeholder {       color: #FFF; } ::-moz-placeholder {       color: #FFF; } .Buscador {       background: url("../img/search.png") no-repeat 9px center;       color: #000;       border: 1px solid #DDDDDD;       border-radius: 3px;       padding: 9px 10px 9px 32px;          width: 20%;       transition: 1s all ease; } .tabla, tr, th, td {       width: 100%;       max-width: 900px;       padding: 9px;       border: 1px solid #ddd;       border-collapse: collapse;       margin: 5% auto;       font-family: Helvetica; } #tabla {       position: relative; } tr.buscador, td.buscador, tr.head, th.head {       border: 0; } td.buscador {       padding: 0; } th.head {       border-bottom: 1px solid #ddd; } header {       position: fixed;       border-bottom: 3px rgba(0,0,0,0.09) inset;       background-color: #515151;       height: 55px;       z-index: 108;       width: 100%;       margin-top: -30px; } .header2 {       position: fixed;       border-bottom: 3px rgba(0,0,0,0.09) inset;       background-color: #515151;       height: 55px; margin-top: -30px;       z-index: 108;       opacity: 0.8; } textarea[type=text]{ width:100%; border:2px solid #aaa; border-radius:4px; margin:8px 0; outline:none; padding:8px; box-sizing:border-box; transition:.3s; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: 12px; } textarea[type=text]:focus{ border-color:dodgerBlue; box-shadow:0 0 8px 0 dodgerBlue; } #areaLeer { display: none; } #descripcion_caso .tab{ border:1px solid transparent; -webkit-transition: all 0.4s cubic-bezier(.5, .24, 0, 1); transition: all 0.4s cubic-bezier(.5, .24, 0, 1); } #descripcion_caso .tab::before { content: ''; position: absolute; left: 0px; bottom:0px; z-index:-1; width: 0%; height:1px; background: #003597; display: block; -webkit-transition: all 0.4s cubic-bezier(.5, .24, 0, 1); transition: all 0.4s cubic-bezier(.5, .24, 0, 1) } #descripcion_caso .tab:hover::before { width:100%; } #descripcion_caso .tab::after { content: ''; position: absolute; right: 0px; top:0px; z-index:-1; width: 0%; height:1px; background: #003597; -webkit-transition: all 0.4s cubic-bezier(.5, .24, 0, 1); transition: all 0.4s cubic-bezier(.5, .24, 0, 1) } #descripcion_caso .tab:hover::after { width:100%; } #descripcion_caso .tab:hover{ border-left:1px solid #003597; border-right:1px solid #003597; }
Topic: Safari & Web SubTopic: General Tags:
Mar ’24
Reply to Updated HTML and Javascript in HTML
I don't understand Jeff. The script is fine but doesn't work #descripcion_caso .tab:hover{ border-left:1px solid #003597; border-right:1px solid #003597; } .mini-menu { margin-left: -50px; } .mini-menu li { margin-left: 9px; display: inline;       font-size: 20px;       align-items: center;       list-style: none; } </div> </div> </div>
Topic: Safari & Web SubTopic: General Tags:
Mar ’24
Reply to Updated HTML and Javascript in HTML
Also this in special where the function is called: <div style="width: 100%; margin-top: -15px;"> <button id="btnCopiar" class="botonMenu" style="color: #18274e; width: 33%; margin-right: -4px; font-size: 20px;" onclick="btnCopiar()"><i class="fa fa-clone" aria-hidden="true"></i></button> <button id="btnCopiar" class="botonMenu" style="color: #18274e; width: 33%; margin-right: -4px; font-size: 20px;" onclick="btnCopiar()"><i class="fa fa-stack-overflow" aria-hidden="true"></i></button> <button class="botonMenu" style="color: #18274e; width: 33%; font-size: 20px;" onclick="Max()"><i class="fa fa-external-link" aria-hidden="true"></i></button> </div> </div> <ul class="mini-menu" style="margin-top: 10px;"> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Copiar('SSO')"><i class="fa fa-user" aria-hidden="true"></i></button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Copiar('SSO')"><i class="fa fa-cloud" aria-hidden="true"></i></button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Copiar('SSO')"><i class="fa fa-credit-card" aria-hidden="true"></i></button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Copiar('SSO')">&nbsp;<i class="fa fa-mobile" aria-hidden="true">&nbsp;</i></button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Copiar('SSO')"><i class="fa fa-clock-o" aria-hidden="true"></i></button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Borrar()"><i class="fa fa-info-circle" aria-hidden="true"></i></button></li> </a> </ul> <ul class="mini-menu" style="margin-top: -15px;"> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 16px; width: 14%;" onclick="Read()"><i class="fa fa-download" aria-hidden="true"></i></button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #FFF;"><button class="botonMenu" id="Leer" style="color: #18274e; font-size: 16px; width: 67%;" onclick="btnLeer()"></button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 16px; width: 14%;" onclick="Borrar()"><i class="fa fa-times" aria-hidden="true"></i></button></li> </a> </ul> <textarea id="areaLeer"></textarea> </div> </div> <marquee style="color: #6d2f30;" behavior="scroll" direction="left" scrollamount="15" onmouseover="this.stop();" onmouseout="this.start();">Caso Previo - Verificar Cx - Articulo relacionados </marquee> <marquee style="font-size: 14px;color: #02008b;" behavior="scroll" direction="left" scrollamount="15" onmouseover="this.stop();" onmouseout="this.start();"> Reportar - Marcar estart</marquee>
Topic: Safari & Web SubTopic: General Tags:
Mar ’24
Reply to Updated HTML and Javascript in HTML
Check this... function Copiar(pass) {                  document.getElementById('Pass').value = pass;              var copyText = document.getElementById("Pass"); copyText.select(); document.execCommand("copy"); document.getElementById('Pass').blur();             } function btnCopiar() {             var copyText = document.getElementById("Pass"); copyText.select(); document.execCommand("copy"); document.getElementById('Pass').blur(); document.getElementById('descripcion_caso').style.display = 'block'; document.getElementById("Pass").style.height = "300px"; document.getElementById("Pass").style.width = "200px"; $(window).scrollTop(0);             } function btnLeer() { document.getElementById("areaLeer").style.display = 'block'; document.getElementById("areaLeer").value = document.getElementById("Leer").value; var copyText = document.getElementById("areaLeer"); copyText.select(); document.execCommand("copy"); document.getElementById("areaLeer").style.display = 'none'; document.getElementById("Pass").value = document.getElementById("Leer").value;             } function Max() { if (document.getElementById('Pass').style.height == '300px') { document.getElementById('descripcion_caso').style.display = 'none'; document.getElementById("Pass").style.height = "500px"; document.getElementById("Pass").style.width = "400px"; } else { document.getElementById('descripcion_caso').style.display = 'block'; document.getElementById("Pass").style.height = "300px"; document.getElementById("Pass").style.width = "200px"; var copyText = document.getElementById("Pass"); copyText.select(); document.execCommand("copy"); document.getElementById('Pass').blur(); $(window).scrollTop(0); }             } function Cerrar() {                   document.getElementById("tab-one").checked=false;                   document.getElementById("tab-two").checked=false;                   document.getElementById("tab-three").checked=false;                   document.getElementById("tab-four").checked=false;                   document.getElementById("tab-five").checked=false;                   document.getElementById("tab-six").checked=false;                   document.getElementById("tab-seven").checked=false;                   document.getElementById("tab-eight").checked=false;                   document.getElementById("tab-nine").checked=false;                   document.getElementById("tab-ten").checked=false;                   document.getElementById("tab-eleven").checked=false;                                 } function Borrar() { document.getElementById("Pass").value = ''; } $(document).on("ready", main); function main() {       $("#tfBuscar").on("keyup", buscar); } function buscar(){       var tarjetas = $(".tarjeta");       var texto = $("#tfBuscar").val();       texto = texto.toLowerCase();       tarjetas.show();       $(".resultados").show();       for(var i=0; i< tarjetas.size(); i++){             var contenido = tarjetas.eq(i).text();             contenido = contenido.toLowerCase();             var index = contenido.indexOf(texto);       if(index == -1){             tarjetas.eq(i).hide();             $(".resultados").hide();             }       } } $(function() { var actualizarHora = function() { var fecha = new Date(), hora = fecha.getHours(), minutos = fecha.getMinutes(), segundos = fecha.getSeconds(), diaSemana = fecha.getDay(), dia = fecha.getDate(), mes = fecha.getMonth(), anio = fecha.getFullYear(), ampm; var $pHoras = $("#horas"), $pSegundos = $("#segundos"), $pMinutos = $("#minutos"), $pAMPM = $("#ampm"), $pDiaSemana = $("#diaSemana"), $pDia = $("#dia"), $pMes = $("#mes"), $pAnio = $("#anio"); var semana = ['Domingo', 'Lunes', 'Martes', 'Miercoles', 'Jueves', 'Viernes', 'Sabado']; var meses = ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre']; $pDiaSemana.text(semana[diaSemana]); $pDia.text(dia); $pMes.text(meses[mes]); $pAnio.text(anio); if (hora >= 12) { hora = hora - 12; ampm = "PM"; } else { ampm = "AM"; } if (hora == 0) { hora = 12; } if (hora < 10) { $pHoras.text("0" + hora) } else { $pHoras.text(hora) }; if (minutos < 10) { $pMinutos.text("0" + minutos) } else { $pMinutos.text(minutos) }; if (segundos < 10) { $pSegundos.text("0" + segundos) } else { $pSegundos.text(segundos) }; $pAMPM.text(ampm); }; actualizarHora(); var intervalo = setInterval(actualizarHora, 1000); });
Topic: Safari & Web SubTopic: General Tags:
Mar ’24