javascript-library

OpenSource Script To Crop, Resize, Thumbnail, Convert Images.

I want to have a section where people after uploading their profile information can draw a square around the part that they want from the picture to be the thumbnail and all that. I'm wondering if there is anything out their with the client side (javascript) and server-side (php) so that I don't have to start from scratch! ...

what are the top js lib/framework/tool i should know?

hi, i know the basics of js the language for several years, but never had a need to go deeper than say change a style of a paragraph or do a image rollover or validate a field. am thinking going deeper with js. can anyone recommend the top 3 library or framework that you cant live without? Xah ...

Javascript library for graph operations

Is there any suggested javascript alternative(s) to pythons pygraph or NetworkX? It should be noted that visualization is not necessary (even prefered not to have this). The library should be able to parse a format capable of retaining labeling and attributes on nodes and edges (DOT, GraphML?). It should support operations such as: Li...

How to open the homepage in FULLSCREEN with javascript without opening a new window ??

How to open the homepage in FULLSCREEN with javascript without opening a new window ?? ...

How to open a new window in FULLSCREEN with javascript ??

I am using this code but it doesn't work because the new window is half of the my screen ( 1280x800px ): <a href="javascript:void(0);" onClick="window.open('http://www.stackoverflow.com', '', 'fullscreen=yes');">Open Full Screen Window</a> Why ? ...

css is getting overridden by .js inserted styles (Alloy UI)

I have a situation where the .css in my head tag is getting overridden by css that's being inserted dynamically into the head by a javascript library. The .js library automatically appends the new .css link to the end of the head tag so it is always put on top of my styles. ...

Calling an exe from JavaScript (need to change current directory)

Hi, I'm calling an exe from within an html page using Javascript. The problem is my EXE has some dependencies which are referred from current directory. Therefore, I need to change current directory to the EXEs directory, and after calling the exe it should be changed back to previous one so that nothing else is effected in later steps....

Is there anyway to detect OS language using javascript?

Hi I need to detect OS language using javascript so I can view my page depending on the language. I know that we can detect the browser language but that is not enough for me. I need Operation System language Thanks in advance ...

Javascript Plugin Development , Extending Libraries

i got two javascript objects api and myApi : var api = {}; api.foo = function(){ ... }; api.foo2 = function(){ ... }; var myApi = {}; myApi.foo = function(){ ...}; myApi.myFoo = function(){ ...}; myApi.myFoo2 = function(){ ...}; i want to add all myApi.* functions to api object without overriding api.foo. Indeed, i want learn how to...

Is there a JavaScript library that adds missing standard iteration methods (filter, map, reduce, some...) to Array?

Is there a JavaScript library which just adds some methods of Array, Object and other standard objects which have been standardized, but that are not available in all browsers? I am thinking of iteration methods in Array such as filter(), map(), reduce(), some(), or keys() in Object. Note that I don't want the library to introduce anyth...

Why mixing ExtJS with jQuery/YUI/Prototype/...

ExtJS have "adapter" for working with other javascript libraries. But why? Why not just use Ext Core? UPDATE: I know it was designed for YUI. But why it need an adapter? ExtJs use ExtJs namespace, almost all other framework use $, they should never conflict. jQuery can work with others without any adapter. Why Extjs need it? Is th...

Video encoding for websites

Hello, I am a little new to embedding videos on a website. What is the best way to go about it? I just started reading up on it. I read that I should use HTML5 and the browser's native player. -- Does anyone know of a javascript library that will use the browser's player and detect if the browser is not using HTML5 to downgrade to a f...

Phone Number Validation

I want to validate a phone number entered by user according to his/her country which I know. I am using PHP/Javascript/MYSQL in my site. OR have anybody list of mobile number format for all countries i.e. area code,country code, minimum and maximum length?? ...

Simple math library for the web

I'm looking for a math JavaScript API to show formulas on a web site and allow users to input formulas too (for instance, using a <textarea/>). The API should be able to parse text strings, such as 3x^2+2 or sqrt(x/(x+5)) building "automagically" fractional layouts, integral symbols and so on. Thanks. ...

Map-widget-like, draggable <div>

I'd like to embed my custom HTML in an area that is draggable, like the JavaScript Map widgets. For example, I want to put a 1000x1000 <div> inside a 480x320 <div>, without scrollbars (overflow:hidden) and be able to adjust the position of the inner layer by dragging it with the mouse. Ideally I'd like to catch scroll events too. I cou...

Best Library for Real-Time Javascript Game with PHP Backend

Hi! I'm currently in the planning stages for a real-time multiplayer game that would be built using Javscript at the frontend and PHP on the backend and I'm just wondering if anyone here knows of any good libraries for such a game? Thanks, DLiKS ...

Drag and Drop Functionality by using JavaScript for an email client application

Hi, I need a drop and drag functionality for my email client application. Description: I have some mails in my Inbox, I want them to move to my user defined folders by using drag and drop functionality by using Java Script. Looking forward for your response. Thanks, Ranjith ...

javascript help required

i am using the following code snippet to fetch element with a particular id but it kind of messes up at times... Does anyone have a better code...? or fix for this? function getData(html,id){ var curSectionId = id; var subStr=html.substring(html.indexOf("id=\""+curSectionId+"\""),html.length-1); var divsStrs=subStr.split("<div")...

Chrome fails to free memory, garbage collection doesn't occur as expected (Mootools/MochaUI library)

Background: I'm currently working on an intranet site that makes use of the MochaUI library (working from the virtual desktop demo). I'm using Mootools 1.2.4 and MochaUI 0.9.7. The windows that are opened in my "virtual desktop" implementation load their content via iframes. Some of the loaded pages are pretty hefty in terms of css and s...