Karl Swedberg schrieb:
$('body').animate({scrollTop:0}, 'slow');
$('html').animate({scrollTop:0}, 'slow');
$('html, body').animate({scrollTop:0}, 'slow');
Puh, I think I have all this try, and then I works with the height :)
Now works with the last one, thanks...
--
Viele Grüße, Olaf
Hi
I am trying to use blockUI to block a select/dropdown list named
'srv_voice' when an AJAX request is being processed.
Code is simply
$('select[name=srv_voice]').block();
I have used
$().ajaxStart($.blockUI).ajaxStop($.unblockUI);
to block the whole page so that part of the plugin works.
I like to set my own attributes, like that
a id=item1 href=javascript:; a=1 b=2click here/a
div id=result/div
$(document).ready(function() {
$('#item1').click(function() {
$('#result').load('process.php', {a: $(this).attr('a'), b:
$(this).attr('b') });
return false;
});
});
hugs
Nope, nothing wrong in what you are doing.
Just make sure that trigger is called on the table and not the row.
Ex.
$(table).trigger(update);
/c
2007/12/3, Adam Kroll [EMAIL PROTECTED]:
I'm having problems with tablesorter 2.0.1 and removing rows. I'm
allowing users to remove rows, and
Hi Tom,
That won't work with the current implementation of blockUI. If you had a
div or span around the select box then you could block that element.
Mike
On Dec 4, 2007 6:07 AM, Tom [EMAIL PROTECTED] wrote:
Hi
I am trying to use blockUI to block a select/dropdown list named
'srv_voice'
Hi Mike
I figured as much from messing about with it but thanks for the
confirmation and the heads up re 'span'. It had slipped my mind and
will fit my needs more nicely than 'div'.
Thanks
Tom
On Dec 4, 1:09 pm, Mike Alsup [EMAIL PROTECTED] wrote:
Hi Tom,
That won't work with the current
Thanks for the link Jörn, but I solved my problem... let me explain
again what the problem was: after loading new ajax content I had to
run the script in this newly loaded content, but instead of
duplicating the code and put as the FAQ suggested I wanted to run ALL
THE SCRIPT again, so I thought
Yes Klaus,
The code is ok, but the cookie isn´t deleting, and I don´t know why?
I have tried in FF and IE 6
Regards
On Dec 4, 8:16 am, Klaus Hartl [EMAIL PROTECTED] wrote:
On 4 Dez., 00:34, Wizzud [EMAIL PROTECTED] wrote:
Try setting expires to a negative number to delete the cookie.
If
Dear reader,
I would like to know if there is a solution for the following:
Suppose I have within one website 15 plugin's I used. However, not
each page uses all 15 of them, on average let's say each page uses 2
or 3 plugin's only. It would be wonderful if jquery determined which
plugins it
Hi,
I am sure this is a pretty basic question but I have the following
problem.
When I try to load content into a div container with AJAX, the content
just loads for a split second and disappears or unloads itself again.
It seems that the click event only works when the actual click is
hello... please help me... :)
thx u..
2007/12/4, Linspirell [EMAIL PROTECTED]:
Hello everyone :) i'am a newcomer here :)
i have a problem with using JQuery and frameready plugin.
i need to modify dom elemen especially the css. i have a iframe in my
main document.
this is my javascript
I've written a jQuery app that will draw a chess board and let you
play chess currently requires two players on the same computer. will
be updating it to use a server via AJAX to allow you to challenge
friends to a game online.
Current games available {standard chess:8x8, Omega chess:10x10
Hi!
I've just released Flot 0.1, a brand-new plot plugin for jQuery which
focuses on simple usage, attractive looks and interactive features
like zooming. It's like plotr and Plotkit, but hopefully a bit more
intelligent when it comes to auto-adjusting axes.
The project page is here:
Beautiful stuff. Nice work! I'll be using this for sure.
- Richard
On Dec 4, 2007 7:04 AM, Ole Laursen [EMAIL PROTECTED] wrote:
Hi!
I've just released Flot 0.1, a brand-new plot plugin for jQuery which
focuses on simple usage, attractive looks and interactive features
like zooming. It's
Wow, looks nice. Great work.
On Dec 4, 2007 11:48 AM, Richard D. Worth [EMAIL PROTECTED] wrote:
Beautiful stuff. Nice work! I'll be using this for sure.
- Richard
On Dec 4, 2007 7:04 AM, Ole Laursen [EMAIL PROTECTED] wrote:
Hi!
I've just released Flot 0.1, a brand-new plot plugin
This FAQ topic should help:
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F
Also, for cloning elements using jQuery 1.2, you can use .clone(true)
to copy the events along with the elements. See:
On 4 Dez., 14:01, Leandro Vieira Pinho [EMAIL PROTECTED]
wrote:
Yes Klaus,
The code is ok, but the cookie isn´t deleting, and I don´t know why?
I don't know either. Works for me. Maybe something is wrong with the
cookie name. Or some JavaScript error on the page. I can only guess...
--Klaus
On Dec 4, 2007, at 12:23 AM, Christoph Roeder wrote:
Thanks, I think this is much better.
Chris
On Dec 3, 3:03 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
Does that help clarify it? If not, feel free to edit it directly in
the wiki or reply to this with a suggestion for revision.
Just off the top of my head.
1) I'd like to see some sort of background color for the labels in the top
right. The text overlaps the lines and make it a little tough to read. At
least an option for it.
That's really it. This is QUITE impressive and I can easily see uses for
this.
Thanks for
Swt and useful . I like it so much.
2007/12/4, Ole Laursen [EMAIL PROTECTED]:
Hi!
I've just released Flot 0.1, a brand-new plot plugin for jQuery which
focuses on simple usage, attractive looks and interactive features
like zooming. It's like plotr and Plotkit, but hopefully a bit more
I would love to see this app. :)
Rey
aldur wrote:
I've written a jQuery app that will draw a chess board and let you
play chess currently requires two players on the same computer. will
be updating it to use a server via AJAX to allow you to challenge
friends to a game online.
Current games
AWESOME work, congratulations and thanks for sharing.
On Dec 4, 9:04 am, Ole Laursen [EMAIL PROTECTED] wrote:
Hi!
I've just released Flot 0.1, a brand-new plot plugin for jQuery which
focuses on simple usage, attractive looks and interactive features
like zooming. It's like plotr and
Hi,
I have a html which has css elements like:
style type=text/css
label {margin-bottom:10px;}
input {margin-bottom:10px;}
/style
when this page is popup up with thickbox, it works except the css does
not apply to the related elements, if I display the page without
thickbox,
Figured my problem out. I placed in the wrong place in my code.
Happy to say it works perfectly when I put it where it's supposed to
go.
OK, I tried $(#utmtrans).val($(#utmtrans).val() + 'test');
Here's the HTML before this gets called:
form style=display:none; name=utmform
textarea id=utmtrans name=utmtrans
/textarea
/form
And here's what I see when I view generated source with
Hi guys,
Not sure if I'm just being fussy, but I'm running jQuery on an
intranet site, and pages normally load almost instantly, even taking
to account my own shoddy Javascript.
Whilst using jQuery, it takes sometimes up to two seconds to load a
page and I'm not sure why. Could it be because
I am using JQuery and JQuery UI. I'm using tabs from the UI part.
I'm trying to build a form dynamically adding and removing input
elements on the fly. I would expect someone else has tried this
before, and that there is an existing implementation somewhere that
works.
Here is a page with my
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
// regular toggle with speed of 'default'
$('#toggle_atRisk').click(function(){
$('#atRisk').toggle('default');
'default' is not a valid speed?
Speed: A string representing one of the
still got some work to do rewrote most of it today at lunch time Omega
chess is a bugger to code. also teh code to checking a Checkmate has
happened has cancelled the ability to add + on the notation for check
for some reason.
does anyone kow how to go about gettnig acces to upload this to the
JQuery repository
On Dec 4, 3:11 pm, Andy Matthews [EMAIL PROTECTED] wrote:
Just off the top of my head.
1) I'd like to see some sort of background color for the labels in the top
right. The text overlaps the lines and make it a little tough to read. At
least an option for it.
One of the loose ends. I've
I figured it had to be possible some way. Thank you for pointing me in
the right direction.
On Dec 4, 7:55 am, Karl Swedberg [EMAIL PROTECTED] wrote:
This FAQ topic should help:
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_st...
Also, for cloning elements using jQuery
Hi, I'm using php and ajax calls to save content of a form and I'm
wondering if there is a secure way to save a form also on the unload
of the page.
From a book that I have:
the event fires before the document goes away, don't burden the event
handler with
time-consuming tasks, such as
The function assigned to init plus the reference to a variable defined
outside of it ('me') is called a closure. You'll see people use 'self
= this' or '$this = $(this)' for this purpose frequently.
Thanks Danny,
Great explanation.
--dave
Using val() won't change the generated source. It only changes the
current value in the input element. For example, if you type a letter
in the textarea it doesn't change the generated html even though the
textarea value has changed. So since your form is hidden maybe it is
changing and you
Ole,
This is absolutely brilliant stuff here. Wow! I can't tell you how
much I love this. At jQueryCamp07, John Resig and Bradley Sepos did a
presentation on canvas, and I was blown away by the possibilities.
This plugin confirms my blown-away-edness. :-)
Any plans for a pie chart type
Hi all,
i try to debug a bad behavior in IE (6+7), i found:
This Plugin works not when the CSS definition is global set on a
ContextSelector.
My engl. is to bad to wirte it better, i have setup a Demo of the problem.
http://olaf-bosch.de/bugs/jquery/corner/
Please look at this and you see was
$('p span'): 863ms
$('p').find('span'): 3050ms
Wow, that's a big difference.
Thanks Eric for running this test and thanks Gordon for pointing me to
the Firebug profiler
cheers
--dave
On Dec 4, 7:11 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
This is absolutely brilliant stuff here. Wow! I can't tell you how
much I love this. At jQueryCamp07, John Resig and Bradley Sepos did a
presentation on canvas, and I was blown away by the possibilities.
This plugin confirms my
Is there any way to match attributes that are an empty string using
attribute filters?
For instance, I might have a lot of anchor tags in a file with an href
of . How might I write a selector -- ie $([EMAIL PROTECTED]'null']) -- that
would match this? Unfortunately removing the null -- $
([EMAIL
Our projects will could be more desktop now =D
Thanks a lot!
On Dec 4, 2007 10:04 AM, Ole Laursen [EMAIL PROTECTED] wrote:
Hi!
I've just released Flot 0.1, a brand-new plot plugin for jQuery which
focuses on simple usage, attractive looks and interactive features
like zooming. It's like
Hi,
i was looking how to truncate a simple textstring (no tags), ie. This
string is too long to This string with a simple call var newString
= $(xyz).truncate(minlength, maxlength, atlength, array(., ,, -,
(, ), ...);
which will cut the string at the position a char from array exists
between
I like the idea of plugin chart components. Have 2 or 3 built in types, then
release additional modules as requested.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ole Laursen
Sent: Tuesday, December 04, 2007 12:22 PM
To: jQuery (English)
I just tried this in Firebug, and it worked fine, updating the text in
the textarea:
var tVal = $('textarea').val();
$('textarea').val(tVal + ' it works!');
You'll most likely want to use a selector that is more specific than $
('textarea'), and in your script you'll have to wrap a
JennHi schrieb:
Is there any way to match attributes that are an empty string using
attribute filters?
This works for me:
$(a[href='']).text(was empty);
match:
a href=hier/a
--
Viele Grüße, Olaf
---
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
PaulM schrieb:
I would like to create a popup that would come out after visiting my
site for the first time.
How can I do this with jquery?
Creating a popup doesn't require jQuery, all you need is window.open:
http://w3schools.com/htmldom/met_win_open.asp
You don't even need to wait for
Ole Laursen schrieb:
Hi!
I've just released Flot 0.1, a brand-new plot plugin for jQuery which
focuses on simple usage, attractive looks and interactive features
like zooming. It's like plotr and Plotkit, but hopefully a bit more
intelligent when it comes to auto-adjusting axes.
I love the
This is my first post so I really should thank everyone for a
fanatastic library.
However, I think I have found a bug...
Using jQuery 1.2.1, if I have:
$.ajax({
type: POST,
url: test.html,
dataType: json,
data: {query: queryString},
});
When queryString starts with a ? it will get
Hey Jörn,
He is using excanvas as far as I can see. Tried it in IE6, and it
looked great. He also accounts for it in the plugin:
if (jQuery.browser.msie) // excanvas hack
canvas = window.G_vmlCanvasManager.initElement(canvas)
--Karl
_
Karl
? is a reserved character in URLs (it separates the domain from the GET
parameters) and must be encoded if it's data.
http://www.blooberry.com/indexdot/html/topics/urlencoding.htm
Scott
On Dec 4, 2007 2:00 PM, Ben Bennett [EMAIL PROTECTED] wrote:
This is my first post so I really should
I might be talking out my butt, but maybe create a div inside the one with
the click handler and load into that.
Then the click event is preserved.
Also check out the Live JQuery plugin. It can add events to dynamically
loaded elements.
Glen
On Dec 4, 2007 3:26 AM, [EMAIL PROTECTED] [EMAIL
Hi all,
What i suppossed its right, the script cane not read the CSS correct.
The Script generate the CANVAS, with the Background from the outer
Container (or transparent)
Look at this Screen:
http://olaf-bosch.de/bugs/jquery/corner/screen.jpg
I have in IE 7
canvas{
margin-top:-16px;
}
and
Thanks for thinking about this. However the items in the data object
are being escaped automatically for me (since I have not set the
processData option to false). So if I escape it, then it is double
escaped on the wire.
Note that if the ? does not appear at the start of the string then it
is
Hi,
Where can I find a list of demos and live samples that I could test
drive. I am looking for something similar to www.ajaxrain.com.
Best, Lawk Salih.
How about a link so we can see it??? :)
As for the repository, I *think* you just need to create an account on
jQuery.com
Shawn
aldur wrote:
does anyone kow how to go about gettnig acces to upload this to the
JQuery repository
Karl Swedberg schrieb:
Hey Jörn,
He is using excanvas as far as I can see. Tried it in IE6, and it
looked great. He also accounts for it in the plugin:
if (jQuery.browser.msie) // excanvas hack
canvas = window.G_vmlCanvasManager.initElement(canvas)
Interesting. I don't see
There are lots of examples in http://docs.jquery.com. Each method has an
example with source code.
Over time, I have made a bunch of quick pages that use jQuery to answer a
specific question: http://www.commadot.com/jquery.
The ajaxrain site is pretty good in it's own right.
This page is really
Shawn schrieb:
How about a link so we can see it??? :)
As for the repository, I *think* you just need to create an account on
jQuery.com
Nope - its now hosted on code.google.com, therefore you need to be a
member on that google-code project to commit.
Jörn
Hi,
were you able to use jtageditor with latest jquery? thnaks.
A.C.
On Nov 14, 2:58 am, Guy Fraser [EMAIL PROTECTED] wrote:
Karl Swedberg wrote:
Not sure what Brian's plans are for implementing different types of
tags, but if you need that functionality now, there is another
excellent
I just downloaded it and tried it locally with jQuery 1.2, and I
didn't see any problems.
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Dec 4, 2007, at 5:28 PM, [EMAIL PROTECTED] wrote:
Hi,
were you able to use jtageditor with latest jquery?
This would make a great page. Put two selectors in and see which one is
faster.
Glen
On Dec 4, 2007 10:29 AM, sawmac [EMAIL PROTECTED] wrote:
$('p span'): 863ms
$('p').find('span'): 3050ms
Wow, that's a big difference.
Thanks Eric for running this test and thanks Gordon for pointing
I'm trying to use InGrid (latest version 0.9.1) w/ jQuery v1.2.1 but I'm
running into a little trouble:
http://www.intoajax.com/ingrid/index.cfm
It's generating an error in FireBug and when I look at it, it looks like
it's trying to tell me that the number of table columns between the main
You could try...
$(':input',this).each(function(){
var me = $(this);
if(!me.is(':checkbox, :radio') || this.checked){
inputs.push(this.name + '=' + unescape(me.val()));
}
});
On Dec 4, 8:44 am, e2e [EMAIL PROTECTED] wrote:
Changing my function to this solved my problem:
I'm trying to change an elements class on mouse-over/out. The code below
seems to fire repeatedly when the mouse moves over the target, even when
the mouse is stationary, causing a slow (10/sec) flicker effect. What's
causing the flicker? I was expecting the over/out functions to fire once
In general, there are better ways of doing this.
One way is with a sprite. (Background or foreground)
http://learningtheworld.eu/2007/foreground-sprites/
Browsers are very fast at CSS, and not nearly as fast at replacing
graphics. Many browsers show a flicker.
If you use a sprite then it works
Glen Lipka wrote:
One way is with a sprite. (Background or foreground)
http://learningtheworld.eu/2007/foreground-sprites/
Actually I'm using sprites, that's why I'm switching from css :hover to
this :)
We've gone beyond the 'normal' approach of combining over/out images
into a single
Do you have a page that has the example?
Also, I use jQuery with sprites in multiple methods here. Some use a very
powerful matrix approach, which has really clean CSS.
http://www.commadot.com/jquery/sprites/
Glen
On Dec 4, 2007 5:02 PM, DaveG [EMAIL PROTECTED] wrote:
Glen Lipka wrote:
Glen Lipka wrote:
Do you have a page that has the example?
If you mean an example of the flickering problem, then I'll put one up.
Also, I use jQuery with sprites in multiple methods here. Some use a
very powerful matrix approach, which has really clean CSS.
We considered the matrix idea,
Do you have a page that has the example?
If you mean an example of the flickering problem, then I'll put one up.
Test: http://solidgone.com/jquery/hover-test.html
A slightly better working version:
jQuery(document).ready(function() {
jQuery([EMAIL PROTECTED]'sprite-hover-']).hover(
function(){
jQuery(this).addClass(
this.className.replace(/sprite-hover-(\w+)-off/gi, 'sprite-hover-$1-on') );
// jQuery(this).attr('class',
Let's slow down a little. I think this might be much easier than you
imagine.
Let's go over the requirements.
1. You have different shaped buttons.
2. Each button has a hover.
3. You want to add all the hover handlers using jQuery.
Does this sound correct? Add to this list, but keep it
Hey, if you can help simplify this, great!
1. Different size images.
2. *Some* images have 'hover' effects.
3. Classes within the sprite are named the same as the originating image
name.
4. When images are added/changed/removed and the sprite is regenerated,
need to be able to copy/paste the
There is, it's called slick speed.
Ariel Flesler
On 4 dic, 19:48, Glen Lipka [EMAIL PROTECTED] wrote:
This would make a great page. Put two selectors in and see which one is
faster.
Glen
On Dec 4, 2007 10:29 AM, sawmac [EMAIL PROTECTED] wrote:
$('p span'): 863ms
Dave, I know I am getting in here late, but I did a post on fast selectors
that may point you in the right direction:
http://benjaminsterling.com/jquery-what-are-the-fastest-selector/
On 12/4/07, Flesler [EMAIL PROTECTED] wrote:
There is, it's called slick speed.
Ariel Flesler
On 4 dic,
Let's start at the beginning. Let's assume (work with me here) that
autogeneration of sprites and css is the path to ruin.
Let's assume 100 images should be manageable in a very easy way. (When you
add new images it should take under 3 minutes to update things)
Here a beginning...
Chris -
This is some fantastic work. I want to get this into SVN right away
and begin expanding on it. The first major improvement, that I can
see, would be to allow for $(:role) and $(:role(checkbox))
selectors, as opposed to the current filters.
Also, you might want to adjust how you set the
HI Guys,
I'm trying to fadeIn the background image of an A tag (which is set to
display:blovk so effectively a div) when you roll over it. The A tags
form the main menu of a site I am designing.
I haven't managed to find any way of changing the Background Image
opacity using css so can't use
I'm fairly new to this ajax call and am trying to learn. What do you
usually put in the php file?
Without getting into too much php.
Something like this would work right?
?php
// skipping post validation code for security purposes...
$url = $_POST['a'];
echo $url;
?
---
Chris
On Dec 4,
Thought I would jump in here and respond to a few of your comments/
suggestions...
First off, the Datejs library is actually built from 4 separate
modules (CultureInfo, core, parser, sugarpak). We compile all of them
together creating one date.js for each language/culture/country during
our
That was weird. It didn't work for me before but it works now.
Thank you!
On Dec 4, 10:47 am, Olaf Bosch [EMAIL PROTECTED] wrote:
JennHi schrieb:
Is there any way to match attributes that are an empty string using
attribute filters?
This works for me:
$(a[href='']).text(was empty);
My apologies if this is posted twice.
I'm having some problems using the magnifier ui. Everything seems to
work for one div of images however if I add another div of images the
script does not work as expected. For the second div the image zooms
in when the mouse is not even close to the
(sorry, long post so I can explain the background some)
I have a rather data intensive page that is pulling information via
Ajax, and then populating the page. I'm wondering if anyone can see a
faster way to do this, as I'm seeing 12-15 second render times, and the
page will be heavily
Hi,
I create a list of items, which are randomly being added to the top of
the list and removed from the bottom of it.
My idea was to animate newly appearing items with sliding them down
and fading in, and animate items, being removed by fading out and
sliding down.
It more or less works, but
Thanks, this seems to work except when the same link is clicked again (but
that's probably not Jquery's fault). Since I am not too familiar with how to
access things using Javascript it was the following row that I couldn't get
right:
var target = location.hash $(location.hash)[0];
You talk
I need to grab content from an iFrame, preferably using jQuery.
However, I have no clue how to do this.
First off, I'm inserting the iFrame into the page:
script
$(function() {
$(#divID).after(iframe src='http://example.com/test/test.html'
name='tesaaat' id='tesaaat' height='0'
Benjamin,
very good way to explain complex information. I would look forward to hear
more on your website.
On Dec 4, 2007 8:23 PM, Benjamin Sterling [EMAIL PROTECTED]
wrote:
Dave, I know I am getting in here late, but I did a post on fast selectors
that may point you in the right direction:
I'm having some problems using the magnifier ui. Everything seems to
work for one div of images however if I add another div of images the
script
does not work as expected. For the second div the image zooms in when
the
mouse is not even close to the image. I have posted the sample code
below
Thanks, Wizzud. Your solution solved the problem.
On 3 Dec, 23:15, Wizzud [EMAIL PROTECTED] wrote:
Just considering the problem area, and assuming that you want a
generic solution...
for(var i = 0; iarray1.length; i+=2){
array2.push(array1[i] + (array1[i+1] || ''));
}
On Dec 3, 7:30
88 matches
Mail list logo