Posts by Zkk • 831 points
41 posts
-
1
votes1
answer1790
viewsQ: How to redirect website to desktop version?
My site has two versions: Desktop and Mobile. When I access by mobile "www.meusite.com.br", I am redirected to the mobile version: "m.meusite.com.br". To do this, I’m using this really cool project…
-
-1
votes1
answer551
viewsQ: How to insert multiple images into a single post within a CPT?
I created a Custom Post Type to publish several images together. --->>> title <<--- --->>> highlighted/default image <<<--- ---->text<---…
-
8
votes2
answers5104
viewsQ: Good CSS practices for responsive Height. Is it armengue or not?
I made this code that leaves the height responsive, it adjusts according to the size of the viewport. (Rotate the snippet and resize the screen). whereas the html and the body have a height: 100%, I…
-
1
votes1
answer110
viewsQ: How to show/display each <li> item?
I am creating a menu where your content is displayed via a modal. As an element li is unique (has neither id nor class), so the jQuery will capture the last declared element.…
-
0
votes1
answer470
viewsQ: Site with backslash on localhost
I downloaded the site from the server and put it to run on localhost. However, it is not calling the files correctly. First, it calls "http://localhost" and then the folder path, with backslash.…
-
2
votes1
answer3982
viewsQ: How to check the modal closure
Via Ajax I register items in the database and return a certain value to the user through a modal using the innerHTML. Done that the "html" of modal is filled with the amounts I pulled from the bank.…
-
0
votes0
answers182
viewsQ: Error capturing Foreach data and sending to Phpmailer
I make an appointment at the bank and am printing on screen normally through a foreach. I’m having a hard time getting the data from foreach and send it to Phpmailer. My code: include "banco.php";…
-
0
votes2
answers211
views -
0
votes0
answers58
viewsQ: How to register, query and display data in the same request?
I have a form where the user enters his data (name, experience, height and weight), the information is registered in the database, compared and is returned to the user the ideal board model…
-
1
votes2
answers438
viewsQ: Bootstrap modal "data-Dismiss" bugging with position="Absolute"
I’m adding a custom close button on modal of bootstrap. I want him on the right modal, for that I gave a position: absolute and modified the top and right his. The problem is that by doing this the…
-
1
votes3
answers1607
viewsQ: How can I view data using JOIN?
I am making a section on my site called "My Ideal Board", in it the user inserts his data (weight, height, etc), a comparison is made in the bank (join) and is returned to the user the ideal board…
-
0
votes2
answers120
viewsQ: Inner Join not returning database values
MY BANK CREATE TABLE EXPERIENCIA( exp_pri INT NOT NULL AUTO_INCREMENT, nome VARCHAR(150), email VARCHAR(50), exp VARCHAR(100), PRIMARY KEY(exp_pri) ); CREATE TABLE PRANCHA( prancha_pri INT NOT NULL…
-
0
votes1
answer238
viewsQ: How to display the result of an Inner Join for the user?
I have three tables and want to join them and display them to the user, how can I do this using the functions of Wordpress? INSERTS THE DATA INTO THE DATABASE: function cadastra_experiencia($nome,…
-
-1
votes2
answers46
viewsA: Error using Inner Join in MYSQL
I got! SELECT EXP.experiencia, AEP.altura, AEP.peso, PRAN.tipo_prancha, PRAN.tamanho_prancha, PRAN.meio_prancha, PRAN.litragem_prancha FROM EXPERIENCIA AS EXP INNER JOIN ALTURAEPESO AS AEP ON…
-
-1
votes2
answers46
viewsQ: Error using Inner Join in MYSQL
I’m using the INNER JOIN mysql to merge and display data. Tables and data insertion: CREATE TABLE EXPERIENCIA( exp_pri INT NOT NULL AUTO_INCREMENT, experiencia VARCHAR(100), PRIMARY KEY(exp_pri) );…
-
1
votes2
answers1151
viewsQ: How to compare database data and display to user
I’m developing a surf site. In it, there’s a section called My Ideal Surfboard. Where the user will enter their data (Nome, email, peso, altura and experiencia(beginner, intermediate or advanced)).…
-
1
votes2
answers1743
viewsA: How to register and query data in the Wordpress database?
I did it! I did it in the direct way: <?php /*CONEXAO COM O BANCO DE DADOS*/ define('DB_NAME', 'meubanco'); define('DB_USER', 'meuusuario'); define('DB_PASSWORD', 'minhasenha'); define('DB_HOST',…
-
2
votes2
answers1743
viewsQ: How to register and query data in the Wordpress database?
On my website, there’s a section called "My Ideal Board". It is a form where the user will enter their data and there will be a return message with the type of plank ideal for the person. First…
-
0
votes2
answers672
views -
2
votes2
answers3738
viewsQ: How to make one element stay on top of another with :after?
Using the pseudoelement :after, I created an image caption. How can I make the caption on top of the image and not on the bottom? .estrutura{ width:10%; height:30%; } .estrutura:after{ position:…
-
3
votes1
answer78
viewsQ: How to make the elements appear with the mouse scrool?
Visibility.onVisible(function(){ setTimeout(function(){ $(".animar").addClass("animated fadeInDown"); }, 400); setTimeout(function(){ $(".animar2").addClass("animated fadeInDown"); }, 800);…
-
0
votes1
answer1795
viewsQ: How to return to the home page after an Alert message
I have a page that performs a BMI calculation and saves some information in the bank. The structure is divided into four files: index.html = Html code; index.php = Calls the index.html; banco.php =…
-
1
votes1
answer87
viewsQ: How to send data to the database, compare and display on the website?
I am making a site where I will add the section "My ideal skateboard", where the user will enter his name, email, age, height, style and experience (beginner, intermediate or professional), doing…
-
2
votes2
answers551
viewsQ: What is the THIS parameter for?
Something I always see in a lot of code around is the parameter this. Ex: $(this).funçao-variável... I’ve been told that the this serves to "reference" something. But, it was not very clear. Does…
-
1
votes2
answers596
viewsQ: How to redirect the page only after confirmation?
The user will click on a link and a confirmation message such as "Do you really want to access this page?" should appear. If he confirms, he is redirected, if he denies anything happens. How can I…
-
0
votes2
answers591
viewsQ: How to make an automatic Divs transition in Jquery?
I want to make an automatic transition between Ivs. Example: div1 - show(); div2 - hide(); .... 3000milisegundoss... div1 - hide(); div2 - show(); And stay in that transition... I’m trying to do…
-
2
votes2
answers99
viewsQ: How to make a div have the dimension of an image and display it?
When declaring a div and importing an image as background-image, it is necessary that I declare the size(height and width) of the div. However, let’s say I have an image with the size…
-
-2
votes1
answer148
viewsQ: What is the name of this effect?
I would like to know the name of this effect. Where has ALL, IDENTITY, LOGO and PRINT. By clicking on each item, the images are separated by categories. Click here to access…
-
2
votes1
answer20445
viewsQ: How to open a. fdb file?
I need to open a database file (.fdb), but I don’t know how. What should I do to open this file? In it there is a list I want to pass to Excel.
-
3
votes2
answers6364
viewsQ: How to make an element track the scrollbar?
How do I set my menu to scroll? I made a snippet to exemplify the code. I open the menu, when I scroll the page it is in its position. I want the menu to accompany the scrolling of the page. How can…
-
7
votes1
answer85
viewsQ: Mechanisms for form validation
What are the pros and cons of validating forms with these features: HTML5? Javascript? Jquery? HTML5 + Javascript/Jquery? There is something to consider beyond these items?…
-
11
votes1
answer87
viewsQ: How is a "360º Tour"?
I would like to know what is the process of developing a 360º tour. Click here to see the example I believe such a "system" is not made all in the "big hand", in a primitive way, line by line. What…
web-applicationasked Zkk 831 -
0
votes1
answer1497
viewsQ: How to make a menu-div appear when clicked on a button?
I’m trying to make a menu similar to this: Click here to see the example menu What I did, I put a div over the other using the position:absolute and hid the div responsible for the menu with a…
-
0
votes1
answer242
viewsQ: Setting up Phpmailer for Newsletter
I am using Wordpress and in it, the plugin Sendpress for sending the Newsletter. The configuration is made from the file Phpmailer. The problem is that it is only sending to emails that are within…
-
2
votes2
answers6280
viewsQ: How to leave a div and an image over a Carousel?
I want to run a paddle and over it, a div and the logo, to give that effect of being superimposed. Try to do like this EXAMPLE, but without success. When I add such properties (absolute e relative)…
-
1
votes2
answers5893
viewsQ: Image Transition with css3 - Keyframes
I’m trying to make an animation with automatic image exchange using the @keyframes of css3. I am copying and pasting the sample code, but without success. The transition between the images is taking…
-
7
votes2
answers2249
viewsQ: What is the purpose of the pseudo-elements "::before" and "::after"?
I find many codes that use these pseudo-elements and I "fly" when I see them. The few tutorials I found on the Internet did not explain clearly and I was left with more doubts. After all, what is…
-
0
votes2
answers360
viewsQ: Page mode landscape does not fit
I put a photo of the background, being 100% tall. When I open the site by mobile (or Chrome/Firefox console) in landscape mode, the image background does not take up all the space. In desktop mode…
-
0
votes1
answer42
viewsQ: When I resize the viewport, the image moves to the bottom of the page
The site has a center image and a small text. When I resize the page, it adjusts (responsiveness). When it reaches a certain point 350-400px approximately, the div with the image and the text…
-
2
votes1
answer568
viewsQ: How to make a Modal Portfolio appear from left to right?
Portfolio Modal, example: http://ironsummitmedia.github.io/startbootstrap-freelancer/ I want to modify the animation of the Modal Portfolio (bootstrap). I want it to appear from left to right…
-
0
votes1
answer488
viewsQ: How to display a navbar from a particular section of the page?
In the project I’m doing, when the viewport is less than 767px it will display a menu/navbar however, it should only be displayed after a certain section of the page. I made an example in Fiddle,…