This is almost what I need. But .seriesOverlay is not a child, but
the previous div in the DOM, so it is right above it.
Maybe I could use $(.seriesOverlay + .seriesItem)?
On Jun 26, 2:47 am, Richard D. Worth [EMAIL PROTECTED] wrote:
If your .seriesOverlay is a child of your .seriesItem[1],
In that case $(this).prev(.seriesOverlay) should do.
- Richard
On Fri, Jun 27, 2008 at 12:27 PM, hubbs [EMAIL PROTECTED] wrote:
This is almost what I need. But .seriesOverlay is not a child, but
the previous div in the DOM, so it is right above it.
Maybe I could use $(.seriesOverlay +
Add a class to your IDs, then it should work:
[code]
style type=text/css
div {border:1px solid #ccc;width: 100px;height:100px;margin:
10px;float:left;}
/style
script language=javascript!--
$(document).ready(function(){
$(div.rollover).hover(
function () {
If your .seriesOverlay is a child of your .seriesItem[1], you can do:
$(.seriesItem).mouseover(function() {
$(.seriesOverlay, this).hide();
}).mouseout(function() {
$(.seriesOverlay, this).show();
});
Why this works:
* The thisArg in jQuery callbacks is always equal to the original element
quirksmode,
Try this:
$('#js_innerwrapper').animate({left:+=+$.gamewidth}, 1000,
'easeOutSine');
HTH,
Carl
quirksmode wrote:
Hi,
I need to make a div slide across the screen using the animate
command. It works when I use the following:
$('#js_innerwrapper').animate({left:+=500}, 1000,
First of all, thanks for your time and answers. I really appreciate
it. Having made a few tests, the $.ajax approach seems the one that
fits the most my application.
Just a few questions:
1.
Can you avoid to explicitely name each field of your form?
data: test= + $(input[name=test]).val(),
What
JJShell:
You can address both issues by using all inputs within a form
var values = {};
$(form).find(input:text).each(function(){
values[$(this).attr(name)] = $(this).val();
});
Now values will have the following structure for your second example, which
PHP should automatically turn into an
As you can tell, the possibilities are endless with jQuery... best skimming
through the documents so you can get an idea of the tools out there.
- jake
On Dec 21, 2007 11:28 AM, Jake McGraw [EMAIL PROTECTED] wrote:
JJShell:
You can address both issues by using all inputs within a form
var
You can also use the .serialize() method to collect your values:
. . .
data : $(#myform).serialize(),
. . .
That works best on text inputs though. If you have select boxes - and
especially if they are multi-select, then you may have better luck with
the .serializeArray() method.
Thanks a lot for your reply and time :)
It's all clear now.
jjshell,
The easiest way is to use the form plugin:
http://www.malsup.com/jquery/form/
On 12/20/07, jjshell [EMAIL PROTECTED] wrote:
Hello,
I'm new to jQuery (and AJAX for that matter). Even if the library is
really easy to use, I'm still having problems ajaxing.
I'd like to understand how
Replace // ? with:
$(function(){ // 1
$(form).submit(function(){ // 2
var value = $(this).find(input[name=test]).val(); // 3
$.post(/test/ajax/record/,{test:value},function(){ // 4
alert(Message sent successfully!); // 5
});
return false; // 6
});
});
Notes for each
Keeping in mind that the $.get() and $.post() methods are just
convenience wrappers for $.ajax(). You could do the same with this:
$.ajax({
url: /test/ajax/record/,
type: POST,
data: test= + $(input[name=test]).val(),
success: function (data) {
alert(Successfully saved data);
I made the same thing, but Im having trouble... Im having a lot of
requests per time...
On Nov 7, 11:59 am, tlphipps [EMAIL PROTECTED] wrote:
I did that very thing be modifying the tb_init() function in
thickbox. Here is my modified version that uses livequery.
function tb_init(domChunk){
thanks so much. that worked perfectly.
On Nov 8, 12:59 am, tlphipps [EMAIL PROTECTED] wrote:
I did that very thing be modifying the tb_init() function in
thickbox. Here is my modified version that uses livequery.
function tb_init(domChunk){
$(domChunk).livequery('click',function(){
I did that very thing be modifying the tb_init() function in
thickbox. Here is my modified version that uses livequery.
function tb_init(domChunk){
$(domChunk).livequery('click',function(){
var t = this.title || this.name || null;
var a = this.href ||
You can download jQuery from SVN and build your own copy. If you were
to open the Makefile that's included with jQuery you'd see a list of
files that are to be included in jQuery directly - you can then remove
the Ajax and FX modules and build a new copy. I realize that this is
convoluted, and
HI Eli,
I spotted this too - and had a play with Ext and jQuery - though I
couldn't really see how the two were supposed to be linked together.
I did get the same error as you, but it was because I hadn't set up
the underlying HTML properly, i.e. I was telling my page to target
'yui-north'
As promised:
http://remysharp.com/wp-content/uploads/2007/04/ext_layout.html
Never mind. Checked it in FF. Pretty cool.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Eli
Sent: Friday, April 20, 2007 8:37 AM
To: jQuery (English)
Subject: [jQuery] Re: Using EXT with Jquery
Thanks all of you, especially Remy,
I managed
I also wrote up a short article on my initial play with Ext and the
mistakes I made (it also includes a link the jquery-plugins.js file
that Juha points out is missing):
http://remysharp.com/2007/04/20/jquery-ext/
: [jQuery] Re: Using EXT with Jquery
Thanks all of you, especially Remy,
I managed to solve my problem,
thishttp://remysharp.com/wp-content/uploads/2007/04/ext_layout.html
helped me a lot mate, thanks :)
On Apr 20, 2:06 pm, Remy Sharp [EMAIL PROTECTED] wrote:
I also wrote up a short article
Eli,
This thread might help.
http://groups.google.com/group/jquery-en/browse_thread/thread/bb64561ee9fe2e22/fdb149e62b2bd03b?lnk=gstq=extrnum=2#fdb149e62b2bd03b
On 4/19/07, Eli [EMAIL PROTECTED] wrote:
Hey guys,
Just noticed a couple of days ago that ext now has a new 'extjs' for
jquery,
23 matches
Mail list logo