I have many DIV with the same class name, let save "wmplayer". I want to make sure that when these DIV get close to bottom of browser, let say 100px above the bottom, they will have display:none. How do I do that with jQuery? Thanks
...
Once all three loads are complete...
$("#sidebar a").live("click", function(e){
$(this).addClass("selected loading");
$("#conceptual").load(conceptualUrl, null, function(){ $(this).removeClass('loading').show("fast"); });
$("#development").load(developmentUrl, null, function(){ $(this).removeClass('loading').show("fast"); ...
is it possible to use jQuery %Json function to load a javascriptfile.js asynchronously?
...
I have a form setup so that when you check a checkbox, the relevant UL will expand showing more options based on the choice. It works, but only when the user clicks the label of the checkbox. If the checkbox is clicked, the UL expands as expected, but the box doesn't get checked.
Javascript:
jQuery(document).ready(function()
{
...
hi
html is
<table>
<tr>
<td><img src="ex.jpg" class="edit" name="n1"></td>
<td><img src="ex.jpg" class="edit" name="n2"></td>
<td><img src="ex.jpg" class="edit" name="n3"></td>
<td><img src="ex.jpg" class="edit" name="n4"></td>
</tr>
</table>
Jquery code is:
$(".edit").click(function() {
$(".edit").each(function(){
alert($(this...
Hello All,
I am new to JQuery AJAX . I want to implement a file upload using a jquery.
Will it be possible to make a fileupload with JQuery,AJAX and send it to Servlet which can use apache file commons to upload the file. Can anyone please advice me how to proceed further?
Thanks,
Deepthi.
...
Hello everybody,
I have a problem, that i seems not be able find my way around it.
The problem is, that I load images and some text trough ajax call, and then after some time i try to call ajax function again to get new set of images and text. However my problem is that images don't load in time (everything is fine with the text load) ...
Does anyone know if it is possible to have different positions for the dropdown UL's for superfish? I have a horizontal navigation bar, on the left side I would like the dropdowns to align to the left of the button, on the right side I would like them to align to the right of the button.
...
I'm using Greasemonkey and JQuerys #css method to add css styles to a page. Script so far:
// ==UserScript==
// @name www.al-anon.dk Remove inline scroll so that page content prints properly
// @namespace http://userscripts.org/users/103819
// @description remove scroll from al-anon pages
// @include http://al-a...
Hay all, i've wrote a simple fading gallery with jQuery. It basically loops though a set of images, fading from one to another. It works perfectly, as predicted, until it gets to the last image, it then doesn't fade from the last to the first, just to displays it.
here's my jQuery
$(document).ready(function(){
Zindex = 99999;
i = 0;
...
I've got a custom new item form which I'm using in SharePoint 2007. What I want to happen is that once the user has entered an asset id and they leave the field, an ajax query checks to see if that asset id is available.
I've used the following code successfully on a normal .NET web applicaiton, however when using the same code in Share...
I have a <div> setup as such:
#menu_one
{
height:50px;
width:150px;
background-color:#666666;
}
</style>
<div id="menu_one"></div>
What I want to do is have this <div> fade into a image that will be of the same size on mouse over then fade out when the mouse exits.
Would it be better to have a background image of the g...
Hi,
I am trying to do something really practical.
<table class="annplain" cellspacing="0" cellpadding="15" width="325">
<tbody>
<tr>
<td><p><strong><a href="#Title" class="Title">Title</a></strong><br />
<span class="annfrom">date<br />
</span>
<span cla...
Hi all,
I have two functions that pulling some of content from html and returning it in body.
$(document).ready(function() {
var b = [];
$('.avatar_ name').each(function(i,e) {
b[i] = $(this).text();
});
$('body').empty();
for (var i = 0, j = b.length; i < j; i++) {
$('body').append( b[i] + '<br>')...
Hi I was just wondering how I can change the code below to less lines of code, it contains a lot of repeated lines,
basically what it does it swaps images and make them zoom in,
any help would be appreciated,
// JavaScript Document
$(function() {
var fullWidth = 1500; // Width in pixels of full-sized image
var fullHeight = 2...
I'm completely puzzled, I make an ajax call inside a Jquery UI Tab, after that I want to refresh the content of the tab, the function that should be doing it is:
function reloadTab(){
var $tabs = $('#tabs').tabs();
var selected = $tabs.tabs('option', 'selected');
$tabs.tabs('load', selected);
return false;
}
Incredible but true it do...
I have Google admanager and Jquery and Jquery UI.
But it takes a long time to load the Jquery because Google Admanager.
I have about 30 banners in Google Admanager.
Anybody know how to get the Jquery load first?
Thanks
...
I am making a simple portfolio site and I would like to have a series of elements, <divs> I suppose bounce into view when their thumbnail buttons are clicked.
I want it to look something like this: http://plugins.jquery.com/project/Bounce
Where the item starts at a location with a negative left position to be hidden off screen and then...
I have seen a similar related post but my situation is a little different so I am posting a new question.
I am working on a site that was built by someone else. The navigation is an accordion style that works nicely but I need to be able to have the navigation remain open with the current active page highlighted. I am relatively new to ...
The Microsoft AJAX Library Preview 6 and jQuery provide several ways to make the sorts of calls I need:
Sys.Net.WebRequest (ASP.NET Ajax)
Sys.Net.WebServiceProxy (ASP.NET Ajax)
$.ajax (jQuery)
Sys.Net.WebRequest offers a way to specify the verb ("GET", "POST", "PUT", and "DELETE"), but no built-in callback for a failed request (they ...