41
votes
4answers
959 views
API design and jQuery
I have often heard that jQuery has made some poor API decisions. Although jQuery is not my favourite library it's the library I've used most often and I find it hard to point out specific mistakes in ...
29
votes
2answers
22k views
How do I clear this setInterval
Normally, id set the interval to a var and then clear the var like var the_int = setInterval();clearInterval(the_int); but for my code to work i put it in an anonymous function:
function ...
27
votes
7answers
10k views
A good Javascript API reference documentation related to browsers and DOM
I am looking for a good API documentation for Javascript especially related to browsers and DOM. I am not looking for any kind of Javascript tutorial, but simply a documentation for all standard ...
26
votes
4answers
17k views
Openstreetmap: embedding map in webpage (like Google Maps)
Is there a way to embed/mashup the OpenStreetMap in your page (like the way Google Maps API works)?
I need to show a map inside my page with some markers and allow dragging/zooming around, maybe ...
21
votes
8answers
21k views
Javascript Load Order
Hey I am working with both amq.js (ActiveMQ) and Google Maps. I load my scripts in this order
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
...
18
votes
5answers
28k views
Using Youtube's javascript API with jQuery
I'm currently trying to use the YouTube API as part of a jQuery plugin and I've run into a bit of a problem.
The way the YT api works is that you load the flash player and, when it's ready it will ...
17
votes
2answers
9k views
How to change tooltip text for google chart api?
http://code.google.com/apis/chart/
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
// Load the Visualization API and ...
16
votes
2answers
379 views
Google Chrome Sync check if enabled via API/Extension?
Is it possible to programmatically check if Chrome Sync is configured in Google Chrome?
The reason I ask is that I am coding an Extension for Chrome that depends on Chrome Sync, and would like to ...
15
votes
2answers
2k views
Backbone.js and its API confusion
I've recently started using Backbone.js. I like the architecture, in terms of features it's almost exactly what I need...
... However I found the following caveats:
For Collections get means ...
14
votes
7answers
16k views
Pull twitter profile image
Is there a quick way to pull twitter profile image in PHP or Javascript? I need to get the url of the FULL image (not avatar size). Thanks. Any code sample is good.
14
votes
3answers
19k views
How do I get the title of a youtube video if I have the Video Id?
I'm playing now with the Youtube API and I began a small project (for fun).
The problem Is that I cant find the way to get Title of a video from the Id. (example: ylLzyHk54Z0)
I have looked in the ...
13
votes
2answers
7k views
Hiding the legend in Google Chart
I am using the google charts API. Is there a way to hide the legend for a scatter plot?
Thanks
13
votes
5answers
8k views
Javascript/PHP Family Tree Builder with Multiple Parents
Is there an existing PHP, Javascript, or even command line tool that can build a family tree in HTML (preferably) or at the very least create an image for it? Multiple parents are a requirement. I ...
12
votes
5answers
563 views
Is there a more comprehensive JavaScript function reference than w3schools? [closed]
I've been searching around online for a while now and I can't seem to find any particularly impressive function references for JavaScript.
Of course, QuirksMode and w3schools have good information, ...
12
votes
4answers
9k views
Where is a good resources for all the Javascript APIs for HTML5
I'm looking for a reference that summarizes all of the available Javascript APIs that are introduced with HTML 5, for each browser that has implemented any of the new features. Does something like ...