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
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();
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
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
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 :)
Hi there's a couple of things that id like to ask.
Here is my code:
$(function()
{
$('#deliverydate').datepicker({
minDate: +1,
maxDate: '+1Y',
changeMonth:
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)
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(){
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
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
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!
How would I use the document.getElementsByName() selector method in
jQuery?
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
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?
14 matches
Mail list logo