Hi there!
Is there any chance to use animate() to animate a background-image and/
or classnames?
$("#block").animate({
backgroundImage: 'url(bla.gif)'
}, 1500 );
Doesn't seem to work. :(
Let's say I have an element with a red background and the class 'red',
I want to remove the class 're
I just grabbed http://jquery.com/src/jquery-latest.js and the header
of the file says:
/*
* jQuery 1.2 - New Wave Javascript
*
* Copyright (c) 2007 John Resig (jquery.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* $Date: 2007-09-10 15:45:49
d. :(
On Aug 27, 3:39 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> MrNase wrote:
> >> $('#myTextarea').attr('val').indexOf('hello') != -1
>
> >> --Klaus
>
> > $('#myTextarea').val().indexOf('hello') != -1
&
> $('#myTextarea').attr('val').indexOf('hello') != -1
>
> --Klaus
$('#myTextarea').val().indexOf('hello') != -1
works. Thanks! :)
Now, when I extend my code it doesn't work anymore.
if ($('#myTextarea').val().indexOf('hello') != -1) {
I am currently at war with the contains function. :-(
Here's my snippet which doesn't work.
$('#myTextarea').bind("keyup", function(){
if
($('#myTextarea').attr('val').contains('hello')) {
log.empty()
Hello!
I have one very annoying problem.
First of all, I have a list of items. Each items contains information
that I want to display on the webpage using several functions.
Here's an example:
function getNumbers() {
var numberofentries = $('#kilometer-data li').size();
}
Everything works whe
I even tried
$("#inputthreadtitle").bind("blur", function(){
//
});
but that also doesn't work. :-(
I am using this code:
$(document).ready(function() {
$('#inputthreadtitle').blur(function() {
var value = this.value;
$('td#similarthreadcheckcontent').html('');
$.get("ajax.php",
{ do: 'ge
It's not a jQuery problem. Try using
a {
outline: 0;
}
in your CSS file. :)
Thanks Erik, it works great! :)
> $('div.commentfooter > span').filter(function() { return $(this).html() ==
> 'test'; }).append('class');
---dominik
I have some layers, each of this layers has a span tag with a
username. Now, I want to append some code to each layer that has a
span which contains 'test'.
The code I tried is:
$("div.commentfooter[span:contains('test')]").append('class');
But that also appends 'class' to layers that have a s
As I see now, the problem still exists.
jQuery doesn't know what to do with ->
var userlanguage = ${config.userlanguage};
I would need to tell jQuery that ${config.userlanguage} has nothing to
do with jQuery. :-(
---dominik
On 30 Mai, 23:08, MrNase <[EMAIL PROTECTED]> wro
> var $j = jQuery;
wow thank you!
---dominik
I just released a Farbtastic Widget on Widgetbox.com
During the creation of the Widget, the website allows you to specify
parameters. They all look like:
var userlanguage = ${config.userlanguage};
Here is the problem: Because of the $, jQuery doesn't work anymore.
Is there a way to fix it? Th
Klaus, thanks for your reply. :-)
I don't get it to work so I'll write my own small plugin. :-(
---dominik
I am playing around with jquery.tabs but I am having a major problem.
>From the examples I see that it needs a code like this to work:
One
Two
Tabs are flexible
again
1
2
3
I have a list with numerous list items and 'onclick' I want to have
one randomly selected item.
How can I do this the jQuery way?
dominik
What a nightmare! I can't believe they kicked you out with no time
left to savely move the website to another host. :-(
I hope you get the problems sorted out fast. :-)
What happened to jquery.com?
19 matches
Mail list logo