[jQuery] Quick question on image loading

2009-10-05 Thread Erock
My question is, if I have one image as the background of a div, and I set the background of that div to another image, will html load the new image before replacing the old one or replace the old image with something ugly (say just plain white) and then load it. The reason I'm asking is, because

[jQuery] Quick question, basic stuff

2009-08-26 Thread Bart
Hi all, In a HTML document I'm having a few divs with the same class. In each of this divs is nested an unordered list with inside the list items some anchors. I'm trying to find a certain jquery expression which says I want link#3 from div#2. I've tried; $("div.pic:eq(1) ul li a:eq(2)").hide();

[jQuery] Quick question about www.wow-heroes.com

2009-07-23 Thread fermineutron
Hi, First let me say I know very little about js, I have coded in PHP and HTML before. I am trying to link to search results on www.wow-heroes.com but I seem to fail to understand the websites coding schema and create the direct link to search results. The normal process is: 1) open www.wow-heroes

[jQuery] quick question about loading in form elements using load()

2009-04-29 Thread sneaks
Hi, hope everyone is well... my problem is simple, i am using load() to add an external file form contents to the dom. normally i have a listener for form elements such as inputs and textareas in my $(function() { }) that adds a class to inputs on focus and removes it on blur... but it doesnt

[jQuery] Quick Question - Multi Page Form Plugin...

2009-03-02 Thread Ena
Is there one for jQuery? I would like the end user to be able to check their text entry before submitting the form... I looked on the jQuery site for this with no luck Can anyone help? Thanks :)

[jQuery] Quick Question about the ui.datepicker

2009-02-02 Thread robg
Hi there's a couple of things that id like to ask. Here is my code: $(function() { $('#deliverydate').datepicker({ minDate: +1, maxDate: '+1Y', changeMonth:

[jQuery] Quick question

2008-07-10 Thread Overshee
I want an id on a page I'm developing to get bigger if a certain condition is met, however, I can't get the code to work... can anybody fix this up for me? $(document).ready(function(){ if(document.body.offsetWidth > 1024 ){ $("#wrapper").css(function() { $(this).animate ({width: "1024px"}, 1000)

[jQuery] Quick question about dimensions

2008-06-18 Thread eric
I've recently been exploring the jquery library and I apologize if this is a silly question. But could someone post a simple example of using the dimension library to position a div directly below a link. I have tried something like this: $("#insertLink").click(function(){

[jQuery] Quick Question... (got a meeting in 30 minutes)

2007-12-06 Thread Rick Faircloth
What jQuery plug-in(s) can provide a full-screen or almost full-window of a large, panorama image that is larger than the view port? I've searched around but don't have time to figure out the answer before my client meeting. It's for "virtual tours" of homes of panoramic photos. Dimensions could

[jQuery] quick question, selecting dynamic elements

2007-11-29 Thread Josh V
on click i am storing the ID of an the i clicked. i am then replacing characters in that string to get the desired resulting string. i am then trying to toggle a div whos ID is the resulting string. heres what i got. $("ul#specialsNav li a").click( function(){ var whi

[jQuery] Quick question...

2007-08-15 Thread MikeR
We all know & love jQuery, but something that I've been wondering for a while now... not sure if it's feasible or not, but I'll ask anyway =). Is there any sort of HTML parser for PHP that's similar to jQuery's selectors? ie: $('div.class').html().. but a PHP version? Thanks!

[jQuery] Quick question about jQuery & getElementsByName

2007-06-28 Thread Yansky
How would I use the document.getElementsByName() selector method in jQuery?

[jQuery] Quick question...

2007-06-26 Thread Trav Johnston
Hi, I need to find the height of a div "after" the ajax response has been dumped into it. $('#target').html(msg); var current_height = $('#target').height(); This doesn't work. I would like to use. $('#target').html(msg,function(){ var current_height = $('#target').height(); }); Bu

[jQuery] Quick question about the ".each()" function

2007-04-05 Thread Yansky
Hi, I'm trying to get the text from an array of elements and return it as an array. I've used the following code, which seems to work fine: var theData = $('.wordbreakfield'); $.map(theData, function(i){ return i.childNodes[0].nodeValue; }); My question is, why can't I just do the following?