Posts by Samir Braga • 10,016 points
275 posts
-
0
votes2
answers960
viewsA: How to format several bxSlider on the same page with different styles?
Try this. #namesJobsMob .bx-pager.bx-default-pager a { display: block; top: -25px; } #missValMob .bx-pager.bx-default-pager a { display: block; top: -20px; }…
-
1
votes3
answers7312
viewsA: How to count page views on a website
First create a page called counter.php, it should be empty if no code in it. Then create another index.php file <?php $a = 0; include 'contador.php'; if (isset($_COOKIE['counte'])) { $counte =…
-
1
votes8
answers1132
viewsA: Can you use a variable above when it is declared below?
<?php include('home.php'); $pagina = "Home"; ?> <!DOCTYPE html> <html lang="pt-br"> <head> <title><?php echo $pagina; ?></title> </head> <body>…
phpanswered Samir Braga 10,016 -
0
votes4
answers1768
viewsA: Create infinite menu with PHP+CSS+JS
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Menu - Infinito</title> <link rel="stylesheet"…
-
12
votes5
answers41645
viewsA: What are the advantages and disadvantages between Mysql and Postgresql?
This site explains some things that may serve your answer. Source: http://www.infowester.com/postgremysql.php Here is a brief summary: Mysql or Postgresql, which to use? Both are very good and do…
-
1
votes11
answers97880
viewsA: Center image vertically within a div
Try with line-height:. Example: line-height: 40px;
-
1
votes1
answer298
viewsA: IP login authentication
Using proxy server, the IP you will get will be the proxy server and not the actual IP address of the user. Example: $ip = $_SERVER['REMOTE_ADDR']; But fortunately we can make an additional…
-
14
votes1
answer23562
viewsQ: Show GIF while page loads
I need a GIF to stay working while the page loads. I’ve tried a few ways but none worked. And when the page loads, the Completed!. More or less as it happens on this website.…
-
4
votes1
answer136
viewsQ: Vestige of mouse click
I need a script, that on an entire page where a click appears a ball in the place where it was clicked, but that after a couple of seconds disappeared. It doesn’t need to be ripples, just something…
-
2
votes1
answer473
viewsA: https Redirect Problem
I believe this will work. In php: if($_SERVER['HTTPS'] == 'on'){ $url = 'http://urldapagina.com.br' . $_SERVER['REQUEST_URI']; header("Location: $url"); exit; }…
-
1
votes2
answers418
viewsA: How to make HTML5 sound available?
Here is a code with a really cool sound meter. You just change the audio.src in the Javascript code and puts the name of your audio. <!doctype html> <html> <head> <style…
-
2
votes5
answers3441
viewsA: Show text when typing in textarea
The html: <textarea onkeyup="stop()" onkeydown="start()"> </textarea> <span id="span" style="opacity: 0">digitando...</span> the javascript: function start(){ var span =…
-
0
votes1
answer2059
viewsA: Run PHP file without updating the page
Dude what you can do is put the scripts of the products that are giving error on the same page if possible, if you put the code would be easier to understand.
phpanswered Samir Braga 10,016 -
8
votes1
answer110
viewsA: How do I create a summary in the text with some WYSIWYG?
With HTML like this: <ul> <li>Item</li> <li>Item</li> <li>Item <ul> <li>Item</li> <li>Item</li> <ul> </li> <ul>…
-
30
votes5
answers21909
viewsQ: How do I check if an email actually exists?
I made an email field for the user to register, and now I need a system to check if this email exists. I need that when the user type his email a system check if it exists, if it even has this…
-
0
votes6
answers18641
viewsA: What is the difference between declaring an array with "array()" and "[]" in Javascript?
I believe that the only difference is the mode of declaration, the var matriz will be understood as being a Array or not, at least semantically.
-
0
votes2
answers260
viewsA: How to create animated effect (shadow, Pulse) for Xamarin.iOS?
var shadowView = new UIView(textView.Frame); shadowView.BackgroundColor = UIColor.White; shadowView.Layer.ShadowColor = UIColor.DarkGray.CGColor; shadowView.Layer.ShadowOpacity = 1.0f;…
-
19
votes3
answers15338
viewsA: How to validate CPF with Dataannotation on Client and Server?
First, create a class that will be the Custom Validation Attribute. The class code will be the following: /// <summary> /// Validação customizada para CPF /// </summary> public class…
-
1
votes1
answer953
viewsA: How to avoid overlapping (overlapping) <select> elements in a form on the same page?
You already tried to use this? <style> *{ z-index: 1000; } </style>
-
0
votes3
answers3057
viewsA: Smooth Transition in Image Slider
<!doctype html> <html lang="pt-br"> <head> <title>Slide </title> <style> input[type="text"]{ -webkit-voice-volume: loud; } .image { position: absolute;…
-
3
votes2
answers386
viewsQ: Rotation check in javascript
Is there any way to check the rotation of a div in javascript, for example the verification of style left is offsetLeft, someone could tell me what the rotation would look like?…
-
0
votes1
answer168
viewsA: Characters from the English language in Jquery
<html lang="pt-br"> ou <meta charset="iso-8859-1" /> would be a solution.…
-
9
votes4
answers14813
viewsQ: I need to lock Ctrl+v in a text box
I want to create an input type="text" which does not allow them to glue anything to it. You do not need to present any alert or anything like that, just don’t allow the necklace.…
-
1
votes1
answer460
viewsA: Problem with Jquery effect . Blur() in IE8
<script> window.onload = function blur(){ var name = document.getElementById('idname'); var name2 = document.getElementById('idname2'); name.addEventistener('click', function(){…
-
5
votes2
answers903
viewsQ: Is it possible to upload files without using php, just with jquery?
I’ve searched a lot of sites but I’ve never been able to figure out if it’s even possible, someone can help me?