All Questions

2
answers

Use date or class to query DOM elements

Here I am needing a little help to get a broader view on this. As a rule I usually avoid using class to query elements in HTML, for this I end up using a custom data property . In many cases I end up having duplicates in html:...
asked on 04.03.2015 / 17:53
3
answers

Take a photo on the web with Windows 8.1 tablet

What I need I want to make a page where the user can click a button, take a picture with the tablet camera, view it and click the button to save it. What I've tried I've already tried using HTML5 to do this: <input type="file"...
asked on 22.01.2015 / 14:28
1
answer

Invisible buttons in the emulator but visible in the preview

Why do not the buttons I create in xml show up in avd? In the layout they appear with a gray color, however when boto to run in the emulator they are simply invisible. If I put some text in the button, the text appears, but the button does not....
asked on 13.04.2015 / 19:46
2
answers

Use static Closures or Closures in PHP?

As of PHP 5.4, Closures , when declared within the context of a method of the class (other than static methods), automatically inherits the funções anônimas as a reference of the class that contains it. Example: class StackOver...
asked on 27.01.2015 / 13:07
3
answers

How to compare data with accents in the database?

I am having the problem in a search I made in that user filter content by district and county, it works fine when I choose district and county without accents but when I choose a district and a county that contains accents does not give me any v...
asked on 19.02.2015 / 01:19
1
answer

how to fill the stars of a star rating?

How to fill in the stars of a "star rating". The calculation is apparently working. Giving an echo to the variable $calc results is displayed. Example, if the note is 3.3 , it must fill 3 stars and 30% of the 4 star rating. The qu...
asked on 27.10.2015 / 12:20
2
answers

Paste videos thumbnail (Windows)

I searched Google for various terms on how to get the thumbnail of the videos but only found how to "generate" the thumbnail of a frame from the video using Xuggler but I'm having errors. The error I'm having is: Belowismyclass:pa...
asked on 29.10.2015 / 19:09
1
answer

dynamic url url

As I do for my url that is like this: detalhe.php?cat=1 stay type so detail / television my .htaccess : RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^(.*)$ index.php?ur...
asked on 29.10.2015 / 13:14
2
answers

How to create this rule in mySQL

I have a field in my table: tipoEndereco char(1); However this field only receives two possible values, which are: 1-> i (Instalação) 2-> c (Cobrança) Because of this, I'm thinking, and I would like your opinion, to change i...
asked on 17.09.2015 / 15:53
1
answer

Enable HOVER without clicking the same div

Next, I have 2 tables, the items in the second table have hover. I need to pass the mouse on 1 item from the first table and it activates the hover of the respective item from table 2, but I can not pull the same id or class because I do not wan...
asked on 24.09.2015 / 00:16