Posts by Bernardo Kowacic • 567 points
46 posts
-
1
votes1
answer96
viewsA: Page printing is bugged in firefox
As I am using bootstrap 4, I used the print classes provided by it, to hide the unwanted content and display block the content that will be printed. This way I managed to hide elements with absolute…
-
0
votes1
answer96
viewsQ: Page printing is bugged in firefox
Hi, I’m using javascript window.print() to print a radio news html page. In Google Chrome is working according to my needs, but in Firefox it cuts most of the text. Below is 1 print of how it looks…
-
4
votes1
answer792
viewsQ: Delete php session when closing browser
I’m using Codeigniter to develop a project that involves a restricted area. I am using session to store user data that is logged in. I need this information to be deleted when closing the browser,…
-
2
votes0
answers310
viewsQ: Permission denied Laravel 5.5
I’m trying to create my first Windows project with vuejs. I installed apache on Ubuntu 16.04 and navigated to the /var/www/html folder. I’ve circled the following command: composer create-project…
-
3
votes1
answer70
viewsQ: Is it safe to use grouped media queries?
All topics I found regarding media queries grouped are a few years. With the wide range of CSS3, grouped media queries are now considered safe to use in production? Do any browsers that support CSS3…
-
1
votes0
answers53
viewsQ: Larger font-size renders in Safari
Are there CSS or other reasons why Safari / iPhone would ignore some font size settings? On my private site, Safari on iPhone produces some font size: text 13 px larger than the font size: text 15…
-
4
votes3
answers1015
viewsQ: Remove style added with . css() Function with jQuery
I’m changing CSS with jQuery and need to remove the style I added: if(cor != 'ffffff') $("body").css("background-color", cor); else // remover style ? The line above runs whenever a color is…
-
0
votes1
answer137
viewsA: Add css Transition to div in Flexslider
I don’t know any slider plugin that offers this effect natively, but what can be done is to create effects on your page’s own css. I usually use the plugin Animate.css to speed up the development of…
-
1
votes0
answers46
viewsQ: Ckeditor taking time to load
I am using the Angularjs version of Ckeditor to generate my text fields. The problem is that it just calls the plugin when the page is already loaded. Because of this, it waits for all the images…
-
0
votes2
answers585
viewsA: Compare 2 variables in a select with Angular
For the select to be selected it is necessary that the model has the same value as the value, so the angular will automatically identify that the values are equal and the option will be selected by…
-
0
votes1
answer117
viewsA: Configure Kcfinder in Tinymce
In the Kcfinder settings file, you need to set the full URL for the directory in which the images will be stored.
-
1
votes1
answer68
viewsA: cron task is not executed
I solved the problem by creating a shell script. Inside the Shell Script file I set up the BD copy routine and run the script file by cron task. The code used to make the connection and save the .…
-
0
votes2
answers405
viewsA: Error copying files between servers
I was unable to connect to the target server because the source server did not have an RSA key. I followed the tutorial "Generating the SSH keys and automating the access" that is found in the link:…
-
0
votes2
answers405
viewsQ: Error copying files between servers
I am copying files via rsync between two linux servers, the command I am using is: rsync -Cravzpt --remove-source-files --exclude 'script.sh' --exclude 'index.php' /var/www/html/bkpserver/tarefario…
-
0
votes1
answer68
viewsQ: cron task is not executed
I have a cron task that calls a url, that url is a folder that contains an index.php file. This PHP file runs every 12 hours and saves my server databases into files. sql inside a folder, only by…
-
0
votes2
answers363
viewsQ: Set domain to Docker-Compose container
I’m starting to use Docker-Compose and would like to know how to set up a domain for my apache container via Docker-Compose.yml? Currently to access my container I type localhost:3000. cms:…
-
0
votes1
answer213
viewsQ: Set port automatically Docker
I’m using Docker to develop my web applications, but I realized I need to run several projects at the same time on my machine. Since these projects basically need the same containers, which are…
-
1
votes2
answers3280
viewsQ: Configure Mysql Workbench on Docker
I want to set up my Workbench so that you can connect to the mysql that is running on my Docker server, but when I try to test the connection, I always get the following error: I created my Mysql…
-
0
votes1
answer82
viewsQ: Insert Javascript into Tinymce
I wonder if it is possible to configure Tinymce to accept snippets of Javascript code typing field, and if possible, what is the necessary configuration to enable this option.
-
2
votes1
answer1771
viewsA: Object with list of objects within Javascript
With the help of Onosendai, I was able to solve my problem as follows: I receive the data by the controller normally, create a variable in the json format and then make a loop for that iterege over…
-
2
votes1
answer1771
viewsQ: Object with list of objects within Javascript
I am using angular to make a form that contains multiple checkboxs (using angular-material), this form sends the values to the controler, which are received as follows: I need to take this data (all…
-
0
votes1
answer338
viewsA: Connect Visual Studio to database
I solved the problem by installing the 32bit Mysql ODBC Connector along with the 64 bit.
-
-1
votes1
answer338
viewsQ: Connect Visual Studio to database
Hello, I am trying to connect my project in Visual Basic, in Visual Studio, with my Mysql database, it presents the error below, would anyone tell me how to solve this problem? I already installed…
-
0
votes1
answer117
viewsQ: Configure Kcfinder in Tinymce
Hello, I am using Tinymce as a text field and I need it to be possible to upload images on it, and for that I am using Kcfinder, only the problem is that when I click to upload images, it appears…
-
0
votes1
answer3038
viewsA: Create angular variable in html
I managed to solve the problem as follows: I put a div with display: none and created an empty variable within the json, called "id_Array", which I fill in as follows: {{tamanho.id_array = $index}},…
-
3
votes1
answer3038
viewsQ: Create angular variable in html
Hello! I have a loop (ng-repeat) in my html file and would like to save its index in a variable to be able to pass parameter to a function. Does anyone have an idea how I can do that? Follow the…
-
1
votes1
answer169
viewsQ: Function does not run without setTimeout
I’m having a problem executing a function by clicking on icheck. In case, the function is only called if I give a setTimeout 1 millisecond, less than that or without timeout the function is not…
-
1
votes1
answer570
viewsQ: Send multiple images via Curl
Hello, I need to send via Curl multiple images, which will be received in an API, but in the API it receives in a specific way, in which I am not able to send by Curl. Follows form the API receives…
-
0
votes2
answers585
viewsQ: Compare 2 variables in a select with Angular
Hello, I have an array of objects that I am pulling from the database and playing in a Select HTML, only I am also passing another variable and would like to compare this variable with the values of…
-
1
votes1
answer67
viewsQ: tags saved in bd being printed as text
Hello, I am printing a value saved in a mysql text field, which contains 'p' tags in its composition, the problem is that it is printing these tags as text and not as html, does anyone know what…
-
1
votes2
answers703
viewsQ: show angular variable in iframe
Hello, I have a youtube iframe and I have to pass to it i video ID, which is saved in the database, for this I am using an angular variable, as follows: <iframe width="100%" height="650px"…
-
0
votes1
answer220
viewsA: Google Maps API does not load in Angular
I was able to solve the problem using the following code: var map; var idInfoBoxAberto; var infoBox = []; var markers = []; function initialize_contato() { var latlng = new…
-
0
votes1
answer220
viewsQ: Google Maps API does not load in Angular
Hello, I’m trying to initialize the API of Google Maps on controller of my page Angular, only that it simply does not start the function. If I put it directly on the page, it works smoothly. It…
-
6
votes2
answers536
viewsQ: Make an HTML checklist
Hello, I wonder if it is possible to make a checklist, as the image below, only with css (please disregard blue lines): i found the Nth-Child css function, but I was only able to do this:…
-
0
votes2
answers55
viewsA: lighbox codeigniter
Hello, I think your problem is the fact that you are calling Jquery after calling Lightbox. Put the jquery script before it will work, as below: <script…
codeigniteranswered Bernardo Kowacic 567 -
2
votes1
answer930
viewsQ: Use variable with site address in HTML - Angular
Hello, I’m developing an angular site, only I’m having difficulties using the variable baseurl, which contains the base path of the site, in some things like links I can use, but within a…
-
2
votes2
answers916
viewsA: Sum of table fields with PHP and Codeigniter
You can do this using only a select in the database, making your life easier. In your case the select will be as follows: select sum(amount) as 'amount' from `tb_customer_credit` where customer_id =…
-
0
votes2
answers130
viewsA: Overlay information when using Media Queries
Hello, on my sites I use float: left; along with width: 100%; in the css classes of all Divs, thus preventing this issue of overlapping of Divs on the screen;
-
0
votes2
answers1114
viewsA: Anchor in Angularjs
Hello, I managed to solve this problem as follows: in the link, I put a scrollTo with the id of the div that it should go: <a href="" ng-click="vm.scrollTo('box')"> in the div I put his normal…
-
0
votes2
answers1114
viewsQ: Anchor in Angularjs
Hello, I need to create an anchor where when I click on a link it arrow display block in a hidden div and scroll down the page to that div. The part about display block I’ve done, what I need is the…
-
1
votes2
answers583
viewsA: How to load external CSS via Codeigniter?
Error 404 means that it is not finding the file in the specified location. In the browser console, on which line is the error? From what I saw there, there is a bar (/) missing after base_url when…
codeigniteranswered Bernardo Kowacic 567 -
3
votes4
answers8751
viewsQ: Change color marker li
Hello! I wonder how I do to change the color of the marker ball <li> via CSS. From what I read on the Internet, so far I’ve only been able to do this using an image to replace the ball.…
-
1
votes1
answer472
viewsQ: How to let a function run after some time?
I have a javascript code ( jquery ) and it performs a function when I move the scroll of the mouse, however, it performs the function several times when I take a whole turn in the scroll. I didn’t…
-
0
votes1
answer955
viewsQ: Dropdown menu does not adjust the screen
I have a dropdown button that serves as a menu of the site, only it stays in the right corner of the site and ends up leaving the screen, follow print of the problem: I want it to stay inside the…
-
1
votes4
answers18875
viewsQ: Change color of button text by clicking
I’d like to know how to change the color of the text of the button writing when I click on it, I want me to click on the button and it comes out of the golden color and stay in the white color until…
-
4
votes1
answer4972
viewsQ: Print data from a dynamically allocated two-dimensional matrix
I would like to know how I print the information collected in Cria_matriz using the function Prints. This is the code I have done so far: #include <stdio.h> #include <stdlib.h> float…
casked Bernardo Kowacic 567