Hi,
I have a simple 3 column site - left, center and right. The center column is where the main text content goes and is generally much longer than the left or right content.
before I write one, is there a JQuery plugin to keep my left and right column content in view when the user scrolls the window? i.e. they stick to 10px below th...
Trying to use JQuery to scroll through a ul li list using class next and class prev e.g.
<ul class="selectoption">
<li> Item 1</li>
<li> Item 2</li>
<li> Item 3</li>
<li> etc ....
</ul>
<a href="" class="next">Next</a>
<a href="" class="prev">Back</a>
Only thing is I only want the selected li to be visable. So somehow need to...
I am executing the following jquery ajax call to an asp.net mvc controller which works, however on the firebug console it seems it is getting executed three times. The first two times it returns 401 Unauthorized and the final time it return 200 Ok. Could anyone shed some light on what is happening when I make this request and how I could...
Hi all, using firebug on a site and I noticed this json post request:
POST /xxxx/yyy
Host test.it
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,application/json
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
...
Hi all,
I am using jQuery accordion plugin for my application. Is there a way to open sections at the same time(after page has loaded) so that contents of all pages are shown at the same time. If it is not possible please give me a link where I can achieve similar to that functionality.
Thanks.
I am a newbie to jQuery.
...
I have a load of nested <ul>'s and <li>'s and I would like to be able to have a hover / selected class on an <li>, and use the keyboard up and down buttons to select up and down on the <li>s.. however they are nested and need to jump across <ul>s if necessary.
For instance:
<ul>
<li class='cat'>
cat 1
<ul>
...
How can I animate the opening/closing of table columns in jQuery?
I currently have this piece of code:
jQuery(function($){
$(".togglebutton").click(function(e){
if (cost_visible) {
$(".numbers").animate({width: 80}, 1500);
$(".costs").animate({width: 0}, 1500);
} else {
$(".numbe...
Sorry folks, still being thick on JQuery. Had great help creating a selectable ul li list like this
$(document).ready(function(){
$('.selectoption li').not(':first').hide();
$('.prev, .next').click(function() {
// Determine the direction
var dir = $(this).hasClass('prev') ? 'prev' : 'next';
// Get the ...
i noticed that there is always a min version (stands for mini?) to most of the js libraries eg jquery.
what is the difference? less functions but smaller size?
is this someone should consider to use? (there are a lot of min versions out there)
...
I have binded jQuery hover to many elements on my page, and when I move mouse rapidly, hove will not catch all events that should be fired. Is there any workaround for this "feature"?
...
I'm trying to read a querystring parameter ("ssip") via jQuery and the query plugin, but it seems to return null instead of the actual value.
Here's is my code:
<script src="jquery-1.3.2.min.js" language="javascript"></script>
<script src="jquery.query-2.7.1.js" language="javascript"></script>
<script language="JavaScript" type="text/...
Hi,
I just found an interesting demo of what can be done with the cappuccino framework;
Push with Cappuccino and Tornado
As far as I understands it, It keeps an async client/server connection, which is great to keep a "content" updated.
I would like to know if there is any way I can do the same thing using JQuery or another library. ...
I am coming up dry with my searches all morning for a starting place with this. I will throw out a very rough example of what I am looking to do.
I want a div populated with cumulative id elements from previously visited pages within the site. Think recently viewed products @amazon for instance.
So I want to grab 2 elements for each pr...
How can i rotate an image with some associated text in jquery?
...
I'm sitting with a problem, I need to check with JQuery if no radio button within a radio button group has been checked, so that I can give the users an javascript error if they forgot to check a option.
I'm using the following code to get the values
var radio_button_val = $("input[name='html_elements']:checked").val();
...
The new jQuery v1.4 says this...
jQuery.ajax() is now using
onreadystatechange instead of a timer
Ajax requests should now take fewer resources by using
onreadystatechange instead of polling.
I am not sure exactly what this means but on my site (social network like facebook, myspace) I have notifications that user's get, it makes A...
I have two jQuery plugins that use the same function name (bind), can i somehow use those two plugins together?
...
Why am I getting too much recursion on a jQuery plugin this.each iteration?
(function($) {
$.fn.selectableList = function(options) {
return this.each(function() {
var $this = $(this);
$this.elem = $this.children('li').click(onClick);
});
function onClick() {
//do something
}
}
})(jQuery);
...
I've been working with the JTemplates plugin which I've used to create a form that is bound to a json object via a template. Works perfectly. What I would like to do though is instead of submitting the form I'd like to re-serialize it back into the json object from which it originated and pass it back to the controller method as a json...
Possible Duplicates:
How to obtain anchor part of URL after # in php
Is it possible to access anchors in a querystring via PHP?
i need to find a way to do this, facebook does it so it has to be possible....
If a user goes to this URL in the browser
http://localhost/index.php?photos=p#12345
Then I can have my PHP load a pho...