Questions tagged [web-frontend]

A refinement of the more generic frontend tag. In a web application this usually means HTML, CSS and JavaScript

Related: frontend, css, html, javascript

1441 questions
0
votes
1 answer

Writing a comma at the end of the first line of a multi-line variable declaration throws an error in Javascript

I wrote the following variable declarations in an application I'm working on var $currentPage = $(".js-page") $form = $("#new_location"), $body = $("body"), $submit = $form.find(".js-submit"), $elevationAngleKnob =…
0
votes
0 answers

Toolbar Flickers while scrolling page

I have some problem with toolbar in my project. on some pages when I scroll the page the toolbar starts flickering. I am using this style for toolbar class: CSS: .toolbar { overflow: visible; background-color: @bc-bg; height:…
Asim
  • 1
  • 2
0
votes
1 answer

Incremental build front-end project

I really get big trouble with incremental build (for develop process, in production build, I minified and concatenated files to some files). My project (angular) have hundreds js file and It's cost me up to 2 minutes to load web page. Root cause:…
Jack
  • 724
  • 1
  • 8
  • 15
0
votes
1 answer

Jquery Resize: how to check if a screen has been resized at any point

I'm using the jQuery .resize() event listener, and understand how to use it to trigger an action whenever the screen is re-sized. However, I'm wondering if there is a way in jQuery to allow one not just to listen for when a screen is re-sized, but…
Luke
  • 1,736
  • 2
  • 16
  • 34
0
votes
1 answer

Replying to a request in ruby on rails (Server side)

I am making a webb app using rails. At one point I am sending a request to the server to get some information in an array. I can handle the request on the server side, using routing and controllers properly. But once the server has done its math, I…
0
votes
2 answers

Need to modify a file name and location using JavaScript

I'm in need help in coding a web page in HTML5 where I can browse a file and enter a name in a text box and specify a location so that the portal can rename and save the file at location specified. The problem is I'm not supposed to use any server…
sathyam1992
  • 145
  • 1
  • 3
  • 13
0
votes
0 answers

Infinite loop between JSP and webpack + AngularJS app

We are trying to integrate a JEE app (jsp on the frontend) with an angularJs app. The angularJS is being packaged with webpack so in the jsp we are linking the app thru a