A JavaScript library is a library of pre-written JavaScript which allows for easier development of JavaScript-based applications, especially for AJAX and other web-centric technologies.

learn more… | top users | synonyms

3
votes
0answers
578 views

Graph orientation and node positioning in d3.js

Thanks to this earlier question, I produced a static fixed-layout graph as below using force layout in d3.js: and I have two specific questions to further customize the layout: First, I notice ...
2
votes
0answers
210 views

Fabric JS: How to Transform Fabric Image

How Can I skew and Scale left or right a Fabric Image inside a Canvas using Fabric JS? I need it to follow the way this monitor is being displayed so I can paste it like it is being displayed on the ...
2
votes
0answers
126 views

Redactor.js maxlength textarea mode

How can I specify a 'maxlength' for the Redactor area to prevent the user to introduce to many characters?
2
votes
0answers
99 views

Conditionally including minified or full libraries or plugins for debugging JavaScript and jQuery?

Is there a best way to conditionally use either the minified or full version of JavaScript frameworks, libraries, and plugins depending on whether you're debugging or not etc? jQuery specific answers ...
2
votes
0answers
239 views

How can I build a “Metro looking” website?

I would like to build a small web site with mostly static content (a User's Guide actually) using Javascript libraries. If I had to use a server-side language, I would use C# (either ASP .Net or MVC) ...
2
votes
0answers
597 views

adding dynamic markers with google charts

I have line chart I have created with Google charts. I'd like to add a dynamic marker to mark a particular point on that chart (and later I'll want to add a horizontal line). This looks like it ...
2
votes
0answers
189 views

Play HTML5 video locally

I have created a presentation application with HTML, CSS and JavaScript which is going to be executed from a CD. Everything is fine with images and JavaScript but now I want to include a video. I have ...
1
vote
0answers
30 views

Javascript library event not working with lists of elements

I am working an a javacript library for events. Here is some of the libraries code: (function(){ var elem, int, Jist = function(s){ return new ...
1
vote
0answers
133 views

JVectormap - Different Border/Stroke width for State and Regions

I am using jVectorMap for displaying regions and State with geoJson data. Basically it takes regions stroke width to show State borders. I want different Border/Stroke width to regions and States. ...
1
vote
0answers
78 views

Add line break to xCharts xaxis

I want to add a line break in the xaxis of xCharts. I have been trying to add the line break with <tspan> unsuccessfully. Below is the code I have so far: // Set initial data var data = { ...
1
vote
0answers
42 views

Monocle view only appending one list for all lists on the database

I am using Monocle MVC with Quojs and Lungo. I am trying to create a select tag filled with the current user lists. To do so, I iterate through the users lists and for each one, I append a option tag ...
1
vote
0answers
350 views

Google Apps Script Library Autocomplete

I am creating a library for use in google apps script and am having some trouble with the JSDoc Style Documentation so that the IDE autocomplete will work for the end user. All of the methods ...
1
vote
0answers
57 views

Is an arguments method that enforces type checking a good idea for a JavaScript library?

Recently I published a release of my JavaScript utility library Boiiler.js that uses a method I wrote args() in nearly every method. args() provides a consistent mechanism in which to define method ...
1
vote
0answers
74 views

Avoid global object pollution inside third-party AMD module

I have third-party modules, loaded with requirejs. Every module, in its definition, calls require to load some library (local to the module) that it needs. // SAMPLE MODULE define(['require'], ...
1
vote
0answers
122 views

Editor.isDirty() broken?

The Editor.isDirty() does not seem to be working correctly. In our application we check the Editor.isDirty() flag. When it evaluates to true we need to move forward with some actions. If nothing has ...

15 30 50 per page