Posts by Carlos Rocha • 1 point
426 posts
-
0
votes2
answers112
viewsQ: Jquery append() and html() problems
I’ve seen another example here on the forum but it didn’t help me much by the amount of items inserted in div. $carrinho = '<div class="carrinhoMais"> <a…
-
10
votes2
answers1469
viewsQ: Dynamically Update php Session with jQuery
Well, I have the function below that, with Jquery, I update the cart values display labels. Everything works: function add(_quant, _preco, _total, _estoque) { quantidade =…
-
1
votes1
answer94
viewsQ: jquery to know if field was validity with correct default
Well, I have a text field: <input pattern="[0-9]{2}[.][0-9]{3}[-][0-9]{3}" type="text" id="campo" required /> How do I do in JQuery to know if the completion is in accordance with the padrão?…
jqueryasked Carlos Rocha 1 -
1
votes1
answer5066
viewsQ: Change label
The JQuery below is not changing the html of label: <script src="_global/_js/jquery-2.1.4.min.js"></script> <label id="precoSedex">0.00</label> <input type="radio"…
jqueryasked Carlos Rocha 1 -
1
votes1
answer83
viewsA: Package calculation
I’ve developed a class that helps me. Let’s say the order, which can be folded of course, weighs for example 55kg. The correios only lead 30kg. So I can dividir em 2 pacotes(less than 30 kg). In…
phpanswered Carlos Rocha 1 -
4
votes3
answers7027
viewsQ: Search ZIP Post Office
I’m trying an implementation in php via simplexml_load_file for verification and return of data together with the Post API. In this case, it is necessary to pass variables in the url. I’m doing like…
phpasked Carlos Rocha 1 -
1
votes1
answer939
viewsQ: Align Vertically Horizontally Aligned Objects
The idea here is centralizar verticalmente the radio button with his label (horizontally aligned). Where am I going wrong? <ul class="formasPgto"> <li> <input type="radio"…
-
2
votes1
answer125
viewsQ: Shipping to the Insurance Company
a help with Pag Seguro I created an account on Pag Seguro do UOL to the website. I have the form below <form method="post" target="pagseguro"…
phpasked Carlos Rocha 1 -
0
votes1
answer62
viewsQ: Add option to select
Good afternoon! HTML <label class="labelPequeno">Cidade</label> <select class="typeTextMedio" name="cidade" id="cidade" required> <option value="" selected>Selecione a…
-
3
votes1
answer83
viewsQ: Package calculation
I have the following expression: $pacotes = intval($_peso / 30) + 1; The idea is to know how many matching packages. For example: if I have one $_peso of 29kg, divided by 30kgs (maximum allowed by…
phpasked Carlos Rocha 1 -
0
votes0
answers41
viewsQ: Loss of pixels in input from one form and another not
I got the following input <label class="labelPequeno">Endereço</label> <input type="text" class="typeTextGrande" required maxlength="400" id="endereco" name="endereco" /> With…
-
1
votes1
answer65
viewsQ: Style in cluttered list
CSS * { margin:0 auto; } ul { list-style:none; margin:0; padding:0; } .menuPrincpal { } .menuPrincipal li { display:inline; } .menuPrincipal li a { display:inline-block; vertical-align:middle;…
-
0
votes2
answers25
viewsA: Centering ul in a strange way
Sorry guys. Maybe the solution can help someone in the future. I made a comment php style ////////////////////////// INICIO LISTAGENS ////////////////// ////////////////////////// FIM LISTAGENS…
-
0
votes2
answers25
viewsQ: Centering ul in a strange way
I have a very strange problem. css .lista { margin:0 auto; } ul.listaTopo, ul.listaRegistros { margin:0 auto; padding:0; width:100%; } ul.listaTopo { background-color:#000; color:#FFF; }…
-
0
votes4
answers5422
viewsA: I can’t center an ul inside the div
Now I understand that. First: align:center and width: 100%(in my case not even needed why the links would already occupy the 100%) in menuNav. We want the block only in links and not in li's. So the…
-
0
votes4
answers5422
viewsQ: I can’t center an ul inside the div
Hello! I can’t center an ul inside the div CSS .menu { clear:both; position:relative; width: 100%; } .sessoes { width:1000px; margin: 0 auto; } .menuNav { width:100%; text-align:center;…
-
0
votes1
answer53
viewsQ: CSS3 2 Problems
Let’s start with the codes HTML and CSS @charset "utf-8"; /* CSS Document */ * { margin: 0; padding: 0; } body { background-image:url(../../_img/fundo.jpg); background-size:cover;…
-
2
votes1
answer61
viewsQ: animation in image
My goal is this excitement here: http://www.pullabulla.com.br/ The terrain accompanying the mouse... What I’ve done so far? css #box, body { overflow: hidden; } #box { position: relative; } #img{…
-
1
votes1
answer195
viewsQ: error while using @media
This is the page: http://www.dinamicaimoveis.com.br/novo/admin the css that’s the one: ... media screen and (min-width: 0px) and (max-width:480px) { .sessoes { width:100%; } .menu { background:none;…
-
2
votes1
answer166
viewsQ: Problems with spaces between li’s
Good Morning! See the figure below. I have the following css ul.listaTopo, ul.listaRegistros { clear:both; } ul.listaTopo { background-color:#000; color:#FFF; } ul.listaTopo li, ul.listaRegistros li…
-
0
votes1
answer206
viewsQ: Problem with textarea in fluid layout
I got the following: HTML: <div class="sessoes"> <div class="formContato"> <h1 class="h1Centralizado">Fale Conosco</h1> <form id="contato" action="contato.php"…
-
0
votes1
answer76
viewsQ: Checkbox marking select multiselect stopped
I am using the multiselect Jquery plugin : http://www.erichynds.com/examples/jquery-ui-multiselect-widget/demos/#basic. $(document).ready(function(){ Well, I’m using the function below that checks…
jqueryasked Carlos Rocha 1 -
0
votes4
answers218
viewsA: How to define Focus in jhtmlarea?
That worked for me. I created a . js with this code and imported where there was jhtmlarea $("#contato").on("submit", function (){ if($('#descricao').val() == "") { //verifica apena o texto…
jqueryanswered Carlos Rocha 1 -
4
votes1
answer235
viewsQ: city state Jquery error in selection
Jquery: $(function() { $(document).delegate('#estado', 'change', function() { var valor = $('#estado').val(); $('#cidade').load('_requires/cidades.php?estado=' + valor ); });…
-
0
votes4
answers218
viewsQ: How to define Focus in jhtmlarea?
I’m getting error using the plugin Jhtmlarea: An invalid form control with name='Description' is not focusable. HTML <div style="float: left; width:60%; padding:0; margin:0 auto;"> <h1…
jqueryasked Carlos Rocha 1 -
0
votes1
answer667
viewsQ: Change background color of jquery multiselect plugin
Guys I’m using the Jquery multiselect plugin https://plugins.jquery.com/tag/multiselect/. It occurs that it is generating me two difficulties. The first difficulty is with CSS: I need to change the…
-
0
votes0
answers85
viewsQ: What would be the`Standard``in this case?
How would the Padrão MVC in that case? Well, I have a class Tipos, a class TiposDao and a formulário php to register a type. That Class Tipos would be the Model. That Class TiposDao would be the…
-
1
votes2
answers369
viewsQ: Background-color does not track content
Well, I have the code below and I have a question: Code .um { background-color:#000; width:600px; height:280px; margin:0 auto; /*centralizando horizontalmente esta div*/ } .dois {…
-
0
votes0
answers73
viewsQ: Align one div inside another vertically
My goal is to get this vertical alignment: I need to align vertically and horizontally the contents of div's busca and buscaImovel consecutively. Horizontal alignment works but vertical alignment…
-
0
votes1
answer108
viewsA: Jquery Cycle 2 Slide displaying below alignment
Resolvdo: In the plugin css there was a border 10px auto
-
0
votes1
answer108
viewsQ: Jquery Cycle 2 Slide displaying below alignment
I’m using the plugin Cycle 2 of JQuery. Here is the link: http://www.dinamicaimoveis.com.br/novo/ I have two divs. One floating to the left and one to the right. In one I have a text and an image.…
-
0
votes0
answers74
viewsQ: Menu leaving margin on the left
I can’t find that mistake. My Monitor has 1024px and body set to width: 97.65625% which gives 1000px. The menu (ul) has 7 items (li's) each li with 141.7px plus 8 bordas of 1px every gift 999,9…
-
0
votes2
answers42
viewsA: Reset disturbing to center
I got. .menuNav { margin: auto; width:1007px; background-color:#3E4095; }
css3answered Carlos Rocha 1 -
0
votes2
answers42
viewsQ: Reset disturbing to center
I have a problem and a little shame in asking for help. Today I still solved a similar problem in: Error when centralizing ul in div But I decided just by doing margin:auto in div and centering a…
css3asked Carlos Rocha 1 -
0
votes4
answers248
viewsA: Error when centralizing ul in div
I got. To Align the div downtown, just margear 0 everywhere. div.divLista, div.divListaItens { margin: auto; } We then have the div aligned to the centre equal to reset of the page itself. After…
-
-1
votes4
answers248
viewsQ: Error when centralizing ul in div
I have the html below and your css. No matter how hard I try, I’m not being able to centralize the ul list in the div. This ul brings data from a search to the database. Where I am missing? * {…
-
0
votes1
answer72
viewsQ: @media (max-width: 320px) does not work on Android
I’m using @media (max-width: 320px) does not work in the Android, only in the Windows Phone. What to do in this case? html: <button class="menuAbrir"><img src="_img/btn-menu.png"…
css3asked Carlos Rocha 1 -
0
votes1
answer46
viewsQ: Difficulty positioning objects after @media (max-width: 320px) {
Where am I going wrong? I have the html down below <script type="text/javascript" src="_global/_funcoes/_js/jquery-2.1.4.min.js"></script> <button class="menuAbrir"><img…
-
0
votes1
answer65
viewsQ: I can’t make fluid layout on the menu
Hello. I have the menu below: <ul class="menuUlTopo"> <li class="menuTopo"><a href="principal.php" title="Principal">Principal</a></li> <li class="menuTopo"><a…
-
0
votes3
answers993
viewsA: Error using $_SESSION[] with unserialize: "expects Parameter 1 to be string"
I did it. The solution was: In the login form file, which is where I create the session. In the textAdmin file, which is where I text the session. It turns out, in order to get ALL the sessional…
-
0
votes3
answers993
viewsQ: Error using $_SESSION[] with unserialize: "expects Parameter 1 to be string"
I need help finding an error. From the looks of it is a signature GOOD who’s showing up before the session_start(). I’ve searched all the files (by Notepad++) and everyone is utf-8 sem BOM. The…
-
1
votes1
answer453
viewsQ: Zoom in to the selected image thumbnail in the Input file
Hello, I’m using the plugin Zoom in to zoom in miniatures and I’m generating the thumbnails in an input file field to display the images the client chose to upload. I would like to take advantage of…
-
0
votes1
answer56
viewsQ: object does not work within single function
good night. I have the following php structure <?php require_once("testaAdmin.php"); require_once("../_global/_erros/erros.ini"); require_once("../_controlls/_util/Constantes.php"); $constantes =…
phpasked Carlos Rocha 1 -
0
votes1
answer97
viewsQ: Jquery does not display image prewier
good evening, I’m trying to make an image prewier in a file field with multiple uploads. html <!doctype html> <html> <head> <meta charset="utf-8"> <title>Upload…
-
0
votes2
answers144
viewsQ: Checkbox style changing label style. How to tidy up?
Good Morning! I have the following code: <div style="float:left;"> <label class="labelPequeno">Oportunidade</label><input type="checkbox" id="oportunidade" name="oportunidade"…
-
1
votes1
answer50
viewsA: Jquery Cyclo 2 problem with effect
I managed to: html: <!DOCTYPE HTML> <html lang="pt-br"> <head> <meta charset="UTF-8"> <title>Slider</title> <script type="text/javascript"…
-
1
votes2
answers90
viewsA: Help with @keyframe effect
I found it easier, instead of using Calc(), to use delay. But thank you! * { margin: 0 auto; padding: 0; } body { width: 900px; } .box { position: relative; width: 900px; height: 250px; top:0;…
css3answered Carlos Rocha 1 -
3
votes2
answers90
viewsQ: Help with @keyframe effect
Not to cause confusion in the topic Div’s coming and going, I decided to create another because the problem has now changed. I have the html: * { margin: 0 auto; padding: 0; } body { width: 900px; }…
css3asked Carlos Rocha 1 -
-1
votes1
answer50
viewsQ: Jquery Cyclo 2 problem with effect
I have the following html: <!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>Slider</title> <script type="text/javascript"…
-
3
votes1
answer111
viewsQ: Div’s coming and going
I have the following div’s structure <div id="box"> <div id="1">1</div> <div id="2">2</div> <div id="3">3</div> </div> And the following css: #box {…