Questions tagged [google-closure-library]

Closure Library is a JavaScript framework used by Google and one of three components to Closure Tools, an open source toolset to aid with developing front-end web applications

Important links:

374 questions
0
votes
1 answer

How to duplicate embedded SVG DOM in HTML using Closure library?

I want to duplicate an embedded SVG in HTML, re-define it's IDs inside. For example, there is a HTML file like
Izumi Kawashima
  • 1,197
  • 11
  • 25
0
votes
1 answer

Google Closure library as a flowchart constructor

So I am very interested in using the closure libraries more at my workplace, but my boss is telling me it seems "too scattered and complicated to use". His main concern is that it won't be able to replace our workflow constructor and I have searched…
0
votes
1 answer

Create Slider with Closure

I'm trying to implement a content slider with Closure, using the goog.fx.dom.Slide function. The idea is to be able to drag a slide bar on the bottom of a container div, and have the container div slide accordingly as the slider is moved by the…
pheven
  • 949
  • 2
  • 8
  • 11
0
votes
0 answers

Google Closure: Create Unique ID with TagOnEnterHandler Plugin

I am trying to extend TagOnEnterHandler Plugin to also generate a unique id for each paragraph inserted on pressing enter. Below is some modification I did to this library. But what it does is that it only generates a unique id for the first…
0
votes
3 answers

How to create a 20x20px cell grid background programmatically?

I'm trying to build a grid the size of the browser window that has 20x20px squares. My first idea was to just construct a table with the following code, but IE8 (in any mode) will not render the cells unless they have non-white space content.…
Lightbeard
  • 4,011
  • 10
  • 49
  • 59
0
votes
1 answer

CSS style - Placing a div outline inside an scrollable div

I am trying to make a selectable list in Google Closure . I got almost everything , but when i added the scroll functionality to the container. i realized that something is wrong with my style if the outline element
aked
  • 5,625
  • 2
  • 28
  • 33
0
votes
1 answer

How to avoid circular-dependency errors in Google Closure Library/Compiler

I'm developing a system which generates a graph network in memory, and solve the shortest path problem using Dijkstra's algorithm. There are two classes that are referring each other. The first one is //…
Izumi Kawashima
  • 1,197
  • 11
  • 25
0
votes
1 answer

Check Box using Google Closure

I retrieve a list of users from database and display it in a JSP. Each user has a status(Active or Inactive) associated with them and the status can be updated based on check-box selection on click of either activate or deactivate user. How do we…
0
votes
0 answers

How to create a ModalPopup with a form

I'm trying to create a popup menu which when clicked opens a form to accept user details.Is there a way to create a popup which has a form using Google Closure??
Arjun
  • 97
  • 11
0
votes
1 answer

ModalPopup or Dialog Using Google Closure

When "add Employee" link is clicked a ppopup must appear with fields to accept user details. I tried many things but ended up opening a new window and not a popup. how to get the following code to work in a popup or a dialog or a ModalPopup function…
Arjun
  • 97
  • 11
0
votes
1 answer

Adding plugin to Google Closure editor

I am using Google Closure editor and I would need to change the functionality of one button (namely Link). I thought that either I would inherit the responsible plugin (BasicTextFormatter in this case), or I would create a new plugin, whichever was…
0
votes
1 answer

goog.net.XhrIo and Rails

I'm trying to do an Ajax call using goog.net.XhrIo from the Closure library. I want to send a few parameters in a Post request and make them available to a Rails app. Here's my Ajax…
niftygrifty
  • 3,452
  • 2
  • 28
  • 49
0
votes
1 answer

Activate a combobox from a checkbox using google closure

I have a set of check boxes with Id's user1,user2 and so on and also set of combo boxes with Id's usersel1,usersel2 and so on in a dialog. When a check box is checked (say suppose with Id user1) then corresponding combo box must be activated(i.e…
0
votes
1 answer

Can we create a dialog box with a checkbox and a combobox using google closure

I am trying to create a dialog box with a checkbox, a user name and a combobox for roles which is enabled only when the checkbox is checked. I have the basic code running on a jsp page but how do i get it to work in a dialog box? All the components…
Arjun
  • 97
  • 11
0
votes
1 answer

Add json response content to a dialog box as links using google closure

I am getting the json content sent from a servlet properly but when I'm trying to set it inside the dialog box using a for loop I'm not able to,only the last element is getting updated. I can set it manually by specifying each element which i do not…
Arjun
  • 97
  • 11