Posts by Pablo Campina • 415 points
18 posts
-
0
votes2
answers56
viewsA: Bug Tin console Google Chrome
Are you trying to hotlink this address 'http://error.hostinger.eu' and is not qualified to do so. Try removing any connection / external link to Hostinger and see if the error goes missing.…
-
3
votes2
answers836
viewsA: Pop-up gallery of images
Use Shadowbox JS, and being extremely lightweight is extremely easy to implement: https://github.com/mjackson/shadowbox <!-- insere os arquivos do shadowbox --> <link…
-
0
votes0
answers70
viewsQ: Erroneous paging count in wordpress
When the Slug stored in var $type is for example 'pizzas-salgadas' the pagination rolls normally, now when this Slug changes, the pagination appears even without the need to appear, with several…
-
3
votes1
answer5543
viewsQ: SVG does not adjust size
I don’t have much experience with SVG, and I find very confusing the way to work with these images, I need to leave this image with the size of 35x35 px. I exported the code in the Illustrator of a…
-
3
votes1
answer294
viewsQ: Make SVG responsive
I cannot manipulate the size of this Hexagon, I wish it initially had the size of 165x165px, and respectively make it responsive. I don’t have much experience with SVG. <svg width="165"…
-
0
votes4
answers685
viewsA: Error in JSON PHP return to AJAX
Guys solved the problem and thanks for the help, until I get to the solution, this way: I updated the library: https://github.com/PHPMailer/PHPMailer And I used the autoloader that in the current…
-
1
votes4
answers685
viewsQ: Error in JSON PHP return to AJAX
I cannot return the Success, it is always falling into error. The server-side part appears to be ok, the email is sent correctly, I just can’t display the Success and I don’t understand why. PHP…
-
1
votes3
answers1427
viewsA: Ways to Replace <Iframe> in HTML
Maybe it’s simpler than it looks, try it: CSS iframe { position:relative; }
htmlanswered Pablo Campina 415 -
-1
votes1
answer381
viewsA: Image display problems with GD Lib
SOLVED THAT WAY. <?php // Header informando que é uma imagem JPEG header( 'Content-type: image/jpeg' ); if( $produtoSelecionado ){ foreach( $produtoSelecionado as $voucher ); $path =…
phpanswered Pablo Campina 415 -
0
votes1
answer381
viewsQ: Image display problems with GD Lib
in front-end I have the following code $separador = explode('ID = ', $data['produto_nome']); $produtoSelecionado = $wpdb->get_results( "SELECT * FROM gs_produtos WHERE id = '$separador[1]'" );…
phpasked Pablo Campina 415 -
2
votes1
answer290
viewsQ: How to mark next checkbox
From the current checkbox selection, how to mark the next checkbox element and disable all other. I have this code, which when dialing a checkbox consequently all the others are deactivated, but I…
-
5
votes2
answers84
viewsQ: Implement this
There are several Ivs with the class .categorias and I need to display the element .nav-a only in the div category that I have the mouse on top of it at the moment. What is currently happening is…
-
1
votes1
answer200
viewsQ: Add automatic content exchange
I need to find a way to exchange data-id and data-content information to . number and . step automatically, without having to depend on Hover(). I need to maintain both the automatic form of this…
-
0
votes1
answer197
viewsQ: WP Custom Post Type
The correct thing would be to have the same behavior as "Category" of post type "post" wordpress, but it does not happen. For example when I access http://localhost/projeto/anunciantes/ I have how…
-
3
votes4
answers143
viewsQ: Get date-img value
I have the following problem: I am getting the value of data-img when I do Hover in class . gettoll, but I need to replace this value here content: "<img src='IMAGEM AQUI'>", when hovering…
-
5
votes1
answer166
viewsQ: Problems with mouseenter() and mouseleave()
When I hover the mouse on the first link with the show_post class it displays the correct div it has to display, but when I hover the mouse on the second link the script opens the 2 Divs and not…
-
1
votes1
answer991
viewsA: Send image to print automatically from web app (html, js and php)
php has a library to do this http://www.php.net/manual/en/ref.printer.php Use <?php $texto = "Conteúdo a ser impresso"; $_SESSION['PrintBuffer']="$texto";…
-
2
votes1
answer135
viewsQ: How to identify which link fired a . Hover()?
I’m having trouble using the this here, to identify which of the links I am passing the mouse, when I pass the mouse in one of the links it activates the two links and this is not to happen. I’m…