Posts by kaiquemix • 607 points
50 posts
-
0
votes0
answers25
viewsQ: Angular I cannot create a component with ng g c
Ola I’m trying to use the command to create component called sidebar in the angular o ng g c sidebar but when I press enter the terminal looks like in the photo.…
-
0
votes1
answer27
viewsQ: Add onclick function in wp_nav_menu dynamic menu in Wordpress
I have a dynamic menu in Wordpress and I’m wanting to add a function so when press the menu link it hide the entire menu on mobile. In case it would only be to take the class show from #Mainnav when…
-
0
votes2
answers79
viewsQ: Wordpress - How to remove search.php page and search only posts?
my wordpress search.php page is showing the posts and pages created, how do I show only the posts? <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <article id="post-<?php…
-
0
votes1
answer58
viewsQ: Database does not accept single quote ' when sending
I have a small problem where if in the form I type only a quote ' it does not add in the database. Could someone tell me why and how I could solve this? OBS¹: only with a quote, if I close it with…
-
0
votes0
answers221
viewsQ: Carousel bootstrap 3 Swipe does not work
I’m trying to make a Swipe on bootstrap 3 Carousel but I’m not getting it. Html Code <div id="myCarousel" class="carousel slide"> <ol class="carousel-indicators"> <li…
-
0
votes1
answer1026
viewsQ: Bootstrap menu with logo in the middle
Could someone help me how to make the bootstrap menu of the template below? I’m not able to do with 2 ul menu with the image in the center, to go aligning in the responsive.…
-
2
votes2
answers441
viewsQ: Resizing image when inserting with php
I’m wanting that when inserting the image on the site by type="file" it resizes to 400x300, I’ve tried everything but I can’t. Image verification code to send pro BD and insert on the website:…
-
1
votes0
answers43
viewsQ: viewport user-Scalable does not work in safari help
Hello, I put a goal on my site, only safari it does not work. <meta name="viewport" content="width=1100px, user-scalable=0;"> use this to fit the screen, I tested on android, Chrome on mozila,…
-
1
votes1
answer113
viewsA: Open javascript with Select Option
GOT IT TO WORK. <select id="opcoes"> <option value="selecione">Selecione uma unidade</option> <option value="canto">Vitória - Praia do Canto</option> <option…
-
0
votes1
answer113
viewsQ: Open javascript with Select Option
I’m wanting to open Check() and open it when the select option is pressed. <select> <option href='javascript:;' onchange="abrirVit();" value="canto">Vitória - Praia do…
-
3
votes1
answer3125
viewsQ: Why does calling a simple method in a class give a reference error?
I’m starting to study C# and I’m making the following mistake: CODE: CS0120 DESCRIPTION: An Object Reference is required for the non-static field, method, or Property…
-
1
votes1
answer166
viewsQ: Open Ajax with addition to url
I’m wanting that when I open the "#portfolioModal54" and run the ajax add in front of the url the name and id of the clicked block. Example: BLOCK 1: #portfolioModal54 opened with the $name = quad…
-
0
votes0
answers100
viewsQ: Phpmailer_5.2.4 with GMAIL
I’ve seen several topics and sites talking about phpmailer sending direct to GMAIL, however I can’t do, the following error appears: SMTP -> ERROR: Failed to connect to server: Connection timed…
-
0
votes0
answers156
views -
0
votes1
answer133
viewsQ: Form error, Page loading failed
When I press SEND, Submit sends to the /contact.php but on the page appears: The door.com.br page is not working door.com.br cannot process this request at this time. HTTP ERROR 500 <form…
-
0
votes1
answer81
viewsQ: Problem Form - I think they put a BOT
I’m getting every 5 in 5 minutes 1 email coming from my form with the information in numbers looking like a type of BOT. I am using PHP MAILER <?php session_start(); ob_start(); $nome =…
-
-5
votes1
answer307
viewsQ: Preload a folder with images
Is there any way to pre-load an image folder instead of pre-loading image by image with javascript? 'Cause I’m gonna have a folder with a bunch of pictures that are gonna be played by a database.…
-
-2
votes1
answer189
viewsQ: Load from Database only when all is loaded
In the Portfolio section, when pressing + load, you can see that first loads the block and then the images with a delay of 1 second. SEE ON SITE: somospixel.com/test I only want it to load when the…
-
0
votes0
answers53
viewsQ: Problem with Font Face
I’m using Font face in WORDPRESS, and in local hosting (WAMP) he picks up the font, but when publish online he does not take the font I want. the font folder is in: ONLINE: public_html/wp-content…
-
2
votes0
answers63
viewsQ: Data filter does not load six blocks as in "ALL"
Entering a category does not load six blocks coming from the bank fingered as in "ALL" only those that have already been loaded in all. I need you to press the same in ALL, for each category load…
-
0
votes1
answer88
viewsA: Update by json does not recognize UTF8 by database
only remove the $pdo->exec("SET CHARACTER SET utf8");//corrige os acentos na hora de gravar no BD He was doing the conversion twice, so he bugged
-
0
votes1
answer71
viewsQ: UTF8 only works in mysql or only on the page
In Coon.php that serves as a connection to my database, if I add this code: mysql_query("SET NAMES 'utf8'"); mysql_query('SET character_set_connection=utf8'); mysql_query('SET…
-
0
votes1
answer88
viewsQ: Update by json does not recognize UTF8 by database
When I press the LOAD button on my portfolio, the $NAME and $TYPE Click when you have some kind of accent. The first 6 blocks of the portfolio that are already loaded with the page, are in UTF8 but…
-
0
votes1
answer263
viewsQ: PHP does not send email and no error appears
I am using PHP Mailer to send an email but it is not sending and no error appears. FORM: <form method="post" action="enviar_mensagem.php"> <ul style="margin-left: 15px;">…
-
0
votes2
answers1412
viewsQ: Change CSS display with PHP variable
I’m hoping that when $total comes in and goes from 40 to div="te" and the li class="ta" stay with display:block. CSS: .foo { width: 50px; height: 50px; background-color: red; float: left;…
-
3
votes2
answers322
viewsQ: DIV only clickable if RADIO is marked
I wish my <button id="bottaaoPA">Comprar</button> was only clickable if the radio were marked. Code: $(function(){ var contador = 0; $('.pa').click(function(){ if(contador === 0) {…
-
2
votes3
answers3134
viewsQ: Add or Remove Class from a DIV by clicking
Hello guys I’m wanting to make when I press 1x on DIV "packages . PA" it will make the changes: classify .select CSS: #bottaaoPA: Display:Block ; CSS: bottaaoPB: Display:None; CSS: bottaaoPC:…
-
2
votes1
answer476
views -
0
votes2
answers46
viewsQ: Error searching page data with AJAX
I’m trying to pull a content through ajax but I’m not getting, nothing appears in Received Jax. HTML: <a href="#portfolioModal54" class="portfolio-link" data-toggle="modal" id="executaAjax"…
-
0
votes1
answer818
viewsQ: Image in Database with Input File
Hello folks I am trying to put images in the database through FILE input, for image/port/mini and image/port/full paths. Form: <form action="recebe.php" method="POST"> <label>NOME DO…
-
0
votes2
answers72
viewsQ: Insert multiple checkboxes into the Database
How do I insert multiple checkboxes into the same database line? Follow the code, the checkbox menu is what will be inserted several times: require_once("conn.php"); $nome=$_POST['nome'];…
-
0
votes0
answers43
viewsQ: Additional divs with Ajax JSON do not take the style
I have a little problem, I made a programming of portffolio blocks where when I press on loads more my ajax creates the other blocks of the database. However he is not pulling the style that the…
-
6
votes2
answers1168
viewsQ: Unable to call the same variable outside of Function
I’m having trouble calling my variable pt1 outside the function(data) and within the function getImageItem. Whereas the function(data) is inside the function getImageItem. function getImageItem() {…
-
-1
votes1
answer1224
viewsQ: White screen in wp-admin in WORDPRESS
Hello guys I’m having a problem in my wordpress just putting ONLINE in hosting that the screen of WP-ADMIN turns white. I tried to connect the DEBUG but no error appears, already uploaded 5x,…
-
0
votes1
answer33
viewsQ: Put maximum lines in the wordpress summary
Hello guys I would like to know how do I put a limit of 5 lines in the summary. <?php the_excerpt(); ?>
-
1
votes1
answer71
views -
2
votes1
answer199
viewsQ: Question about radio button
I have a form that has two buttons radio: 1-masc 2-fem. I want when one of them has pressed, and I click "calculate" he pull the if indicated for each radio. <form name="calc" method="post"…
-
3
votes3
answers4462
viewsQ: How to display the result of a form on the same page?
I have a form that gives me the result on another page, but I would like the result to appear on the same page. <form name="calc" method="get" enctype="multipart/form-data"…
-
0
votes1
answer1621
viewsQ: Press button + MYSQL Database Data overwriting "Select * From table limit 18"
I want to set a button so that whenever I press the LOAD button + the limit 18 always adds +18. EXAMPLE: $sql = "SELECT * FROM portfolio ORDER BY id DESC limit 18"; CLICKABLE BUTTON $sql = "SELECT *…
-
1
votes1
answer248
viewsQ: Sort While by insertion into MYSQL Database
I’m wanting my while instead of creating the block "element-item" down, create the block up, ie He orders from the youngest to the oldest and not from the oldest to the youngest EXAMPLE: What is he…
-
6
votes1
answer79
viewsQ: Onmouseover with Delay when exchanging image
I’m wearing a onmouseover, but it is giving delay from 0.5 to 1 second to change the image, when I put in my hosting. <li> <img…
javascriptasked kaiquemix 607 -
2
votes1
answer260
viewsQ: Close Menu with Slidetoggle
Hello guys I’m with a menu for mobile "burger" and I’m wanting it to close when I click on some link from the menu. HTML code from menu: <div class="menu"> <button class="hamburger">…
-
0
votes1
answer537
viewsQ: Responsive css does not work properly
I’m having a problem where I’m making a responsive display where the desktop is getting over @MEDIA SCREEN and on mobile is not getting the responsive. .portfolio-modal .close-modal { position:…
-
2
votes3
answers46
viewsA: Disable a FUNCTION on mobile
SOLUTION $(window).scroll(function(){ if ($(window).width() >= 1200){ // do something here } });
-
-2
votes3
answers46
viewsQ: Disable a FUNCTION on mobile
Hello folks wanted that my scroll function was disabled for mobiles, ie will only be active if the width of the screen is 1200px up. $(window).scroll(function () { // Movimento primeiro box vermelho…
-
1
votes2
answers86
viewsA: window.onscroll Bugando animation
IT WORKED OUT AS FOLLOWS. <script type="text/javascript"> var trava = false; window.onscroll = function(){ var top = window.pageYOffset || document.documentElement.scrollTop if( top > 2800…
javascriptanswered kaiquemix 607 -
0
votes0
answers260
viewsQ: Jquery Slide - touch slider
I am using the JS Cycle to make a PARTNERS slide on my website. I’m developing his responsive and I wanted to also pass the finger to the side (only in MOBILE). There is some way in the phone he…
-
-1
votes2
answers86
viewsQ: window.onscroll Bugando animation
I’m doing an animation where when the TOP > 2800 the animation will start. The animation will make the numbers inside a UL LI increase from 0 until the written number. BUG: The number sometimes…
javascriptasked kaiquemix 607 -
2
votes2
answers2726
viewsQ: Run Function only when div appears
Hello guys I have an accountant and I wanted it to start when the div #time starts to appear on the screen <script type="text/javascript"> $(document).ready(function (){…
-
2
votes1
answer496
viewsQ: Button Loading 3 more posts
I’m wanting my button id="boot" (<div id="boot">) each time it is pressed, charge +3 testimonials. <?php query_posts( array ( "category_name" => "depo" )); if (have_posts()) : while…