All Questions

2
answers

Problem with very large URL

I'm trying to pass a URL per GET and the server is returning error 404 because the URL is too large (I'm passing an XML through the URL). I have already tried to add the MaxFieldLength variables with 1677721 and MaxRequestBytes with 1677721 i...
asked on 10.10.2014 / 19:59
3
answers

Inline functions in iteration

In several articles, I read that adding an inline function within a while (for) generates an unnecessary consumption of system resources. Write: #include <iostream> inline int cubo(int n){ return n*n*n; } int main(){ for(int...
asked on 30.07.2014 / 14:37
2
answers

open new window php

On the site I have several banner ads. When I click on a banner, I'm redirected to a page that counts clicks on the banner. After this count I'm redirected to the page before the click on the banner and a new tab with the banner link opens. For...
asked on 11.08.2014 / 12:30
2
answers

Hover in selector: before

I came across a situation, even know how to work around, doing otherwise, but I would like to know if it is possible to use: hover in an: before element, I have the following structure: <a href="" class="call-box call-info-city block">...
asked on 11.09.2014 / 20:55
3
answers

Access negative index of an array

BUG? I was building a library for handling Arrays and I came across the following situation: When adding a value to a negative index within my Array, this index does not appear when using some methods: Example: var array = new Array("Mar...
asked on 04.08.2014 / 20:09
2
answers

How to make a menu that has a geometric figure in the center and is responsive?

So I'm a beginner in the Web Design area, and I'm having some issues with css on a site I'm developing. I have to make a fixed menu, which is nothing more than a normal bar, but that has a figure of a trapeze in its center and inside it, a se...
asked on 18.12.2014 / 23:44
1
answer

How to limit the number of pages displayed on a page?

With this question that already has a workaround, I got as a result a paginação com PDO but I have one more problem that will possibly be the target of a reward next week. As you can see in the image below, I have this page with +...
asked on 03.10.2014 / 22:03
2
answers

Data Structure - Double C-Linked List

I am doing an activity proposed by a teacher, which asks you to remove an element from the end of a double chained list. But the function I put together to solve the problem is locking the program. In the resolution I thought that if it were mad...
asked on 13.01.2015 / 13:01
3
answers

how to call an on-screen image on android

I have a question about displaying an image on the screen in android. example. to call a sound it uses the following code: Button button1; MediaPlyer mp; button1 = (Button)findViewById(R.id.button1); button1.setOnClickListener(new View...
asked on 25.01.2015 / 22:11
2
answers

How to perform an action when reaching certain height of the scroll?

I have a function in which every time I give scroll it calls a certain function, only I want to call it only once $(window).on('scroll', function(e){ //aparece segundo menu if($(this).scrollTop() >= navHeight + section...
asked on 02.01.2015 / 20:02