All Questions

1
answer

Display conditional problem in Js

I'm trying to create a conditional with display: block; and display: none; but JS is not bringing the value of the css display of my #slide element. What is the problem? var slider = document.getElementById('slide'); if...
asked on 13.02.2014 / 14:53
2
answers

Dynamic Array in JavaScript

I'm trying to dynamically generate an array arrays . For example: check = function (title, filter) { if (checked.indexOf(title) !== -1) { checked[title].push(filter); } else { checked.push(title);...
asked on 11.11.2014 / 21:28
2
answers

Request parameter accent on JSF page

I have a JSF page that receives as a parameter, in the URL, the error message to be displayed. Ex: http://example.com/application_error.jsf?exception=Não+permitido On the page, the parameter is displayed as follows: #{param['exceptio...
asked on 11.12.2013 / 17:23
1
answer

How does Cubic-Bezier work in Animations with CSS?

When we do an animation with CSS we have several parameters that we can use. animation: name duration timing-function delay iteration-count direction fill-mode...
asked on 29.11.2018 / 12:27
2
answers

How to print a text (coupon) via javascript?

I have a commercial web application written in ASP.NET MVC4 with C #, where I need to print a direct sales closing coupon for a non-fiscal (diebold) printer. Is there a way to send JS a direct document to the printer without printing or confi...
asked on 28.10.2014 / 17:07
2
answers

How does adapting to different resolutions on Android work?

In html for example, objects can (sometimes without any special code) adapt to the size of the window, for example when placing two images of fixed size, if decreasing the window one goes to the bottom line. But what about an Android App? Are...
asked on 18.02.2014 / 15:10
3
answers

Equivalent to the .filter () method of jQuery or Zepto in pure javascript

What is the best way to do the filter method like jQuery or Zepto in pure javascript? I want to implement this method in my library: link HTML <p>Lorem Ipsum</p> <p class="middle">Lorem Ipsum</p> <p class="mi...
asked on 12.02.2014 / 14:25
4
answers

How to make Button style Material Design only with CSS

On Android and design system Material Design it is common to see this button they call Ripple Buttom . link ButitisdonewithJSandmyintentionistodoitwithCSSonly.IsitpossibletodosuchaneffectwithCSSonly?Noticethatwhenbtnisclickedittrigger...
asked on 18.12.2018 / 14:39
2
answers

Problems with layout in Zend

I have a view that is formed by a layout different from the default one in my project, so it looks like this: public function init() { //Colocando o layout default $this->_helper->layout->setLayout('layout_paginas'); } But...
asked on 17.12.2013 / 20:16
1
answer

JqPlot error in IE 7

I'm using the JqPlot plugin to generate a bar and column chart. After running the tests in Mozilla and Chrome, which worked perfectly, I ran the test on IE7 and IE8 and got the following error:    window.g_vmlcanvasmanage...
asked on 12.02.2014 / 18:08