Hi
I have a requirement for a multiple series line graph.
I am looking at pure javascript solutions and feel flot looks like a good option.
However the points along the line may not be continuous but I want the line to be joined.
ie
y [Jan Feb Mar Apr May Jun]
Series 1 [4 4 5 6 7]
Series 2 [5 6 7 8 9 ...
How can I add tag aroud with link to that image with JQuery?
...
Hi,
I have a number of nested lists and some jQuery that shows hides them when a parent header is clicked.
IT works fine but the behaviour is slightly wrong. If a nested list is visible and the parent header is clicked i would like that nested list to be hidden. At the moment it does this but then shows the nested list directly after...
I am trying to pull the following script out of the main script so that I can use html conditionals to retrict
Trouble is, it loads, but has the effect of not lowering the hover menus. the script is supposed to control the hover menus.
here it is working (as part of a larger script)
jQuery(document).ready(function($) {
var menu_...
I'm using jQuery's autocomplete. I'd like to draw the map based on the
result that is selected from the autocomplete. I have the
lat/long to use captured in variable "latlong"
autocomplete code: http://pastebin.com/YTNnDS51
google map code:
var map = new GMap2($("#map").get(0));
var burnsvilleMN = new GLatLng(latlong);
map.setCe...
Hello,
Looks like I haven’t explained myself well. I do apologize for that.
I have edited this question to make it more clear.
The scenario
We have a website that doesn’t host the images. What it does is a reference to an image in other server.
The plan
Resize images keeping proportions.
Center resized images.
Flexible so it c...
I'm new to this whole thing, and am making a web app that relies heavily on dynamically loaded html pages into a div on the main page.
The main page links to various js files including jquery and some of my own.
As well as this, each of the loaded html files links to its own js file to control user interaction. And some of them also ...
Hi,
I have some html code as follows:
<div id="wrapper">
<div id="items">
<div class="item">Item 1</div>
<div class="item">Item 2</div>
<div class="item">Item 3</div>
<div class="item">Item 4</div>
<div class="item">Item 5</div>
</div>
</div>
and css as such:
#wrapper {
overflow:hidden;
width:500px;
hei...
Hi,
Currently the autocomplete action when pressing the enter key on a selected element is to put that elements value into the input box.
How can I modify the behavior so that pressing the enter key on an element triggers that elements embedded url. To simplify I'd like to make the enter key have the same behavior as a mouse click on a...
I'm using jQuery with jsdom in my node.js app.
Moreover, I want to use jQuery plugins(e.g. jQuery.diff), but I cannot find how to do this.
Is there any way out?
...
I've got a DIV that shows on a hover event, and hides on a hover event on the #main div, but I can't help but feel like I've not done it correctly - more like a hacked together version ..
Can someone take a look and provide options for a more efficient way of doing it?
The jQuery
$(".sign_in").hover(function() {
$("#sign_box")....
Hi all, I have successfully loaded the xml and everything works fine if the success function runs right after loading the XML. But I wanted to get the value of the attribute after the onChange event takes place on the select box (which changes tmpproj value).
When I try to access the success function checkimgs() it says $(xml) is not de...
I have a global size and height set
CKEDITOR.editorConfig = function( config )
{
config.height = '400px';
config.width = '600px';
...
And I would like to change this height and width for only one instance of the editor on a seperate page. Has anyone else accomplished this?
...
Hey,
I have recently been updating a site so that it looks nearly as good in IE8 as it does in Chrome. I have managed to get the corners applied correctly, but if you take a look at http://clarkeyboy.zxq.net/test_longcatalogueitems.htm you will notice that the catalogue rows appear as expected in IE8 but not in Chrome. In Chrome they ap...
I'm working on a page where I need a way for when the user mouses over an image, it grays out and a shows a gear icon over that image. If there's no way for the image to gray out, then is there a way just to overlay the gear icon on the top-right corner of the image?
...
I am new to javascript/jquery so this is a noob question :)
I am trying to get stuff into table with jquery. The stuff/data is in attributes and array and I would need to go trough that array to get that stuff.
In this I put some content into a array:
$(Stuff).find("desc").each(function(index) {
stuffArray[index]=$(this).text();
});
...
I want to post to an external php file and get the result. It a php that i have hosted in my server online. I want the static page in my localhost post by ajax and load the html in a div. But I'm not able to do this.
$.post("http://www.site.com/index.php", { font: "panchami", input: "hi" } );
Is there anything wrong in this?
...
Hi,I've searched so much about HTML5 video control and I'm stuck at controlling video with javascript.There is a rule in application you should know.
There will not be any user interaction with browser at any time.
What I'm trying to achieve is
1) Open video as fullscreen and play video
2) When video is ended,close video and video wil...
I have the following function:
var $content = $("#content");
var $map= $("#map");
$.each(plots, function() {
var plot = this;
var $plot = $("<a />")
.css({
'width': plot.width,
'height': plot.height,
'top': plot.top,
'left': plot.left,
'background': plot.color,
})
.hover(functio...
I am building a web application that is supposed to make it easier for users to generate correct XML for a given utility.
As a simple test, I created a textarea that contains the generated XML. I then created a button (<input type="button">) with a jQuery handler that will send the contents of the text area to my PHP application, which...