Posts by SpammingOff • 387 points
18 posts
-
-1
votes1
answer82
viewsQ: Use Regex to replace text
I need to display a text and replace a few words with a field of the type input. The idea is that it fills in this input the word that was hidden. It’s like a guessing game. So let’s assume I have…
-
0
votes1
answer64
viewsQ: Add data in Session array
I am using PHP to develop an application and I am using the following code to keep information in a session and return the data to generate an alert for the user: class Data{ const DATA = "DATA";…
-
0
votes1
answer107
viewsA: PHP: Upload files works for images but does not work for PDF files
I found that the problem was in the limit to upload files. As the images I usually upload to the site are smaller than 2MB, the problem never occurred. To solve this problem I created a . htaccess…
-
0
votes1
answer107
viewsQ: PHP: Upload files works for images but does not work for PDF files
I’m having a strange problem: my form works for uploading images but does not work for uploading PDF files. My code is this: $titulo = $_POST['txtTitulo']; $descricao = $_POST['txtDescricao'];…
-
2
votes1
answer493
viewsQ: Link with Anchor
I’m making a website and I have a link that, in addition to sending a message when it is clicked, uses an anchor to put the section of the site in the spotlight. I’m doing it this way: <a…
-
1
votes1
answer194
viewsQ: Interim records in foreach
I’m making a list of records and I’m having the following difficulty: In my system I have two tables and I need to list their records interchangeably. The location of the listing is the same. Only I…
-
1
votes1
answer414
viewsQ: Docker and Virtualbox Shared Folders
I need some help, guys. My scenario is this:: I have Windows 10 installed on my computer. In Windows 10 I installed Virtualbox. In Virtualbox I created a VM and installed Debian. Now, within Debian,…
-
0
votes1
answer459
viewsQ: Form Post with Dynamic Fields
Hello. I’m having trouble submitting data from a form. My problem is this: My client created a series of products in the database. And now he needs a form where all the quantities of the products…
-
1
votes0
answers158
viewsQ: Media Queries for Menu
I’m developing a page that has a menu that should display different behaviors according to screen dimensions. I’ll try to display this through some images. In the initial state of the menu (and with…
-
2
votes2
answers64
viewsQ: Use JSON in Jquery library
I’m using the "Vegas Background Slideshow" library in a project with the following code: <script> $("#main").vegas({ slides: [ { src: "assets/site/img/uploads/banners/01.jpg" }, { src:…
-
0
votes1
answer31
viewsQ: Display specific browser warning
I have a web application that works well in all browsers. It turns out that I had to develop a Feature that is not responding well in the browser that is already installed on Samsung smartphones.…
-
1
votes1
answer808
viewsQ: Mark/Deselect Radiobutton Component in Expandedlistview
In a question I asked here at Stackoverflow a few days ago I was instructed to use the Expendedlistview component to represent a dynamic list of items. After the implementation I saw that the list…
-
2
votes1
answer164
viewsQ: Avoid response delay message
I am developing an application that consumes, via REST, a third party service. In some cases the service takes time to answer me and, as the application is waiting for reply, a message appears…
-
4
votes3
answers1444
viewsQ: List of questions, each question with a list of answers
I’m implementing a question and answer app. For my listing I am using a Recyclerview in which I load several Cardviews (coming from loading a list). Each Cardview shows a question. Below the text of…
-
1
votes1
answer127
viewsA: Style editable square "balls"
Dude. I know you can style the area of the rectangle itself: var bounds = { strokeColor: '#FF0000', strokeOpacity: 0.8, strokeWeight: 2, fillColor: '#FF0000', fillOpacity: 0.35, north: 44.599,…
-
5
votes1
answer1759
viewsQ: Center element in the middle of two float elements
I am developing a site that, in a given DIV, has three elements with defined width and height. These three elements are stylized according to the following rules: .blocks-h{ width: 320px; height:…
-
2
votes2
answers993
viewsQ: How to get data from a text displayed in the dialog
I am using this library to display dialogs in my application: https://github.com/drakeet/MaterialDialog With this library it is possible to display in the dialog a layout created, but I am not able…
-
3
votes1
answer1841
viewsQ: Change Fragment from click
I’m trying to get my app to display a new Fragment from one click. The message is printed on the console when I click on the button, but Fragment does not change. @Override public View…
androidasked SpammingOff 387