Questions tagged as 'javascript'

1
answer

Scroll per section with side guide

I would like to apply the following effect to a project, when the user uses the scroll, either up or down the scroll is made straight to the section below, needing a rolled scroll and it goes to the next section of the hierarchy: What...
asked by 19.02.2015 / 14:36
1
answer

URL redirection Google Extension

I have a silly problem, but I can not solve it. Come on: I want to adapt this code var pattern=/\bBloqueado/; var viewtext = "http://www.google.com.br"; var newurl; if (pattern.test(window.document.title)) { newurl = viewtext; chrome.ext...
asked by 04.03.2015 / 14:06
1
answer

Get URL parameter

I need a code that when I click on the image, this image will open in a new tab. So far I've been able to do that when I click on top of my image it opens another tab with the path of the image in the URL. How do I get that path that is in the U...
asked by 01.07.2015 / 14:54
1
answer

How to make a lightbox with CSS and jQuery?

I want to make a login bar with lightbox , that is, when clicking link in> "will appear a <div> that was hidden and a transparent dark background will appear. How do you build something like this?     
asked by 01.07.2015 / 17:59
2
answers

Comparison of dates

I want the message to appear when the user enters no date or the start date is greater than the end date. The code I made was this: /** * @Assert\True(message = "Erro! Verifique as horas. Data inical não pode ser maior que a data final.") */...
asked by 11.02.2015 / 16:02
1
answer

Call modal via url

I have a page where there is a Modal of register, I have to call this modal from an external page, preferably by url , I would like to know if it is possible and if they can indicate the way to me    NOTE: Modal can not be...
asked by 12.02.2015 / 14:07
1
answer

Failed to perform request with Angular.js $ http is not defined

I'm starting to use angular.js, I'm studying a Tutorial (Definitive Guide to Learn AngularJS in One Day) , but at first I already had problems with the $ http request. I'm getting the message: $ http is not defined In the Index header I incl...
asked by 12.02.2015 / 12:37
2
answers

Find entity's data for another

I have an Intervention entity, another of Failure and another of Prevista and I wanted to go buck the data of these entities and put everything together in a table. The table that puts everything together will be within the entity Interventio...
asked by 12.02.2015 / 12:43
1
answer

Filter table data through checkbox

I have the following checkboxes: <div class="row smart-form"> <section class="col col-1.5"> <label class="toggle"> <input type="checkbox" name="checkbox-toggle" rel="Natureza" value="Produtos">...
asked by 10.02.2015 / 16:02
1
answer

Delete generated table and re-create with other data

I have this table which will be generated with values of checkboxes that I select. HTML: <table class="table table-hover" id="table"> <thead> <tr></tr> </thead> <tbody> &l...
asked by 05.02.2015 / 12:43