Posts by wiliamvj • 99 points
11 posts
-
-1
votes1
answer60
viewsQ: Change font with Javascript
I need to change the source of a system, I don’t have access to HTML, only via Google Tagmanager, so I need to change the DOM with JS. I didn’t succeed, what’s the best way to do it? var a =…
-
4
votes2
answers191
viewsA: How to force justified size?
You could use the attribute justify (text-align="justify"), but is no longer supported in HTML5, so the only way I know is via CSS. #teste { width: 100%; } p { margin: 0 auto; max-width: 30%;…
-
0
votes1
answer179
viewsQ: Line breaking with Onclick Javascript
I have a function, that when clicking changes an element, but also ends up breaking the line, I tried to solve using the preventDefault(), but without success. When clicked on the icon…
-
0
votes2
answers59
viewsQ: Error in data received in PHP
This error appeared after hosting migration. Warning: number_format() expects parameter 1 to be float, string given in…
-
0
votes1
answer471
viewsQ: Hover moving element
When applied the hover, it moves the elements. .iconsHab i{ color: #0098DA; padding: 5px; vertical-align: middle } .iconsHab i:hover{ color: #0098DA; font-size: 20px; } <!-- Bootstrap docs:…
-
1
votes1
answer81
viewsQ: Duplicate element in DOM with JS
I need to add a <li> via Javascript, but when added, from the second addition, it starts to duplicate, triple and so on, I need you to add only 1 element per click. var btn =…
-
1
votes0
answers37
viewsQ: Bank query problem with Codeigniter
I have a table in the bank (use_shopBlock), which locks a button in the view, but when I give a <?php var_dump($shopBlock);?> the result is NULL. My view: <?php $shopBlock =…
-
0
votes1
answer46
viewsQ: How to treat value and use for certain action in Codeigniter?
I am creating a system, in which the user when registering needs to be checked before the release of access. I have in the bank the following: use_status => 1; For approved users! use_status…
-
0
votes0
answers49
viewsQ: How was CSS developed?
I’m trying to find out, but I’m on time researching and I couldn’t find any reference, someone would have an idea of how CSS was developed? Was developed with a specific language? What technology is…
-
-1
votes1
answer348
viewsA: Place soft or slow effect on anchor (window.location.href)
$(function() { $('a').bind('click',function(event){ var $anchor = $(this); $('html, body').stop().animate({scrollTop: $($anchor.attr('href')).offset().top}, 1000,'easeInOutExpo'); // Outras…
-
0
votes0
answers76
viewsQ: Constant change of dates in Codeigniter
I have a site developed in PHP and Codeigniter, never worked with PHP or Codeigniter, only with Javascript. The problem is that the date of the site ads is constantly updating, which was to be…