Hey.
I got a problem I cannot manage to resolve.
I have a Basecamp alike list of items with a small menu on the left with Drag, Edit and Trash icons.
The handle is there. He is sitting outside of the scope of the sortable element, and this is why he doesn't influence the sorting at all.
As you can see, my dragging icon is on the ...
Hi,
After using Meebo I noticed that they had a nice little system for continually getting information from the server. They have 1 single request running, and they continually monitor the response as it's "loading".
I was wondering if there was a way to do this with jQuery. If not, can someone give me some recommendations on where to ...
Hi all,
I'm using jQuery marquee and I'm trying to see how to add previous / next buttons, I've tried messing with the function "showNext" but not having any luck. The code I'm using is found here:
http://www.givainc.com/labs/marquee_jquery_plugin.htm
Example / demo:
http://www.givainc.com/labs/marquee_example.htm
Mention of adding...
How I Remove all Div contents but not the div using jquery?
the div contains many ULs, LIs, DIVs, H1s
<div id="container">
<ul>
<li>test</li>
<li>test</li>
</ul>
<div><h1>test</h1></div>
<div><h1>test</h1></div>
<div><h1>test</h1></div>
</div>
I would like to remove all the contents of container.
Thanks
...
I am looking for some native JavaScript, or jQuery plugin, that meets the following specification.
Sequentially moves over a set of images (ul/li)
Continuous movement, not paging
Appears infinite, seamlessly restarts at beginning
Ability to pause on hover
Requires no or minimal additional plugins
I realize this sounds simple enough. ...
I have this jquery functions below in external file. So after partial postback jquery is not working. I need to load jquery from server side on partial postback.
can someone show me what I need to call in this code and how to load jquery
jQuery(function ($) { var userAgent = navigator.userAgent.toLowerCase(); var browserVersion = (user...
I have a a png image of a home. whenever users place mouse on that image i have to display text "home" in some popup box and when mouseout the popup should be gone. Could anyone help me how to implement in javascript or there any functions in jquery for the required effect?
...
I am folowing this example to display tabbed infowindo for google maps:
combined with this
using a static div like this below worked withh no problems:
<div id="tabs" class="tabs" style="display:none;">
<ul >
<li><a href='#tabs-1'>First</a></li>
<li><a href='#tabs-2'>Second</a></li
><li><a href='#tab...
I'm somewhat new to Ajax/Jquery, so I apologize if this is an easy question, but I just couldn't figure it out.
I am using CakePHP and JQuery.
I want to save a link, label, and description into a table by pulling out the "innerHTML" from an HTML page. I can't seem to put the data in the expected format - that is the format that the c...
I'm trying to get a jQuery lightbox to load up when a page loads. I got half way there. The lightbox opens when the page loads but then proceeds to open the link in the same window as a full page. How do I get it to stop at this point before loading the link in a separate window.
jQuery:
$(document).ready(function(){
$("a.greybox").b...
Hi there. I have the following jquery that I wrote:
$(document).ready(function(){
$('div.contentTxtBox#home').addClass('current').show();
$('a.menu').click(function() {
$('div.contentTxtBox.current').hide("slide", { direction: "left" }, 700).removeClass('current');
$('div.contentTxtBox#' + this.id).show("slide", { dir...
I have a set of LI elements with overflow propety set to hidden by the
jCarouselLite plugin. What I would like to do
is to scroll the jCarouselLite'd element in order to scroll to the
LI element I want, since I have it configured to
show only 3 elements.
Looking at the html code generated by the plugin, I can see:
<ul ..>
<li ..s...
I am currently injecting an iframe and binding a keyevent both to the document and the iframe.
Can I select both the iFrame and the document in one row?
notice the iframe must have .contents() after the selector
// wait for iframe to load
$('iframe#iframe').load(function() {
// event bind to document
$(document).bind('keydown'...
I'm developing a web form that is SSL encrypted.
I have jquery.form.js local on the server.
Yet, the page renders with error "jquery undefined".
The error goes on to explain that it can't find jquery.form.js.
What does that mean? Can't I include that js file into a page that is SSL encrypted?
Thanks,
TheGetz
...
Say I have this:
<div id="controller">
<div id="first">1</div>
<div id="second>2</div>
</div>
but say I wanted to insert a new div arbitrarily based on an index I supply.
Say I gave the index to insert of 0, the result should be:
<div id="controller">
<div id="new">new</div>
<div id="first">1</div>
<div id="second">2</div>
...
I'm brand new to jQuery (and JS in general) and I know it is possible to use it to add a fade in effect to my navigation rollovers.
Right now I'm using a master background sprite for the nav, and on :hover I'm just adding a background-position rule to shift the sprite down for each item to get my hover effect.
But I'd like to use jQuer...
Hello all,
<div id="regWarnMsg">Hello world.
<span id="closeerrordiv"><a>×</a></span>
</div>
jQuery
$('#closeerrordiv').click(function() {
$(this).parent().animate({opacity: 0}, 'slow', function() {
$('#regWarnMsg').slideUp('slow');
});
});
$('#regWarnMsg').text(responseText.msg);
$('#regWarnM...
Hi,
I have this jQuery code, which uses the toggle() function on a checkbox input (via ID #rescheck), to reveal a hidden div on click/tick of the checkbox - it all works perfectly, except that the actualy "tick" or "check" does not appear in the box, on Chrome.
In Firefox its the opposite, the check or tick is always present from page ...
I've got a single, main nav bar in it's own file, nav_bar.shtml, which every other page includes. This menu bar is a jQuery menu bar (ApyCom is the name of the company that sells these nav bars). How an item on the nav bar determines if it's active or not (and thus highlighting it so the user knows) is through the class="current" on th...
I'm having some problems displaying error messages that are being passed from a php file through an ajax request.
The problem is when I receive less than 3 errors messages that are supposed to be displayed in an unordered list. I don't want to display any "undefined" variables - that's why I'm not adding them to the unordered list throu...