I have 2 divs in fixed positions on my page, the idea being that their content scrolls when the page scrolls. However, when using Firefox, when there are lots of other DOM objects on the page, movement (especially vertical) is very jerky. Performance is fine in chrome and IE7/8. Code is shown below -
If anyone can point out ways this c...
Let's say i have this code
<p id="test">
some content
<p>
<a href="#" id="test-link">Open</a>
Now i want -using javascript/jquery- to create a popup window, the window content is the content of test paragraph, when test-link is clicked.
How could this be done?
...
hi,
i am working on a project, where the requirement is that i show thumb nails of images . this i have done. then the user must be able to select some images,whcih will be shown full size. its like compare of images . is there any jquery plugin for this?
...
I am using jQuery Lazy Load to load thumbnails on a page I have a list of about 100+ thumbnails per page. This plug-in works perfect, until I introduce the plug-in Quick Pagination to display nine thumbnails at a time and give users the next and previous.
When one clicks on the Next or Previous, you get the gray placeholder image as the...
How can I post data using ajax and display the posted data in a div on the same page without page refresh??
...
Hi,
I'm trying to use a JSON feed from our site, which unfortately is not formated correctly. I can clean up the feed via calling it first via the $.ajax call, but want to be able to pass this cleaned up content back to iterate over as if it was a JSON object.
$(document).ready(function()
{
// use ajax call as json supplied needs c...
I want to make a little gallery and add next/previous buttons. I managed to trim down the urls of the pictures to something like this : 30052010/30052010001 . So the picture is 30052010001.jpg and the next one is 30052010002.jpg .However how can i remove the first part of the string(the folder name) and the last digits from the end of th...
I have multiple forms on a page and i'm trying to use jQuery form.js to save each comment that is posted and then append the comment to the UL afterwards. The save part of it is working fine. However, I am having trouble getting the comment to update the UL correctly. See code below:
//My Form
<form method="post" action="includes/an...
Hello !
I don't 'speak' english well, pls forgive it to me.
I've a serious problem, soon I'm going to crazy... :-)
I got a job : There is a website, that is contains some ExtJ functions. I have to change these to JQuery functions.
I'm started to change dialogs. Under IE8 / IE7 it works fine, but under FF 3.5.10 it's not perfect.
The...
I'm receiving a comma delimited list of items from a database and placing them in a table cell, and I'd like to add alternating styles, so they are easily differentiated from one another.
ie,
foo, bar, mon, key, base, ball
such that the code looks something like this:
<td class="wide">foo, <span class="alt">bar</span>, mon, <span cl...
I am building a horizontal navigation that also has a horizontal submenu. Soh Tanaka has a nice tutorial on it, but the submenu does not display properly.
Here is the HTML:
<ul id="mainNav">
<li><a class="selected" href="#">Home</a></li>
<li>
<span>
<a href="#">Sub Item 1</a>
...
Hi, I'm trying create a box in my Django app that displays text (and possibly images) from the server as certain processes are completed server side. I was hoping to use a plugin that used Dajax / Jquery but I'm unable to find one. Is there a solution out there that is simple? Thanks.
...
Basically I have 3 drop down lists for security questions. I have java script setup that will spring an alert when the box is changed. I need to know how to add/remove or show/hide an option. like if the first box selected option 1....remove option one from the other 2 drop downs as possible selections.
...
Hi guys, I have a quick question, (I hope it is quick one).
I have fancybox plugin (jquery) -- http://fancybox.net/
$(".Sets a").fancybox({
'onComplete' : function(){
$('#fancybox-inner').prepend('<a href="#">'+ **clicked element rel** +'</a>')}
});
...
Hi guys. I have been given the task to apply regular expressions on a form validation which I have achieved (using jquery.validate.js). Now, I have to apply a type of regular expressions when the select tag is pointed to US and other type of regular expressions when is pointed to any other country. Any help will be fully appreciated. Tha...
OK, this should be super low hanging fruit.
I'm aware of .last() and yet for some reason my copy of jquery-min (version 1.4.2) is returning a .last is not a function() error when I call $('form#demo td').last() on the following markup:
<form id="demo">
<tr>
<td>1</td>
<td>2</td>
<td class="action">3</td>
</tr>
</form>
...
I have a jQuery Tools Modal Overlay on my website, and it works perfectly fine in both Chrome and Firefox... however, when I view the page in IE8, the black background mask appears on top of the dialog DIV... in addition, the div appears at the bottom of the page where the actual code is as opposed to centered on the screen.
In addition...
Hi guys,
I would like to make an Ajax request to the server, which replies a job status and result. If the status is "Error" or "Ok", the client should show the result (containing HTML code) to the user. However, if the status is "Waiting", the client should wait for a few seconds and then automatically send the same Ajax request again....
Hi:
I like to add a button (which is supported by default) and link jQuery UI dialog. How to add a link in jQuery UI dialog? In my case I like to have Save button and a Cancel link. Thanks in advance.
...
I am loading images externally using jQuery load function.. but not able add light box..
am very new to jquery.
var href = $('#images').attr('href');
$('#images').click(function(){
var toLoad = $(this).attr('href')+' #content';
$('#content').hide('fast',loadContent);
$('#load').remove();
$('#wrapper').append('...