[jQuery] animate() for background-image and/or classnames?

2008-05-14 Thread MrNase
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

[jQuery] 1.2 out?

2007-09-10 Thread MrNase
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

[jQuery] Re: textareas and contains()

2007-08-27 Thread MrNase
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 &

[jQuery] Re: textareas and contains()

2007-08-27 Thread MrNase
> $('#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) {

[jQuery] textareas and contains()

2007-08-23 Thread MrNase
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()

[jQuery] functions not working on ajax generated content

2007-08-19 Thread MrNase
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

[jQuery] Re: blur( fn ) doesn't work in Opera?

2007-07-09 Thread MrNase
I even tried $("#inputthreadtitle").bind("blur", function(){ // }); but that also doesn't work. :-(

[jQuery] blur( fn ) doesn't work in Opera?

2007-07-08 Thread MrNase
I am using this code: $(document).ready(function() { $('#inputthreadtitle').blur(function() { var value = this.value; $('td#similarthreadcheckcontent').html(''); $.get("ajax.php", { do: 'ge

[jQuery] Re: blur() problem

2007-07-08 Thread MrNase
It's not a jQuery problem. Try using a { outline: 0; } in your CSS file. :)

[jQuery] Re: :contains - a bit more specific?

2007-06-12 Thread MrNase
Thanks Erik, it works great! :) > $('div.commentfooter > span').filter(function() { return $(this).html() == > 'test'; }).append('class'); ---dominik

[jQuery] :contains - a bit more specific?

2007-06-11 Thread MrNase
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

[jQuery] Re: Widgetbox variables, problems with $()

2007-05-30 Thread MrNase
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

[jQuery] Re: Widgetbox variables, problems with $()

2007-05-30 Thread MrNase
> var $j = jQuery; wow thank you! ---dominik

[jQuery] Widgetbox variables, problems with $()

2007-05-30 Thread MrNase
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

[jQuery] Re: jquery.tabs - is it possible?

2007-05-25 Thread MrNase
Klaus, thanks for your reply. :-) I don't get it to work so I'll write my own small plugin. :-( ---dominik

[jQuery] jquery.tabs - is it possible?

2007-05-25 Thread MrNase
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

[jQuery] random list item

2007-05-20 Thread MrNase
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

[jQuery] Re: jquery.com - hacked?

2007-05-06 Thread MrNase
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. :-)

[jQuery] jquery.com - hacked?

2007-05-06 Thread MrNase
What happened to jquery.com?