I'm looking for a javascript charting library that can display interactive bar graphs on a timeline, similar to the timeline in Thunderbird's search window.
There are many javascript libraries to create timelines with line charts, but my data requires a bar chart.
Which library should I use to display my bar graphs interactivly on a ...
I'm at a loss here. I have this class I've created that takes arguments in object form:
new Widget('id_of_element', { option1: 'foo', option2: 'bar' });
However, the second argument isn't being seen as a hash, but as an object, so I can't apply default settings to if one is not set:
initialize: function (element, options) {
this....
hello guys,
i got this code that keep on returning undefined msg instead of the expected html.
Purpose of function:
the purpose of the below function is to return notifications in away similar to fb one's. the code is working fine. but there's something wrong with the getJSON part that i couldn't figure out. so instead of returning "clon...
I am monkey-patching some of the jQuery's Draggable code*
The goal is to avoid modifying the original source files and patch dynamically one of the internal functions.
The function _generatePosition is declared like this:
(function($) {
$.widget("ui.draggable", $.ui.mouse, {
...
_generatePosition: function(event) ...
Hi stackoverflow community, I have an HTML, XML, JS related problem...
Im learning a bit of web programming languages and as a project I started making a JS-based browser game. On an earlier project, I had some trouble when I wanted to save the Highscores to a MySQL database (from JS variable to php variable). In the end, I found a way ...
Hi guys, as the question says, I am trying to insert one or more tick box values into one database field, preferably in a comma delimited format.
So if the user chooses tick box one and tick box two, the input into the database will be inserted as tickOne, tickTwo, etc etc
How could I go about doing that?
Maybe using jQuery or Javascri...
<script type="text/javascript">
$(function() {
$("#continue").click(function () {
$.ajax({
type: "POST",
url: "dbc.php?check=First",
data: {full_name : $('#full_name').val(),
usr_email : $('#usr_email').val()},
success: function(msg){
if(msg==1){
$("#First_1").hid...
I give you what I want in PHP :
foreach($myarray as $key=>$value) { ${$key} = $value; }
Now, can we do it with JS/jQuery ?
This is the jQuery input, I want the classTD value as key, in other words the equivalent of the famous PHP statement ${$key} in the example above:
data = {};
$('#resul_rech_doc_fact tr.document-2 td').each(func...
i have written a snake program using javascript..
the problem is that the snake does not grow more than 2 blocks size....
<html>
<head>
<script type="text/javascript">
var matrix, body, dir, key, lastx, lasty, start, applex, appley, eat, hal;
function node(x, y) {
this.x = x;
this.y = y;
}
function draw() {
var str;
...
<form action="index.php?page=checkin" method="post" name="regForm">
<div id="First_1">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<table cellpadding="0" cellspacing="5">
<tr>
<td style="padding: 5px;">
...
I'm trying to lazy load javascripts, but I can't get it to work reliably. My pages load quite quickly and I want to keep it that way, so I'm not about to use a timeout to delay the loading. Besides document.readyState, how do I ensure the DOM is genuinely ready for modification?
Method I:
poll readyState
createElement script
...
With the beginning of widespread HTML5 support and Canvas support, it seems that someone could create a desktop-esque windowing system library for RIAs. Something similar to Qt or WxWidgets. All the required parts seem to be there (runtime language: javascript, pixel drawing: canvas, even vector drawing with SVGs).
This seems to me an...
is there a way i can make nodejs reload everytime it serves a page?
...
Hi All,
I want to create a textbox on the fly (in the comment section im creating). Now I would like your opinion on whats the best solution. I was thinking about using a webmethod and add a textbox control dynamically, but since this requires a call to the server I'm not sure if that's the best option. Or can i also spawn a textbox usi...
Hi Everyone,
Is there anyone experienced on Google Maps? I am planning to add a world map to my web service and then display number of statistics for each country I specify.
I can specify map type by "mapTypeId: google.maps.MapTypeId.ROADMAP" but there's no map type to show country borders only.
Any suggestions?
Thanks.
Mat.
...
From my understanding Sizzle returns an array of objects (DOMElements), I am trying to walk that array of objects in a for loop but I am getting errors. When I try to get a property with the
obj[index-number]["property"]
it works fine, but when I try to access it after passing it to another function
obj[index-number][arguments[index-...
I also need to convert my answer into javascript code that displays the largest value.
...
Is there any mechanism in yii framework to translate messages in javascript source files.
For example with:
yiic message config-message.php
I can generate translation .php files for all Yii::t().
Is it possible to generate .js files with the same mechanism. Currently I'm including to my javascript json data with table returned by tr...
Hi there,
I'm currently using JCarousel to highlight "featured posts" in Wordpress. The carousel displays above the fold, as part of our header. It works well once it loads, but since we're using it above the fold on a large page with many elements, it has to wait for our entire page to load before it will initiate and display our featu...
Does the jquery-ui-1.8.2.custom.min.js file included with the themes you download from jqueryui.com differ from theme to theme, or is it the same?
Edit:
I'm trying out different themes to see which one looks best for the site. I have the following folders:
/jquery/js/jquery-1.4.2.min.js
/jquery/js/jquery-ui-1.8.2.custom.min.js
/jquer...