Questions tagged as 'front-end'

3
answers

How to download file without backend [duplicate]

I want to force a file to be downloaded and I'm trying both ways. downloading on the same page: var docLocation = window.location.href + 'docs/apresentacao.pdf'; var iframe = $('<iframe src="' + docLocation + '" class="hidden">...
asked by 24.01.2017 / 17:32
2
answers

What is Riot.js?

I was reading about some frameworks and libraries for front-end UI development and I came across Riot.js . By giving a quick read on the page of the library, I superficially concluded that they promise to make UI componentization easier th...
asked by 11.10.2017 / 15:03
1
answer

Java interface layout

I'm developing a program for a friend and I'm using the Java language for this. I'm using the Netbeans IDE which has the feature of building the user interface (UI) by drag n 'drop, using Swing. I have a lot of trouble building UI, I'm pretty...
asked by 14.10.2014 / 21:36
2
answers

Anchor to another page with scroll to content

I have a link on a page that will send me to another page, but I need it when the requested page loads, make a scroll for the content I want to focus on. If it was on the same page, it would not be a problem because I already do this a...
asked by 27.07.2015 / 21:37
2
answers

Angular filter example 1

I'm trying to apply a filter with angle 1 But I'm only able to apply for 1 field. How can I make a filter that can search for more fields? In my case it will have a filter with 5 types of fields.     
asked by 06.07.2017 / 22:13
2
answers

Customizing the Scroll of a 'div'

Since there are many different device resolutions, I'm having a hard time displaying a feed list. Here is an image of how I think it best to display such DIV (list), since the page is responsive and it is not trivial to put a scroll-ba...
asked by 26.02.2014 / 13:07
1
answer

FlexBox + CSS GRID

I would like to know if there is any possibility of using CSSGrid with FlexBox. display:grid; display:flex; I'm talking about using both in the same project, if not, which one would you recommend me to use? You can give an example of how to...
asked by 05.09.2018 / 05:12
1
answer

Execute function in scroll event of a div

I have two divs, the two have the same id, target1 . I need to get two divs in JavaScript and apply a function in the scroll event of div1 . This function will be responsible for getting the scroll value of div1 and apply i...
asked by 28.08.2018 / 20:11
1
answer

How does the browser read and interpret css? [closed]

I'm starting this Front world and I read that the browser reads and interprets css from right to left. But as it reads and interprets when the cascade of classes exists, just as in this example: .classe-A .class-B #id-A span p { co...
asked by 07.02.2018 / 19:55
1
answer

Execute function only the first time you open the page

I'm developing an app using Phonegap , it uses the front end to create apps, so I'd like to do the following: run a specific function (such as an alert) the first time the application is opened? And it will no longer be shown unless the app...
asked by 05.01.2016 / 14:16