Posts by Carlos Rocha • 1 point
426 posts
-
0
votes1
answer58
viewsQ: jquery.ez-plus resize zoom frame
I have the following code <div class='fotosPlanos'> <img class='elevate-image' src='_img/_fotos/corsa.jpg' data-zoom-image='_img/_fotos/corsa.jpg' /> </div> <script>…
jqueryasked Carlos Rocha 1 -
1
votes1
answer45
viewsA: menu overwrite the entire Document
I forgot that the 100% is only possible for objects parents positioned. kkk. Solution: Just add relativity at the body who was without body { position: relative; ... }…
-
1
votes1
answer45
viewsQ: menu overwrite the entire Document
I got the following jQuery: $("div.menuMin img").click(function(){ $("div.menuMin").css("display","none"); $("div.menu") .css("position","absolute") .css("display","block") .css("width","100vw")…
-
0
votes1
answer24
viewsQ: Performs the operation but displays error at the end
I’ve got the code below that’s really pissing me off. It’s not possible people! // JavaScript Document// JavaScript Document $(document).ready(function(e) { $("a.excluiFalecimento").click(function()…
-
2
votes1
answer2032
viewsQ: Delete in 2 tables at the same time in a single query
I have the following query: DELETE FROM emails,emailsacompanhamento USING emails,emailsacompanhamento WHERE emails.idEmail = emailsacompanhamento.idEmail AND emails.idEmail = ".$idEmail That makes a…
-
1
votes0
answers44
viewsQ: image appears in explorer but can not view
I’m uploading files with Html5, ajax and php. Everything goes well, the recording in the bank is done, the upload is done, but the image, when you see it in windows explorer, even if it is there,…
-
1
votes1
answer248
viewsA: Upload with jQuery
Solution: $(document).ready(function(e) { $("form").on("submit", function() { var formData = new FormData(this); $.ajax({ url: "upload.php", type: 'POST', data: formData, beforeSend: function() { },…
-
0
votes1
answer248
viewsQ: Upload with jQuery
I have this code: $(document).ready(function(e) { $("form").on("submit", function() { $.post ("upload.php", { fotos : $("input[type=file]") }, function(retorno){ alert(retorno) } ); return false;…
-
0
votes0
answers56
viewsQ: Send javascript FILE to php
I’ve been reading a lot about it and I’m getting more confused. I have the form below: <div class="plano"> <h1 class="titulos">Cadastro de Plano</h1> <form method="post"…
-
1
votes3
answers835
viewsQ: Centralize Ubmit in form
I have the print below: I’m trying to give a margin: 0 auto in the botão submit within the form but nothing I do centralization that button. But I can’t do text-align: center otherwise it will…
-
1
votes2
answers42
viewsA: CONCAT de querys DELETE?
public function excluir ($idPlano) { $string = "DELETE planos, fotos FROM planos LEFT JOIN fotos ON planos.idPlano = fotos.idPlano WHERE planos.idPlano = ".$idPlano; return…
phpanswered Carlos Rocha 1 -
0
votes1
answer42
viewsQ: Shorten address of a group of elements with jQuery
I got the following code: $("div.conteudo div.administrador form.administradorEdita") Which is a form I want to refer to a label his; var form = $("div.conteudo div.administrador…
jqueryasked Carlos Rocha 1 -
1
votes2
answers42
viewsQ: CONCAT de querys DELETE?
I have the following function: public function excluir ($idPlano) { $string1 = "DELETE FROM planos WHERE idPlano = ".$idPlano; $string2 = "DELETE FROM fotos WHERE idPlano = ".$idPlano;…
phpasked Carlos Rocha 1 -
2
votes1
answer343
viewsQ: swap the attribute value with jQuery
I got the following js: $("a.bloqDesbloq").click(function() { $.post ("../_requeridos/alteraAdministrador.php", { idAdministrador : $(this).attr('idAdmin'), bloq : $(this).attr('bloq') },…
-
0
votes2
answers34
viewsQ: answer in`json` received from a file `php`
I have the following answer in jSon received from a file php. {"1":"OK","2":"n"} I want it now, in jQuery catch the values of indexes 1 and 2 which are respectively "OK" and "n". How to do this? My…
-
0
votes0
answers100
viewsQ: Phpmailler does not send if sending and authentication emails are NOT the same
Well, first of all I want to say that I’ve searched everywhere but I haven’t found an answer that works. I’m talking about the Phpmailler. I need to send e-mails authenticated from the website. But…
phpasked Carlos Rocha 1 -
1
votes1
answer151
viewsQ: Submit button does not show that it was clicked
I have the page below: http://funerariasaopedro.net.br/novo/contato.php In it has a form of e-mail and, of course, a send button. But this send button is getting one return false why are you sending…
-
0
votes0
answers19
viewsQ: share private value with another attribute in the same class
I have the following model class below: class modelo { private $variavel1 = "Algum"; private $variavel2 = $this->variavel1." Valor"; ..... } How to attach the value of variable 1 at value…
phpasked Carlos Rocha 1 -
3
votes2
answers127
viewsQ: Retrieve URI and Fragment Identifier (#)
I have the following url http://www.site.com/index.php#idDaDiv I wonder if there is a variable $_SERVER[] or another preference feature in php that returns only index.php#idDadiv…
phpasked Carlos Rocha 1 -
1
votes1
answer21
viewsQ: CSS shows only part of the elements of a DIV
I have the following CSS: @charset "utf-8"; /* CSS Document */ @import url('http://fonts.googleapis.com/css?family=Open+Sans'); * { font-family: 'Open Sans'; margin: 0; padding: 0; border: none;…
-
1
votes1
answer104
viewsQ: href with target Blank on jQuery
I have an image inside a div.facebook who receives the clike mouse and redirects to an external page: $("div.facebook img").click(function() { $(location).attr('href','http://www.facebook.com'); });…
-
0
votes3
answers48
viewsA: Spans block not that fit the size!
Well, I’ll give you my answer. It can also be viewed online at Here I decided to leave inside the block with the same image and make a higher animation; But I still need help with two things: 1)…
-
1
votes3
answers48
viewsQ: Spans block not that fit the size!
I have the following code: $(document).ready(function(){ function animaTextos(){ var interval; var contador = 1; var funcao = function() { var corrente = $('div.slider ul.slide li').length;…
-
2
votes1
answer32
viewsQ: background-color hard to find
I have the following website Slide Show In it, there is (only) one slide show. In the navigation part, there is a Nav tag that has a background :rgba (0,0,0,.5) And has two buttons with an image as…
-
0
votes1
answer26
viewsA: Buttons when they arrive at the first and last sliders show blank
The problem was this: lack of attention after suffering a lot. kkkkkkk const blocos = $("div.slider div.slide div"); the correct is const blocos = $("div.slider div.slide"); After all, you never…
jqueryanswered Carlos Rocha 1 -
1
votes1
answer848
viewsQ: Remove child element effect in CSS
I have the following code $(document).ready(function(e) { const blocos = $("div.slider div.slide div"); function startslider() { ativa = $(".ativa") if (!$(ativa).next("div.slide").length) { //…
-
2
votes2
answers31
viewsQ: When they arrive at the first and last sliders put the slides all as . active
I have the following slide below: $(document).ready(function(e) { const blocos = $("div.slider div.slide div"); function startslider() { ativa = $(".ativa") if (!$(ativa).next().length) { ativa =…
jqueryasked Carlos Rocha 1 -
0
votes1
answer26
viewsQ: Buttons when they arrive at the first and last sliders show blank
I have the following slide below: $(document).ready(function(e) { const blocos = $("div.slider div.slide div"); function startslider() { ativa = $(".ativa") if (!$(ativa).next("div.slide").length) {…
jqueryasked Carlos Rocha 1 -
2
votes2
answers77
viewsQ: error at end of loop on slide show
I have the following JS window.onload = function() { var indexAtiva = 0; const lis = document.getElementsByClassName('slider').item(0).getElementsByTagName('li'); function slider() { for (i = 0; i…
javascriptasked Carlos Rocha 1 -
0
votes1
answer36
viewsQ: js loop does not show next item
My goal is to catch a UL with their Lis and show one to one. But not all at once. So that, shown the first, set display:none in it and game display:block next time showing it. But by my code the…
javascriptasked Carlos Rocha 1 -
0
votes1
answer87
viewsQ: specified class but jQuery jumps element
I have this HTML <div class="slider"> <div class="slide ativa"> <img class="fade" src="http://funerariasaopedro.net.br/novo/_img/_banner/_site/bg_1.jpg" /> <span>Este é…
jqueryasked Carlos Rocha 1 -
1
votes1
answer97
viewsQ: Slide show errors
Some doubts: 1 ) If we reduce the height of browser amending the resolution, the div.slider does not follow the height of div.slide. That is, it remains at the same height. Therefore, the image…
-
0
votes1
answer49
viewsQ: go to the next div excluding another element
I have the following HTML structure: <div class="slider"> <div class="slide fade ativa"> <img src="_img/_banner/_site/bg_1.jpg" /> <span>Este é 1</span> </div>…
-
0
votes0
answers80
viewsQ: Change father’s height by son’s height
I would like to do this in CSS: $("div.slider").height($("div.slider div.slide").height()) it is possible? The goal is to create a slide where the height of the div container (slider) is always, and…
-
0
votes1
answer218
viewsQ: utf-8 phpmailler error
I have the following email class: <?php class EmailEnviarDao { public function __construct() {} public function enviaEmail($email) { $enviaFormularioParaNome = $email->getNomeAlvo();…
phpasked Carlos Rocha 1 -
1
votes1
answer501
viewsQ: automatic zoom in the image
I have the following code: .zoom { overflow: hidden; } .zoom img { max-width: 100%; -moz-transition: all 0.3s; -webkit-transition: all 0.3s; transition: all 0.3s; } .zoom:hover img { -moz-transform:…
-
4
votes1
answer966
viewsQ: Align Ivs vertically to center (Middle)
I have the following code: @charset "utf-8"; /* CSS Document */ img { border: 0; max-width: 100%; } div.cabecalho { position:relative; width:100%; height:200px; border:.1px solid #000000; }…
-
1
votes0
answers79
viewsQ: CSS fails to open in mobile
So I have the following page: http://funerariasaopedro.net.br/novo/ Computers run well at any resolution. This, of course, using plugins that reduce browser resolutions. Tested in Firefox, Chrome…
-
1
votes1
answer54
viewsQ: Changing text size of lis does not work
I have the site below: http://funerariasaopedro.net.br/novo/ In it has a slider, at the top of the page. In this slider have a imagem (logo) and a ul (which contain some activities). What happens is…
-
2
votes1
answer68
viewsQ: Positioning of div over Slideshow
I have the following page: <!doctype html> <html> <head> <meta charset="utf-8"> <title>Slider</title> <meta name="viewport" content="width=device-width">…
-
2
votes2
answers124
viewsQ: li’s up and down one after one
So I have this ul HTML <div class="atividades"> <ul> <li">Agência Funerária</li> <li>Funerais</li> <li>Cremações</li>…
-
0
votes2
answers62
viewsQ: js ul lis appearing a post a
So I have a ul with their li's. I’d like to make a js so that each li appeared and disappeared (automatically in an infinite cycle) to make way for the next li. That is, that each li appears in…
-
0
votes0
answers101
viewsQ: How to maintain uniform slide time regardless of the amount of slides?
I have the code below that works normally. But with an inconvenience: The more images I put on the slide the faster the images change. I would like to make sure that, regardless of the amount of…
-
-2
votes2
answers268
viewsQ: z-index does not change!
I have the website: Gás Muriaé, and a z-index error (probably) that I can’t get out. So the banner is superimposing the side order bar. Locally, I already changed the z-index in the plugin’s css to…
-
2
votes0
answers78
viewsQ: Access to memory error!
I’m trying to implement a BINA with Delphi 7 using Super Bina! I added the component to form and in a botão done: procedure TfrmPrincipal.btnAbreConClick(Sender: TObject); var texto: String; begin…
-
0
votes1
answer55
viewsQ: Communication with the COM3 port
I’m trying to read the return of an access to the door COM3 which is where the old 56kbps modem is. Communication is being done and the modem is lugging and receiving outside calls! But I would like…
delphi-7asked Carlos Rocha 1 -
1
votes1
answer532
viewsQ: PC Phone Integration
We make: StringConexao ="ATDT"+numeroTelefone+ #13#10; And we do WriteFile( hCommFile, PChar(StringConexao)[0], Length(s), NumberWritten, nil); And the magic is done! And the modem calls a number.…
delphiasked Carlos Rocha 1 -
4
votes1
answer183
viewsQ: Div height is greater than image height. Why?
I have the following pure HTML, no CSS <div> <img src="_img/_banner/banner1.jpg" /> </div> The image banner1.jpg possesses 300px of height and to div no dimensions have been…
-
2
votes1
answer5096
viewsQ: Space between Ivs
Good Morning! I have the figure below where between the figure "HOME GAS" and the Div which contains some red buttons, we see a space. The problem is that space does not exist in the code. body {…
-
1
votes2
answers805
viewsA: call function from within the same class
I found: $_SERVER["SERVER_PATH"] and not $_SERVER["SERVER_NAME"] Thank you to everyone who has worked hard and given their opinions!…
phpanswered Carlos Rocha 1