[jQuery] idrop and remeasure

2007-07-02 Thread Michael Fuerst

Hi,

I'm still having problems with the Interface plugin:

In the idrop.source it says:

/**

* remeasure the droppable

*

* useful when the positions/dimensions for droppables

* are changed while dragging a element

*

* this works for sortables too but with a greate processor

* penality because remeasures each sort items too

*/

The positions of my droppables change while I'm dragging an element, but I
have no idea how/where to invoke the remeasure function.
Can anybody please give me an example?

Michael



[jQuery] idrop and remeasure

2007-07-02 Thread Michael Fuerst

Hi,

I'm still having problems with the Interface plugin:

In the idrop.source it says:

/**

* remeasure the droppable

*

* useful when the positions/dimensions for droppables

* are changed while dragging a element

*

* this works for sortables too but with a greate processor

* penality because remeasures each sort items too

*/

The positions of my droppables change while I'm dragging an element, but I
have no idea how/where to invoke the remeasure function.
Can anybody please give me an example?

Michael



[jQuery] idrop and remeasure

2007-07-02 Thread Michael Fuerst

Hi,

I'm still having problems with the Interface plugin:

In the idrop.source it says:

/**

* remeasure the droppable

*

* useful when the positions/dimensions for droppables

* are changed while dragging a element

*

* this works for sortables too but with a greate processor

* penality because remeasures each sort items too

*/

The positions of my droppables change while I'm dragging an element, but I
have no idea how/where to invoke the remeasure function.
Can anybody please give me an example?

Michael



[jQuery] AutoScroll plugin

2007-07-02 Thread Michael Fuerst

Hi,

I know there is an autoscroll plugin out there, but I need something
different:

I have a div with scrollbars. When I move the mouse over the top or
bottom of my div, the content of the div should scroll up or down.

Is there a plugin that can do that?

Michael



[jQuery] Re: jQuery 1.1.3: 800%+ Faster, still 20KB

2007-07-02 Thread David Duymelinck

The new speed improvements are paying off. I had a page where i
displayed a popup (jqModal) and in IE6 the content of the page
disappeared for a few seconds before displaying the popup but this is
solved dropping in the new jQuery version.

Nice work!


David


John Resig schreef:

 Hi Everyone -

 I'm pleased to announce the release of jQuery 1.1.3. After many months
 of testing, developing, and more testing, we have a very solid release
 available for download. It comes with roughly 80+ fixed bugs and a
 handful of enhancements for good measure. Highlights include:

 1. Improved speeds, with DOM traversal over 800% faster than in 1.1.2.
 2. A re-written event system, with more graceful handling of keyboard
 events.
 3. A re-written effects system (with an accompanying fx test
 suite), featuring faster execution and better cross-platform support.

 Full list of fixes:
 http://dev.jquery.com/report/15

 Download:

 * jQuery 1.1.3 (Compressed, 20KB)
 http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.1.3.pack.js

 * jQuery 1.1.3 (61KB)
 http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.1.3.js
 * jQuery 1.1.3 (Docs, Source Code)
 http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.1.3-release.zip


 As always, if you find any bugs with this release, please post them to
 the jQuery Bug Tracker.


 1.1.3 Features

 Massive Selector Speed Improvements

 Due to popular demand, we dug deep and made some major changes to
 jQuery's selector engine. Here's a breakdown of the speed improvements
 that were made to jQuery itself. All numbers are based on the
 SlickSpeed test suite.
 http://dev.jquery.com/~john/slickjq/

 Browser jQuery 1.1.2 jQuery 1.1.3 % Improvement
 IE 6 4890ms 661ms 740%
 Firefox 2 5629ms 567ms 993%
 Safari 2 3575ms 475ms 753%
 Opera 9.1 3196ms 326ms 980%
 Average improvement: 867%

 Additionally, we tested the improved code base against some of the
 other popular selector libraries, again with the SlickSpeed test
 suite.
 http://dev.jquery.com/~john/slick/

 Browser Prototype jQuery Mootools Ext Dojo
 IE 6 1476ms 661ms 1238ms 672ms 738ms
 Firefox 2 219ms 567ms 220ms 951ms 440ms
 Safari 2 1568ms 475ms 909ms 417ms 527ms
 Opera 9.1 220ms 326ms 217ms 296ms 220ms

 A couple things to notice when looking at the speed suite results are
 that:

 * We're over 800% faster than we were in jQuery 1.1.2.
 * We're the fastest framework in the most popular browser,
 Internet Explorer 6.
 * We're the only framework that doesn't give incorrect results.
 * And all of this comes at no expense to you ― jQuery is still the
 same 20KB that you've come to expect and enjoy.

 New Selectors

 Unicode Selectors: This is a huge addition for those of you who want
 to use Unicode attribute values, IDs, class names, or tag names. You
 can now use them directly in jQuery selectors:

 $(div.台北)
 $(div#台北)
 $(foo_bar台北)
 $([EMAIL PROTECTED])

 Escape Selectors: A frequently requested feature you can now select
 elements by ID (or other selector) that uses a special character, for
 example this will find the div that has the ID of foo.bar:

 $(div#foo\.bar)

 Inequality Selector: While this selector isn't part of the CSS
 specification, it's frequently used and included in other selector
 libraries, so we decided to add it in:

 $([EMAIL PROTECTED])

 :nth-child() improvements: This selector allows you to locate specific
 child elements. We've supported selectors like :nth-child(1) and
 :nth-child(odd) since the beginning of jQuery, now we've added
 advanced :nth-child selectors, such as:

 $(div:nth-child(2n))
 $(div:nth-child(2n+1))
 $(div:nth-child(n))

 Space-separated attributes: After being removed in jQuery 1.0, this
 selector has now been brought back by popular demand. It allows you to
 locate individual items in a space-separated attribute (such as a
 class or rel attribute).

 $([EMAIL PROTECTED])

 Animation Improvements

 Speed: Animations are now significantly faster and smoother.
 Additionally, you can run more simultaneous animations without
 incurring any speed hits.

 Testing: We now have a dedicated test suite for animations ― which has
 allowed us to fix a number of pressing animation bugs that weren't
 previously locatable.
 DOM Event Listeners

 Internally, the jQuery Event system has been overhauled to use the DOM
 Event system, rather than the classical onclick style of binding
 event handlers. This improvement allows you to be more unobtrusive in
 your use of the library (not affecting the flow of other libraries
 around it). Additionally, it helped to resolve some of the outstanding
 issues that existed with binding event listeners to IFrames.
 Event Normalization

 Some great steps have been taken to normalize keyboard and mouse
 events. You can now access the event.which property to get most
 details about the specific key or button that was pressed.
 Multiple .is()

 The .is() method can now take multiple selectors, separated by a
 comma. This allows you to 

[jQuery] Behaviour difference in XML document selectors in 1.13?

2007-07-02 Thread Ted McFadden


Hi,

I've got an app that is processing an ajax returned XML document, which
works fine under jquery 1.1.2 but partially breaks under 1.1.3.

The XML (simplified for the example) is of the form:

type1 nametest
 type2/type2
 type3
  type4more text/type4
/type3
/type1

The selectors:
$('type1',  responseXML),
$('type1/type2', responseXML),
$('type1/type3', responseXML)
$('type1/type3/type4',responseXML)

all still work fine under 1.1.2 (OSX / Win32 FF, Opera, IE, Safari),
but only the first works under 1.1.3 (the rest get zero results).

[only tested on OSX with FF, Safari so far].


Any suggestions would be welcome.

Cheers,

Ted


[jQuery] Re: jQuery 1.1.3: 800%+ Faster, still 20KB

2007-07-02 Thread Francisco José Rives

In the JavaScript console shows:
Error: http://dev.jquery.com/~john/slickjq/frameworks/jquery-1.1.3.js:
TypeError: Null value

I think that is a problem with jQuery and Konqueror, but Konqueror doesn't
show any line number :-( . So any selector works :(

On 7/2/07, Christof Donat [EMAIL PROTECTED] wrote:


Hi,

 Additionally, we tested the improved code base against some of the
 other popular selector libraries, again with the SlickSpeed test
 suite.
 http://dev.jquery.com/~john/slick/

Bad news in Konqueror - see the attached screenshot. It says that
jQuery.find
returns something that is not an object. I have used Konqueror 3.5.7.

On the other hand good news for XUL users: Up to now I always had six
uncaught
exceptions from the jQuery code in my XUL application. Two of them have
gone
away. The javaScript console says that reading the property
UnnamedClass.classes was not allowed.

Christof





--
--
Greetings/Saludos de SeViR
Cartagena, Murcia -Spain-
visit my web http://rincon.sevir.org


[jQuery] Re: jQuery 1.1.3: 800%+ Faster, still 20KB

2007-07-02 Thread Francisco José Rives

Fantastic, very good speed in Safari 3.0.2 for Windows :-D

jQuery 1.1.2 : 2205 ms
jQuery 1.1.3:   175  ms

1260% faster XD XD XD  woww

more faster than my Firefox test :-D


On 7/2/07, John Resig [EMAIL PROTECTED] wrote:



Hi Everyone -

I'm pleased to announce the release of jQuery 1.1.3. After many months
of testing, developing, and more testing, we have a very solid release
available for download. It comes with roughly 80+ fixed bugs and a
handful of enhancements for good measure. Highlights include:

   1. Improved speeds, with DOM traversal over 800% faster than in 1.1.2.
   2. A re-written event system, with more graceful handling of keyboard
events.
   3. A re-written effects system (with an accompanying fx test
suite), featuring faster execution and better cross-platform support.

Full list of fixes:
http://dev.jquery.com/report/15

Download:

* jQuery 1.1.3 (Compressed, 20KB)

http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.1.3.pack.js
* jQuery 1.1.3 (61KB)

http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.1.3.js
* jQuery 1.1.3 (Docs, Source Code)

http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.1.3-release.zip

As always, if you find any bugs with this release, please post them to
the jQuery Bug Tracker.


1.1.3 Features

Massive Selector Speed Improvements

Due to popular demand, we dug deep and made some major changes to
jQuery's selector engine. Here's a breakdown of the speed improvements
that were made to jQuery itself. All numbers are based on the
SlickSpeed test suite.
http://dev.jquery.com/~john/slickjq/

Browser jQuery 1.1.2jQuery 1.1.3% Improvement
IE 64890ms  661ms   740%
Firefox 2   5629ms  567ms   993%
Safari 23575ms  475ms   753%
Opera 9.1   3196ms  326ms   980%
Average improvement:867%

Additionally, we tested the improved code base against some of the
other popular selector libraries, again with the SlickSpeed test
suite.
http://dev.jquery.com/~john/slick/

Browser Prototype   jQuery  Mootools ExtDojo
IE 61476ms  661ms   1238ms   672ms  738ms
Firefox 2   219ms   567ms   220ms951ms  440ms
Safari 21568ms  475ms   909ms417ms  527ms
Opera 9.1   220ms   326ms   217ms296ms  220ms

A couple things to notice when looking at the speed suite results are
that:

* We're over 800% faster than we were in jQuery 1.1.2.
* We're the fastest framework in the most popular browser,
Internet Explorer 6.
* We're the only framework that doesn't give incorrect results.
* And all of this comes at no expense to you ― jQuery is still the
same 20KB that you've come to expect and enjoy.

New Selectors

Unicode Selectors: This is a huge addition for those of you who want
to use Unicode attribute values, IDs, class names, or tag names. You
can now use them directly in jQuery selectors:

$(div.台北)
$(div#台北)
$(foo_bar台北)
$([EMAIL PROTECTED])

Escape Selectors: A frequently requested feature you can now select
elements by ID (or other selector) that uses a special character, for
example this will find the div that has the ID of foo.bar:

$(div#foo\.bar)

Inequality Selector: While this selector isn't part of the CSS
specification, it's frequently used and included in other selector
libraries, so we decided to add it in:

$([EMAIL PROTECTED])

:nth-child() improvements: This selector allows you to locate specific
child elements. We've supported selectors like :nth-child(1) and
:nth-child(odd) since the beginning of jQuery, now we've added
advanced :nth-child selectors, such as:

$(div:nth-child(2n))
$(div:nth-child(2n+1))
$(div:nth-child(n))

Space-separated attributes: After being removed in jQuery 1.0, this
selector has now been brought back by popular demand. It allows you to
locate individual items in a space-separated attribute (such as a
class or rel attribute).

$([EMAIL PROTECTED])

Animation Improvements

Speed: Animations are now significantly faster and smoother.
Additionally, you can run more simultaneous animations without
incurring any speed hits.

Testing: We now have a dedicated test suite for animations ― which has
allowed us to fix a number of pressing animation bugs that weren't
previously locatable.
DOM Event Listeners

Internally, the jQuery Event system has been overhauled to use the DOM
Event system, rather than the classical onclick style of binding
event handlers. This improvement allows you to be more unobtrusive in
your use of the library (not affecting the flow of other libraries
around it). Additionally, it helped to resolve some of the outstanding
issues that existed with binding event listeners to IFrames.
Event Normalization

Some great steps have been taken to normalize keyboard and mouse
events. You can now access the event.which 

[jQuery] How to bind a submit form action

2007-07-02 Thread Massimiliano Marini

Hi all,

I'm not sure if subject is right, but I'm going crazy with this
problem:

after an ajaxCall I return this code:

$(.public).after(input type=submit name=action value=Update
class=update).remove();

this code works well, in the form the button (Public) is replaced with
(Update), but when I press the button not action value is passed, only
the content of the fields are passed.

This code for the Public event works well, but not works for Update
event when the button is replaced.

$('#formPub').ajaxForm({
  target: '#response',
  beforeSubmit: function() {
   //Some check
  },
  success: function(){
$('#response').fadeIn('slow');
  }
});

More detail on update event :in Firebug, in the post tab, I can see all
the fields value but not this value: action: Update.

Where I'm in error?

--
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
It's easier to invent the future than to predict it.  -- Alan Kay


[jQuery] jQuery 1.1.3+ jBlock-Pluggin

2007-07-02 Thread oscar esp

Seems that block pluggin doens't work the same way with jQuery 1.1.3

With  1.1.2:
-   I had jBlock message with filter opacity in order to show a message
with semi transparent background.

With 1.1.3:
-   Same code doesn't maintain the opacity and now is 100% (0
transparency).



[jQuery] Re: Behaviour difference in XML document selectors in 1.13?

2007-07-02 Thread Tony

Hi,
I have the same problem with 1.1.3
This should resolve your problem:

$('type1',  responseXML),
$('type1 type2', responseXML),
$('type1 type3', responseXML)
$('type1 type3 type4',responseXML)

The
$('type1type3', responseXML)
does not work too.

Regards



[jQuery] Re: jQuery 1.1.3+ jBlock-Pluggin

2007-07-02 Thread Toine

same problem here

something like that does'nt work with 1.1.3 :

javascript:alert($('div').css({opacity: '0.5'}))



[jQuery] Re: jQuery 1.1.3: 800%+ Faster, still 20KB

2007-07-02 Thread Klaus Hartl

John Resig wrote:
 
 Hi Everyone -
 
 I'm pleased to announce the release of jQuery 1.1.3. After many months
 of testing, developing, and more testing, we have a very solid release
 available for download. It comes with roughly 80+ fixed bugs and a
 handful of enhancements for good measure. Highlights include:
 
   1. Improved speeds, with DOM traversal over 800% faster than in 1.1.2.
   2. A re-written event system, with more graceful handling of keyboard 
 events.
   3. A re-written effects system (with an accompanying fx test
 suite), featuring faster execution and better cross-platform support.
 
 Full list of fixes:
 http://dev.jquery.com/report/15


Great news! Good to have that out now! I found some issues with the
Tabs, but will write a seperate mail for that...



--Klaus


[jQuery] datePicker scoping question

2007-07-02 Thread Robert O'Rourke


Glad to have the new version of jQuery out, the speed improvements are
really nice.
I'm trying it out with the datePicker plugin and it seems fine.

I'm having trouble getting the datePicker to work with the linked select
elements example. I'm trying to make it loop through the document
looking for elements with a class of 'date-select' and then set up a
scoped set of events on the descendant select boxes and anchor tag.
There's a bit much code to post in the email here's a link to the page
I'm working on:

http://www.sanchothefat.com/dev/js/datepickertest.html

As far as I can tell, using $('a', this) etc.. should work but I'm
getting no js errors and no datePicker. Has anyone done something like
this with the datePicker before? It's for generated date selects so this
is the best solution for the job.

Cheers,
Rob


[jQuery] Re: jQuery 1.1.3: 800%+ Faster, still 20KB

2007-07-02 Thread Rob Desbois

Wow, an incredible improvement.

I can notice the speed differences with my various jQuerified interfaces
just by using them, no need to benchmark!

John et al: thanks again, for a great improvement on what is already a great
piece of kit.

On 7/2/07, Klaus Hartl [EMAIL PROTECTED] wrote:



John Resig wrote:

 Hi Everyone -

 I'm pleased to announce the release of jQuery 1.1.3. After many months
 of testing, developing, and more testing, we have a very solid release
 available for download. It comes with roughly 80+ fixed bugs and a
 handful of enhancements for good measure. Highlights include:

   1. Improved speeds, with DOM traversal over 800% faster than in 1.1.2.
   2. A re-written event system, with more graceful handling of keyboard
 events.
   3. A re-written effects system (with an accompanying fx test
 suite), featuring faster execution and better cross-platform support.

 Full list of fixes:
 http://dev.jquery.com/report/15


Great news! Good to have that out now! I found some issues with the
Tabs, but will write a seperate mail for that...



--Klaus





--
Rob Desbois
Eml: [EMAIL PROTECTED]
Tel: 01452 760631
Mob: 07946 705987
There's a whale there's a whale there's a whale fish he cried, and the
whale was in full view.
...Then ooh welcome. Ahhh. Ooh mug welcome.


[jQuery] 1.1.3 breaks opacity effects in IE?

2007-07-02 Thread Gordon

I noticed after upgrading to 1.1.3 that animations that had an opacity
component no longer occured in IE7.  They would just remain opaque
until the animation was due to terminate at which point thery would
all just immideately vanish.

I swapped fadeIn and fadeOut with show and hide, which has both a
resize and an opacity component, and I found that while the sizing
part of the animation played the fading part didn't happen.



[jQuery] Re: Toggle element based on value

2007-07-02 Thread Karl Swedberg

Hi Damian,

I think you're on the right track, too, but it looks like you might  
be working too hard to find the right div to toggle.


The trick is to determine where the div.newsitememail element is in  
relation to the clicked a.emailitem in the DOM.


For example, if each newsitememail is the next sibling of its  
corresponding emailitem, you can do something like this:



$(a.emailitem).click(function(){
$(this).next().toggle();
	return false; //important to include so the browser doesn't try to  
follow the link.

});

If you need to be more specific about the element coming next, you  
can place the details of the element to toggle inside the .next()  
parentheses:

.next('div.newsitememail')

Hope that helps point you in the right direction.

--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Jul 1, 2007, at 9:42 PM, DamianD wrote:




I think i'm on the right track, my code below works...sort of:

$(a.emailitem).click(function(){

$(div.newsitememail:nth(0)).toggle();
}
);

Though, obviously, no mater which a.emailitem is clicked - the first
newsitememail div is toggled...not exactly what is needed.

I tried this:

$(a.emailitem).click(function(){

var i = $(this).attr(id);
$(div.newsitememail:nth(i)).toggle();
}
);

Which I thought should work, but has no effect.  Nothing is  
toggled.  It is

as if 'var i' is not passed to nth().

How can I get the var to pass properly?



DamianD wrote:


Hi,

How do I toggle a div based on the div's value?

Example:  The site I am working on has multiple blog posts per page.
Under each post is a menu.  One of the menu items is for emailing the
story.  Under this there is a div that will display the email  
form.  This

div is hidden by default. The link is as follows:

 # id ?Open Email Interface

This div is:

div class = newsitememail value = ?php echo $stroy-id ?

My logic so far has been to grab the link's id using jquery and then
display the appropriate div based on the value (which is the same  
as the

id in the link).

Here is the jquery code so far:

$(a.emailitem).click(function(){

var id = $(this).attr(id);
}

How do I toggle the correct div?




--
View this message in context: http://www.nabble.com/Toggle-element- 
based-on-value-tf4009643s15494.html#a11387195

Sent from the JQuery mailing list archive at Nabble.com.





[jQuery] Re: 1.1.3 breaks opacity effects in IE?

2007-07-02 Thread Sam Collett

This also affects the blockUI plugin which also uses opacity.

On Jul 2, 12:36 pm, Gordon [EMAIL PROTECTED] wrote:
 I noticed after upgrading to 1.1.3 that animations that had an opacity
 component no longer occured in IE7.  They would just remain opaque
 until the animation was due to terminate at which point thery would
 all just immideately vanish.

 I swapped fadeIn and fadeOut with show and hide, which has both a
 resize and an opacity component, and I found that while the sizing
 part of the animation played the fading part didn't happen.



[jQuery] Re: jQuery 1.1.3+ jBlock-Pluggin

2007-07-02 Thread Sam Collett

Looks like a regression - which, due to it being visual, has to be
inspected by eye rather than a test suite.

On Jul 2, 11:06 am, Toine [EMAIL PROTECTED] wrote:
 same problem here

 something like that does'nt work with 1.1.3 :

 javascript:alert($('div').css({opacity: '0.5'}))



[jQuery] $(elem) question

2007-07-02 Thread debussy007


Hi,

I am trying to access my SELECT element with jQuery but I can't make it
working :

This works :
 alert(document.getElementById('aller')); //  [object]
 var sel = document.getElementById('aller');
 alert(sel.selectedIndex);   // 0
This not working :
 alert($(document.aller));   // [object Object]
 alert($(document.aller).selectedIndex);   // undefined

Could anyone help me ?

Thank u for any comment.


-- 
View this message in context: 
http://www.nabble.com/%24%28elem%29--question-tf4011702s15494.html#a11392465
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Form Plugin and File Uploads (form.submit() is not a function)

2007-07-02 Thread Mike Alsup


Niklas,

Are you still having a problem with this?  I just tried you page in FF
and IE and it seemed to be working fine.

Mike


I want to upload a file using jQuery and Form Plugin. When I'm trying
to upload a file an error occurs, saying:

Error: form.submit is not a function
Source File: jquery.form.js
Line: 292


[jQuery] Re: $(elem) question

2007-07-02 Thread Rob Desbois

Hi, the syntax you need for selecting by ID is this:


$(#identifier)


so to find the element with ID 'aller' you want:


$(#aller)




Bear in mind that the $() function does not return a DOM object, it returns
a jQuery object.
If you want to access a DOM property such as selectedIndex, you will need to
retrieve the DOM object like this:


alert($(#aller)[0].selectedIndex);



Remember also that that line will generate an error if there is no element
found with ID 'aller'.

I hope that explains it for you :-)
--rob


On 7/2/07, debussy007 [EMAIL PROTECTED] wrote:




Hi,

I am trying to access my SELECT element with jQuery but I can't make it
working :

This works :
 alert(document.getElementById('aller')); //  [object]
 var sel = document.getElementById('aller');
 alert(sel.selectedIndex);   // 0
This not working :
 alert($(document.aller));   // [object Object]
 alert($(document.aller).selectedIndex);   // undefined

Could anyone help me ?

Thank u for any comment.


--
View this message in context:
http://www.nabble.com/%24%28elem%29--question-tf4011702s15494.html#a11392465
Sent from the JQuery mailing list archive at Nabble.com.





--
Rob Desbois
Eml: [EMAIL PROTECTED]
Tel: 01452 760631
Mob: 07946 705987
There's a whale there's a whale there's a whale fish he cried, and the
whale was in full view.
...Then ooh welcome. Ahhh. Ooh mug welcome.


[jQuery] Re: How to bind a submit form action

2007-07-02 Thread Mike Alsup


Massimiliano,

After you replace the public element with the new input you need to
rewire the form so that the new button is properly recognized.  But
you don't want double event handlers, so you need to first fully
unwire it.  Ideally you'd put this code in its own function, but the
idea is this:

$(.public).after(input type=submit name=action value=Update
class=update).remove();
$('#formPub').unbind('submit').find(':submit,input:image').unbind('click');
$('#formPub').ajaxForm({
target: '#response',
beforeSubmit: function() { /* whatever */ },
success: function(){  $('#response').fadeIn('slow'); }
});

Mike

On 7/2/07, Massimiliano Marini [EMAIL PROTECTED] wrote:


Hi all,

I'm not sure if subject is right, but I'm going crazy with this
problem:

after an ajaxCall I return this code:

$(.public).after(input type=submit name=action value=Update
class=update).remove();

this code works well, in the form the button (Public) is replaced with
(Update), but when I press the button not action value is passed, only
the content of the fields are passed.

This code for the Public event works well, but not works for Update
event when the button is replaced.

$('#formPub').ajaxForm({
  target: '#response',
  beforeSubmit: function() {
   //Some check
  },
  success: function(){
$('#response').fadeIn('slow');
  }
});

More detail on update event :in Firebug, in the post tab, I can see all
the fields value but not this value: action: Update.

Where I'm in error?

--
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
It's easier to invent the future than to predict it.  -- Alan Kay



[jQuery] 1.1.3 speed regression for selection of tags

2007-07-02 Thread Karl Rudd


Just been going through some of my current work and seeing what
improvements come with jQuery 1.1.3. Unfortunately it looks like
there's a bit of a regression in terms of speed for Firefox (2.0.0.4).

So far I've only looked at the speed decrease when selecting 'input'
elements, so it may be isolated to them or something general.

You'll need Firebug on Firefox. Firebug lite is included though.

Here's a page with using 1.1.2:

   http://krudd.net/jquery113speed/jquery_elementtest_112.html
   Result: setup: 781ms

Here's the same page using 1.1.3:

   http://krudd.net/jquery113speed/jquery_elementtest_113.html
   Result: setup: 1937ms

And for kicks I looked at using straight DOM methods to select the
'inputs' (getElementsByTagName) and 1.1.3:

   http://krudd.net/jquery113speed/jquery_elementtest_113_dom.html
   Result: setup: 531ms

I haven't had time to dig through the 1.1.3 source to see where the
slowdown could be occurring. Anyone have any ideas?

Under IE there is a similar, though markedly smaller, slow down
between 1.1.2 and 1.1.3.

Karl Rudd


[jQuery] Re: 1.1.3 breaks opacity effects in IE?

2007-07-02 Thread Mike Alsup



This also affects the blockUI plugin which also uses opacity.


Sam, BlockUI doesn't have any problems with 1.1.3.  I'm seeing the
same issue that Gordon pointed out with IE7 and animations, but
blockUI works fine.

Mike


[jQuery] Re: jQuery 1.1.3+ jBlock-Pluggin

2007-07-02 Thread Mike Alsup


Oscar,

BlockUI works fine in 1.1.3, but there may be an issue with using a
semi-transparent message.  I don't think I've ever tried that myself.

Mike


On 7/2/07, oscar esp [EMAIL PROTECTED] wrote:


Seems that block pluggin doens't work the same way with jQuery 1.1.3

With  1.1.2:
-   I had jBlock message with filter opacity in order to show a message
with semi transparent background.

With 1.1.3:
-   Same code doesn't maintain the opacity and now is 100% (0
transparency).




[jQuery] Re: jQuery 1.1.3: 800%+ Faster, still 20KB

2007-07-02 Thread Rey Bango

Hi Rob,

XPath is a consideration for v1.2. Its in the roadmap found here:
http://docs.jquery.com/JQuery_1.2_Roadmap

 ...jQuery has a fast API for non-XPath browsers, but its speed in Firefox
 sux (comparatively).  

I have to disagree with you on this. At this point, we're well within
the selector speed range of the major libraries in Firefox, even without
XPath and if you run the tests in IE6 or IE7, we're SUBSTANTIALLY faster
than most. If you look at look at the results per selector as opposed to
the aggregated score, you'll see that jQuery's selector performance is
just fine.

At this point we will focus on our attention on enhancing other areas of
the jQuery library but will certainly consider performance enhancements
for v1.2.

Thanks,

Rey...





[jQuery] Re: jQuery 1.1.3+ jBlock-Pluggin

2007-07-02 Thread John Resig


In which browser does this problem occur?

--John

On 7/2/07, Toine [EMAIL PROTECTED] wrote:


same problem here

something like that does'nt work with 1.1.3 :

javascript:alert($('div').css({opacity: '0.5'}))




[jQuery] Re: OT - AJAX book

2007-07-02 Thread Angelo Zanetti


thanks to all who responded i'm going to check out the recommendations 
and make some purchases.


regards
Angelo

Rey Bango wrote:


hahahah!!! Its a double Head Rush!! w00t! Thank God its Friday. LOL!

Ganeshji Marwaha wrote:
hey, rey, that is funny coz, in the second of the double-post, did u 
notice that it is not mine as u mentioned, but it is mind instead.


he he, i win, u da one with head rush...

-GTG

On 6/29/07, *Rey Bango* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



Ha! I'm not the one that had to double post because I used the 
word my

instead of mine. Whose having the head rush, huh?!? LOL.



Ganeshji Marwaha wrote:
  Others, don't mind Rey, he is just having a Head Rush - and i
am not
  saying that coz Head Rush Ajax... ;-)
 
  -GTG
 
  On 6/29/07, *Ganeshji Marwaha * [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
wrote:

 
  Others, don't my Rey, he is just having a Head Rush - and i
am not
  saying that coz Head Rush Ajax... ;-)
 
  -GTG
 
 
  On 6/29/07, *Rey Bango* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
 
  That guy Resig doesn't know squat! I mean, he can barely
code an
  alert
  box let alone anything remotely related to Ajax! ;)
 
  Fred Janon wrote:
Let's not forget Pro Javascript by John Resig. I
just bought
  the pdf
online, very good. A chapter on Ajax and a few after
it on Ajax
applications.
  
Fred
  
  
On 6/30/07, *Ganeshji Marwaha* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

mailto: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  wrote:
  
   Professional Ajax is also a very book, written by
Nicholas
  C Zakas.
  
   I haven't read this book, but have heard a lotta
positive
  feedback
   from people who have. I guess the book is in 2nd
edition now.
  
   I believe the author got an offer from both 
yahoo and

  google soon
   after the first edition of this book was published.
   He chose yahoo!.
  
   -GTG
  
  
  
   On 6/29/07, *Tobias Parent*  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

   mailto: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
  
  
   Ajax in Action
   Ajax Design Patterns
   ... and of course, Head-Rush Ajax
  
   
 Angelo Zanetti wrote:

 Hi all

 I've used JQuery for a project and it was
fine. Now
  I want to
   buy a
 book just for AJAX not necessarily jQuery.
What
  would you
   guys suggest?

 Thanks in advance.

 Angelo


   
  
  
  
 
  --
  BrightLight Development, LLC.
  954-775- (o)
  954-600-2726 (c)
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  http://www.iambright.com http://www.iambright.com
 
 
 

--
BrightLight Development, LLC.
954-775- (o)
954-600-2726 (c)
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://www.iambright.com






--

Angelo Zanetti
Systems developer


*Telephone:* +27 (021) 552 9799
*Mobile:*   +27 (0) 72 441 3355
*Fax:*+27 (0) 86 681 5885
*
Web:* http://www.zlogic.co.za
*E-Mail:* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]




[jQuery] Re: Sliding horizontal menu in a limited area

2007-07-02 Thread Kia

Anyone?

On Jul 1, 8:14 am, Kia Niskavaara [EMAIL PROTECTED] wrote:
 I'm looking for a plugin that can handle unlimited horizontal menu items. If
 the area is too small it should be able to click right/left to see all menu
 items. Just like the tabs in Firefox. All menu items doesn't need to be
 visible at the same time. But it should be obvious to the user that there
 are more items available, and how to find them.

 Is there such a plugin?

 The only similar jquery plugin that I've found is the Sliding
 Menuhttp://www.getintothis.com/blog/2006/09/26/my-first-jquery-plugin-a-s...plugin.
 It looks really nice, but it doesn't solve any problems (afaik).

 Right now, my only option is to have a selectbox, since my menu doesn't fit
 in the area that I'll have to work with. a selectbox is really useful for
 limited space - but it isn't that beautiful...

 Any input on my problem would be really helpful!

 Kia



[jQuery] WYSIWYG Editor in Jquery

2007-07-02 Thread G[N]Urpreet Singh
Hi,
I was trying to look for a WYSIWYG Editor written in JQuery which can do
stuff like Links, Lists,  and Tables too. Couldn't find one so far. Could
anyone point me to a plugin??

Thanks,
Gurpreet

-- 
Gurpreet Singh


[jQuery] Re: sort of horizontal scrolling

2007-07-02 Thread GianCarlo Mingati

Ganeshji
hi, what was the weekend? Did you played with this stuff?
Made something to show us?
Ciao
GC


On Jun 29, 6:25 pm, Ganeshji Marwaha [EMAIL PROTECTED] wrote:
 I was already playing a bit with it, as another feature for my jCarouselLite
 plugin http://www.gmarwaha.com/jquery/jcarousellite/index.php.
 The feature request came from some jQuery user here.

 I am going to give it a shot this weekend to see if i can get it done
 without too much code... If it is more than a few lines, then i will not be
 incorporating it into jCarouselLite, rather i will make a separate plugin
 outta it.

 Lets see if i am able to get something out this weekend. :-)

 -GTG

 On 6/29/07, GianCarlo Mingati [EMAIL PROTECTED] wrote:



  Hi all
  i was investigating at make something like this:
 http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm
  but with jquery.

  does anybody played with this stuff already?
  How do i calculate how much the UL has already scrolled left? The
  gallery should be wrapped whitin a div with overflow hidden (and the
  dimensions.plugin only works - if i am not wrong - on containers with
  overflow auto) and even if i say $(div.mydiv ul).css(left, -300)
  and then check for it's LEFT css property i always get 0 (the starting
  point) since the UL is relatively positioned with left _and_ top set
  to 0.
  It would a handy plugin to make lot of things... but it's too
  complicated.

  In flash you have a ._x property wich onenterframe can always tells
  you how 's the x of something. How do i get the ._x property of an
  element?

  Bah.. i'm going to fly my r/c heli for sure it's easier... ;-)
  Have a nice weekend.

  OT: this is an onboard video i get a month ago.
 http://www.gcmingati.net/wordpress/2007/05/13/go-fly/

  GC



[jQuery] jQuery 1.1.3 and easing plugin

2007-07-02 Thread Bolos

Hi,
I have replaced jQuery 1.1.2 with the new version and I've some
problems with the easing plugin.
The animations works properly, but I receive a lot of errors like
this: jQuery.easing[e.easing] is not a function.

Any suggestion to solve this problem?

Thanks in advance.
-Bolos



[jQuery] Some IE bugs I can't figure out...

2007-07-02 Thread Simpel

Hi there

We're redesigning this site for i client and want to use alot of
jquery features. I'm quite new to jq and keep getting IE bugs. For now
the mockup works fine in Firefox but I can't figure out why it goes
nuts in IE. Anyone got any ideas?

http://devsrv.webbhuset.se/~joel/koll.se/

What happens is that you can't move the boxes in the right column
properly(works just like I want it in FF) in IE and the little slider
between the boxes doesn't work at all in IE (works fine in FF of
course ;))

Any help would be much appriciated! and yea, I'm talking about IE7
primarilyAt the moment IE6 is just a mess :)

/Simpel



[jQuery] docs.jquery.com

2007-07-02 Thread Pedro Gonçalves
Jquery docs is out?

-- 
Pedro Gonçalves
031-8415 5423
[EMAIL PROTECTED]
www.izap.com.br


[jQuery] Re: $(elem) question

2007-07-02 Thread Rob Desbois

The string #aller is called a selector - meaning it selects elements from
the DOM.
Whilst the ID (#) selector will only ever return at most 1 element, other
selectors can return more than 1, for example:


$(.my_class)


will return all elements with a CSS class of my_class.

The returned object is a jQuery object, which contains, amongst other things
(such as functions) the DOM elements found.
The DOM elements are accessible individually via array element access with
integer index, so $(#aller)[0] will give you the first DOM element found
with ID of aller.

--rob

On 7/2/07, debussy007 [EMAIL PROTECTED] wrote:





I have everything working now, thank u very much for your kind help.
Though I do not understand the array $(#aller)[0]
what are in the next indexes $(#aller)[1], $(#aller)[2], ... ?



Rob Desbois-2 wrote:

 Hi, the syntax you need for selecting by ID is this:

 $(#identifier)

 so to find the element with ID 'aller' you want:

 $(#aller)



 Bear in mind that the $() function does not return a DOM object, it
 returns
 a jQuery object.
 If you want to access a DOM property such as selectedIndex, you will
need
 to
 retrieve the DOM object like this:

 alert($(#aller)[0].selectedIndex);


 Remember also that that line will generate an error if there is no
element
 found with ID 'aller'.

 I hope that explains it for you :-)
 --rob


 On 7/2/07, debussy007 [EMAIL PROTECTED] wrote:



 Hi,

 I am trying to access my SELECT element with jQuery but I can't make it
 working :

 This works :
  alert(document.getElementById('aller')); //
 [object]
  var sel = document.getElementById('aller');
  alert(sel.selectedIndex);   // 0
 This not working :
  alert($(document.aller));   // [object Object]
  alert($(document.aller).selectedIndex);   // undefined

 Could anyone help me ?

 Thank u for any comment.


 --
 View this message in context:

http://www.nabble.com/%24%28elem%29--question-tf4011702s15494.html#a11392465
 Sent from the JQuery mailing list archive at Nabble.com.




 --
 Rob Desbois
 Eml: [EMAIL PROTECTED]
 Tel: 01452 760631
 Mob: 07946 705987
 There's a whale there's a whale there's a whale fish he cried, and the
 whale was in full view.
 ...Then ooh welcome. Ahhh. Ooh mug welcome.



--
View this message in context:
http://www.nabble.com/%24%28elem%29--question-tf4011702s15494.html#a11393227
Sent from the JQuery mailing list archive at Nabble.com.





--
Rob Desbois
Eml: [EMAIL PROTECTED]
Tel: 01452 760631
Mob: 07946 705987
There's a whale there's a whale there's a whale fish he cried, and the
whale was in full view.
...Then ooh welcome. Ahhh. Ooh mug welcome.


[jQuery] Re: NEWS: A Whole Lotta jQuery Love Over at AjaxRain.com

2007-07-02 Thread GianCarlo Mingati

Cool, listed is also my slideViewer plugin and many others!
GC

On Jul 2, 2:03 am, Rey Bango [EMAIL PROTECTED] wrote:
 I've been keeping an eye on AjaxRain.com and I just noticed a big update
 with a boatload of jQuery plugins being listed. Very cool.

 http://www.ajaxrain.com/index.php

 Rey...

 --
 BrightLight Development, LLC.
 954-775- (o)
 954-600-2726 (c)
 [EMAIL PROTECTED]://www.iambright.com



[jQuery] Problem using .children() + selector in IE6

2007-07-02 Thread benjaah

Hi all,

I've got a page where I'm changing the options of a select box and
setting the first one to be selected:
$(#my_select :first-child).attr(selected, true);

It works perfectly with Firefox, Safari and IE7 but doesn't with IE6 !
I've also tried the following without success:
  $(#my_select).children(:first).attr(selected, true);
  $(#my_select :eq(0)).attr(selected, true);
  $(#my_select option:first).attr(selected, true);

I've also had the same bug using other selectors in children with
IE6,
like $(#my_select).children([EMAIL PROTECTED]+my_id+]).attr(selected,
true);

Has anyone experienced the same problem?
Or am I doing something wrong?

Thanx for your help -

Ben



[jQuery] .change for created select menu

2007-07-02 Thread NBoringron

Hi, I hope this isn't a stupid question: I am trying to have a
dropdown menu that will create a new dropdown when it's changed. That
part works. Then, the second dropdown will create a third dropdown
whenever it is changed. That part doesn't work right.

  $(document).ready(function(){
$('#taglist1').change(function(){// detect change in menu
1
  $('#tagline2').html('select id = taglist2/
select').addClass('adddrop');
  $('#taglist2').addOption('1', 'one');
  $('#taglist2').addOption('2', 'two');
  // etc
})

$('#tagline2').change(function(){// detect change in menu
2
  alert('testing'); // firefox says hi, but not ie7
})
  })

p id tagline1
  select id = taglist1 class = adddrop
option value = 0Pick an option/option
option value = 0/option
option value = 1Option 1/option
etc
  /select
/p

p id = tagline2
/p

For the line that is meant to detect a change in the second (created)
menu, I originally had $('#taglist2').change(function(){ which
specifies the id of the new select which I thought was right but
that didn't work at all. The line as it is now $
('#tagline2').change(function(){ specifies the p that the new
select is in. This works in ff2.0.0.4 but not IE7 (haven't tested
below that yet).

Can anyone help? Is this something small or is my whole approach off?



[jQuery] Re: Need help with JQuery + Prototype integration

2007-07-02 Thread sprak

Sorry, that was a cut  paste error in my post; yes, prototype is
included
above jquery.  The protoype code on the pageworks properly, but the
sliding
menu powered by jquery does not.

On Jun 29, 2:35 pm, Ganeshji Marwaha [EMAIL PROTECTED] wrote:
 ur last option is the best :-)

 but, did u try adding prototype.js above jquery.js

 -GTG

 On 6/29/07, sprak [EMAIL PROTECTED] wrote:



  Greetings; I am having a bit of trouble getting JQuery 1.1.2 and
  Prototype 1.5.0 to play
  nice with each other.  Here is my page (abbreviated) and script with
  JQuery alone.

  HTML:
  html
  head
  ...
  script language=JavaScript type=text/javascript src=/design/en/
  javascript/finest200706/jquery-latest.js/script
  script
  jQuery.noConflict();
  /script
  /head
  body
  ...
  div id=mainNav
  ul id=menu
  li
   a href=/solutionsSolutions/a
   ul
li
 a class= href=/solutions/your_needsYour Needs/a
 ul
  lia class=skip href=/solutions/your_needs/
  network_protectionNetwork Protection/a/li
 /ul
/li
   /ul
  /li
  ...
  li
   a class=open href=/portalPortal/a
   ul
lia class=skip href=/prefPreferences/a/li
   /ul
  /li
  /ul
  ...
  /div
  /body
  /html

  Script:
  jQuery(document).ready(function() {
  // mainnav BEGIN
  // add a state on all the menus:
  jQuery(#mainNav  ul li  a + ul).attr(toggle, down);
  // collapse all but class=open:
  jQuery(#mainNav  ul li  a).not(.open).find(+
  ul).slideUp(1).attr(toggle, up);
  // click handler sub menu on level 1
  jQuery(#mainNav  ul  li  a:not(.skip)).click(function() {
  var menu = jQuery(this).find(+ [EMAIL PROTECTED]'up']);
  menu.slideDown(slow);
  jQuery(#mainNav  ul li  a +
  [EMAIL PROTECTED]'down']).slideUp(slow).attr(toggle, up);
  menu.attr(toggle, down);
  return false;
  });
  // click handler sub menu on level 2
  jQuery(#mainNav  ul  li  ul  li 
  a:not(.skip)).click(function() {
  var menu = jQuery(this).find(+ [EMAIL PROTECTED]'up']);
  menu.slideDown(slow);
  jQuery(#mainNav  ul  li  ul  li  a:not(.open) +
  [EMAIL PROTECTED]'down']).slideUp(slow).attr(toggle, up);
  menu.attr(toggle, down);
  return false;
  });
  // load page if skipped from accordeon fx:
  jQuery(#mainNav  ul  li a.skip).click(function() {
  document.location.href = jQuery(this).attr(href);
  return true;
  });
  // mainnav END
  });

  The menu appears with one item already open specified by a a tag
  with
  class=open.  Clicking on a closed menu item slides that menu open
  and closes
  the one already open.  This sliding effect works fine without
  Prototype added.

  Once I add Prototype by modifying my HTML like this:
  script language=JavaScript type=text/javascript src=/design/en/
  javascript/finest200706/jquery-latest.js/script
  script language=JavaScript type=text/javascript src=/design/en/
  javascript/prototype.js/script
  script
  jQuery.noConflict();
  /script

  The sliding effect stops; no errors are reported in Firebug or the
  error console.
  Using Firebug, I stepped through the code and found that buried deep
  in the
  code is a call to filter() that is going awry.

  Without Prototype, the filter call gets to the end and properly
  selects
  the ul element from the document via + [EMAIL PROTECTED]'up'].  Once
  Prototype
  is added, the filter call holds the ul element until near the end;
  haven't
  debugged further, but it clobbers the return result and returns a
  useless object.

  Has anyone seen this before and know how to fix it other than ditching
  Prototype?

  Thanks.

  - luis



[jQuery] Re: Form Plugin and File Uploads (form.submit() is not a function)

2007-07-02 Thread [EMAIL PROTECTED]

Think I found the problem. So for the record: The error:

Error: form.submit is not a function
Source File: jquery.form.js
Line: 292

occurs if the submit button have id=submit.


On Jul 2, 1:20 am, Sergio Michels [EMAIL PROTECTED] wrote:
 I had this problem once, look for the /form tag...

 On 7/1/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:



  Hi,

  Just started to play with jQuery and Form Plugin. And now I have some
  problems :)

  I want to upload a file using jQuery and Form Plugin. When I'm trying
  to upload a file an error occurs, saying:

  Error: form.submit is not a function
  Source File: jquery.form.js
  Line: 292

  If i don't include a file the form submit seems to work fine. Anybody
  knows what I'm doing wrong?

  An example can be seen here:

 http://www.digitalvenues.se/_develop/allstarsrunners/formular/bilder
  (Click the link Ladda upp en ny bild to slide down the upload form)

  FYI: The PHP file being called is just a dummy file, echo-ing: img
  src=../images/bild1.jpg width=100 height=91 alt=Bild1
  style=display:none /

  Thanks,

  Niklas



[jQuery] Re: jQuery 1.1.3+ jBlock-Pluggin

2007-07-02 Thread Toine

In IE6 at least.

On Jul 2, 2:55 pm, John Resig [EMAIL PROTECTED] wrote:
 In which browser does this problem occur?

 --John

 On 7/2/07, Toine [EMAIL PROTECTED] wrote:



  same problem here

  something like that does'nt work with 1.1.3 :

  javascript:alert($('div').css({opacity: '0.5'}))



[jQuery] Re: docs.jquery.com

2007-07-02 Thread Rey Bango


We're getting hammered with traffic at the moment since the news of 
jQuery v1.1.3 is out. We're working on getting everything back to 
normal. You can also use this as a reference:


http://jquery.bassistance.de/api-browser/

Its downloadable as well.

Rey...

Pedro Gonçalves wrote:

Jquery docs is out?

--
Pedro Gonçalves
031-8415 5423
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
www.izap.com.br http://www.izap.com.br


--
BrightLight Development, LLC.
954-775- (o)
954-600-2726 (c)
[EMAIL PROTECTED]
http://www.iambright.com


[jQuery] Re: datePicker scoping question

2007-07-02 Thread Robert O'Rourke

Robert O'Rourke wrote:
 Glad to have the new version of jQuery out, the speed improvements are
 really nice.
 I'm trying it out with the datePicker plugin and it seems fine.

 I'm having trouble getting the datePicker to work with the linked select
 elements example. I'm trying to make it loop through the document
 looking for elements with a class of 'date-select' and then set up a
 scoped set of events on the descendant select boxes and anchor tag.
 There's a bit much code to post in the email here's a link to the page
 I'm working on:

 http://www.sanchothefat.com/dev/js/datepickertest.html

 As far as I can tell, using $('a', this) etc.. should work but I'm
 getting no js errors and no datePicker. Has anyone done something like
 this with the datePicker before? It's for generated date selects so this
 is the best solution for the job.

 Cheers,
 Rob

   

Sorted it now, was a combination of muppetry and not understanding how
$(this) works when a function is stored as a variable. If anyone wants
the code help yourself, it's at the link above.


[jQuery] AJAX response randomly ends prematurely. Any ideas?

2007-07-02 Thread Juha Suni
I'm struggling with a weird yet randomly reproducable constant problem in our 
systems jQuery AJAX-responses.

Some of our pages have links that trigger the loading of content in a large div 
in the page. Rather basic fetching of HTML with jQuery. The problem is that 
randomly, approximately once out of ten requests, the response from the server 
is cut short. Only about half of the HTML seems to arrive and is put into the 
div. Obviously this messes things up.

First thing I did, obviously was to take a deep look at the php script 
producing this bit of HTML, to see if there was something wacky. After some 
digging though, It seems that the problem does not lie in the script producing 
the content, but propably somewhere within apache, http-request headers or the 
parsing of the response. I'm asking here because I hope someone here could 
point me to the right direction. Google has'nt really been my friend on this.

The facts (please do check these before replying):

A) The effect is totally random, approximately 1 out of 10 times the response 
is cut short.
B) The response does not get cut from the same spot every time
C) Looking at Firebug, the response is cut short there too, this would lead me 
to assume it's not a problem with my jQuery code, but rather the actualy HTTP 
response really is cut short.
D) Opening the page that is loaded with ajax in a normal browser window and 
refreshing it never produces the error. The error only happens when this same 
URL is loaded with AJAX. This stronly makes me believe the error does not lie 
within the underlying php script or page, which is really basic).
E) The error happens at least on 2 completely different pages dynamically 
loading two different urls on the same server. (This also would point away from 
a php error)
F) Have tried the exact same code on another identical server with identical 
results
G) So far I've only managed to reproduce the problem when I'm browsing through 
an SSH-tunnel. using an identical server in LAN without SSH in between seems to 
work fine. This is not conclusive however, I've not had a chance to test the 
exact same server with bot offsite ssh-tunneling and onsite lan without ssh.

I'm strongly suspecting some Apache setting to be causing this. The response 
headers indicate Transfer-Encoding: chunked, but I couldn't find anyone else 
having a problem with it and AJAX. Plus the fact that most pages work fine, and 
even the problematic ones totally randomly fail.

Any ideas really appreciated. Debugging this has proven to be extremely 
difficult.

I'm sorry I cant product a live example at this moment. It might prove to be 
rather difficult, and might actually be a bit irrelevant since I really don't 
think the code is to blame here.

What could either cause the server to send clipped responses, or to make the 
browser evaluate the response as complete when in fact it might not yet be?

-- 
Suni

[jQuery] Re: docs.jquery.com

2007-07-02 Thread Rey Bango


jQuery v1.1.3 was released last night. You can read more about the 
changes and enhancements here:


http://jquery.com/blog/2007/07/01/jquery-113-800-faster-still-20kb/

Rey

Charlie Concepcion wrote:

I'm a little confused...

What's new in jQuery?.
did v1.1.3 come recently?

and as far as the docs... when was this released?

On Jul 2, 9:35 am, Rey Bango [EMAIL PROTECTED] wrote:

We're getting hammered with traffic at the moment since the news of
jQuery v1.1.3 is out. We're working on getting everything back to
normal. You can also use this as a reference:

http://jquery.bassistance.de/api-browser/

Its downloadable as well.

Rey...

Pedro Gonçalves wrote:

Jquery docs is out?
--
Pedro Gonçalves
031-8415 5423
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
www.izap.com.brhttp://www.izap.com.br

--
BrightLight Development, LLC.
954-775- (o)
954-600-2726 (c)
[EMAIL PROTECTED]://www.iambright.com





--
BrightLight Development, LLC.
954-775- (o)
954-600-2726 (c)
[EMAIL PROTECTED]
http://www.iambright.com


[jQuery] Re: 1.1.3 breaks opacity effects in IE?

2007-07-02 Thread Sam Collett

The blocking is fine, it's just the background is completely black (or
whatever colour you set for the overlay): http://www.texotela.co.uk/blockUI.php

On Jul 2, 1:29 pm, Mike Alsup [EMAIL PROTECTED] wrote:
  This also affects the blockUI plugin which also uses opacity.

 Sam, BlockUI doesn't have any problems with 1.1.3.  I'm seeing the
 same issue that Gordon pointed out with IE7 and animations, but
 blockUI works fine.

 Mike



[jQuery] Re: jQuery 1.1.3+ jBlock-Pluggin

2007-07-02 Thread Sam Collett

A simple test
in head:

script type=text/javascript src=js/plugins/jquery.blockUI.js/
script
script type=text/javascript
!--
$(
function()
{
$.extend($.blockUI.defaults.overlayCSS, { background-color :
#000 });
$.blockUI(strongBlockUI Test. Click to close/strong);
$(document).bind(click,
function(e)
{
$.unblockUI();
}
)
}
);
//--
/script

You should still see the contents, rather than just black.

On Jul 2, 1:31 pm, Mike Alsup [EMAIL PROTECTED] wrote:
 Oscar,

 BlockUI works fine in 1.1.3, but there may be an issue with using a
 semi-transparent message.  I don't think I've ever tried that myself.

 Mike

 On 7/2/07, oscar esp [EMAIL PROTECTED] wrote:



  Seems that block pluggin doens't work the same way with jQuery 1.1.3

  With  1.1.2:
  -   I had jBlock message with filter opacity in order to show a message
  with semi transparent background.

  With 1.1.3:
  -   Same code doesn't maintain the opacity and now is 100% (0
  transparency).



[jQuery] SOT: Sorting Google Group e-mail in Outlook 2003...

2007-07-02 Thread Dan G. Switzer, II

Has anyone figured out how to get Outlook 2003 to correctly group messages?
Sorting by Conversation seems to be the best, but replies are never grouped
near the original thread.

-Dan



[jQuery] Re: 1.1.3 breaks opacity effects in IE?

2007-07-02 Thread Mike Alsup


Sorry about that, Sam.  You're quite right.  I was testing with the
wrong release.  The opacity is not working correctly in IE7.  Is IE6
working?  Virtual PC is giving me fits at the moment.

Mike


On 7/2/07, Sam Collett [EMAIL PROTECTED] wrote:


The blocking is fine, it's just the background is completely black (or
whatever colour you set for the overlay): http://www.texotela.co.uk/blockUI.php

On Jul 2, 1:29 pm, Mike Alsup [EMAIL PROTECTED] wrote:
  This also affects the blockUI plugin which also uses opacity.

 Sam, BlockUI doesn't have any problems with 1.1.3.  I'm seeing the
 same issue that Gordon pointed out with IE7 and animations, but
 blockUI works fine.

 Mike




[jQuery] Re: docs.jquery.com

2007-07-02 Thread Charlie Concepcion

I see there is api reference browser for 1.1.2... when is the one for
1.1.3 coming out?

On Jul 2, 10:52 am, Rey Bango [EMAIL PROTECTED] wrote:
 jQuery v1.1.3 was released last night. You can read more about the
 changes and enhancements here:

 http://jquery.com/blog/2007/07/01/jquery-113-800-faster-still-20kb/

 Rey



 Charlie Concepcion wrote:
  I'm a little confused...

  What's new in jQuery?.
  did v1.1.3 come recently?

  and as far as the docs... when was this released?

  On Jul 2, 9:35 am, Rey Bango [EMAIL PROTECTED] wrote:
  We're getting hammered with traffic at the moment since the news of
  jQuery v1.1.3 is out. We're working on getting everything back to
  normal. You can also use this as a reference:

 http://jquery.bassistance.de/api-browser/

  Its downloadable as well.

  Rey...

  Pedro Gonçalves wrote:
  Jquery docs is out?
  --
  Pedro Gonçalves
  031-8415 5423
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 www.izap.com.brhttp://www.izap.com.br
  --
  BrightLight Development, LLC.
  954-775- (o)
  954-600-2726 (c)
  [EMAIL PROTECTED]://www.iambright.com

 --
 BrightLight Development, LLC.
 954-775- (o)
 954-600-2726 (c)
 [EMAIL PROTECTED]://www.iambright.com



[jQuery] jCarousel: start image

2007-07-02 Thread Field
Hi, friends!

I very like to use jCarousel, this excellent plugin. But I can't understand how 
to scroll carousel to x item automatically. 

For example: I have 50 items in carousel. After page loading I need to see not 
first item (as default), but 30th. 

I red http://www.nabble.com/Starting-image-t2668575.html but this function not 
works. 
Using of carousel method .scroll() works fine by element events like 
jQuery('#mycarousel-next').bind('click', function(){} But how to make this on 
page loading? 

I spent half day and haven't any result. Please, help me!

Yes, I'm novice in jQuery :)

Thanx!

[jQuery] Re: Select list scroll event?

2007-07-02 Thread owen

  funny, it works in opera and ie6, just not in FF.
 work for me on FF2

I'm confused, because it doesn't work as I expect it on any of those
browsers. Are you saying that when you click the drop-down and
highlight one of the choices the images changes appropriately /
without/ clicking? It only works for me if I actually choose one of
the options.

  -- Owen



[jQuery] Re: NEWS: A Whole Lotta jQuery Love Over at AjaxRain.com

2007-07-02 Thread Sergio Michels
very cool!

On 7/2/07, GianCarlo Mingati [EMAIL PROTECTED] wrote:


 Cool, listed is also my slideViewer plugin and many others!
 GC

 On Jul 2, 2:03 am, Rey Bango [EMAIL PROTECTED] wrote:
  I've been keeping an eye on AjaxRain.com and I just noticed a big update
  with a boatload of jQuery plugins being listed. Very cool.
 
  http://www.ajaxrain.com/index.php
 
  Rey...
 
  --
  BrightLight Development, LLC.
  954-775- (o)
  954-600-2726 (c)
  [EMAIL PROTECTED]://www.iambright.com




[jQuery] Re: docs.jquery.com

2007-07-02 Thread John Resig


The API for 1.1.3 is identical to 1.1.2,  you shouldn't have to worry.

--John

On 7/2/07, Charlie Concepcion [EMAIL PROTECTED] wrote:


I see there is api reference browser for 1.1.2... when is the one for
1.1.3 coming out?

On Jul 2, 10:52 am, Rey Bango [EMAIL PROTECTED] wrote:
 jQuery v1.1.3 was released last night. You can read more about the
 changes and enhancements here:

 http://jquery.com/blog/2007/07/01/jquery-113-800-faster-still-20kb/

 Rey



 Charlie Concepcion wrote:
  I'm a little confused...

  What's new in jQuery?.
  did v1.1.3 come recently?

  and as far as the docs... when was this released?

  On Jul 2, 9:35 am, Rey Bango [EMAIL PROTECTED] wrote:
  We're getting hammered with traffic at the moment since the news of
  jQuery v1.1.3 is out. We're working on getting everything back to
  normal. You can also use this as a reference:

 http://jquery.bassistance.de/api-browser/

  Its downloadable as well.

  Rey...

  Pedro Gonçalves wrote:
  Jquery docs is out?
  --
  Pedro Gonçalves
  031-8415 5423
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 www.izap.com.brhttp://www.izap.com.br
  --
  BrightLight Development, LLC.
  954-775- (o)
  954-600-2726 (c)
  [EMAIL PROTECTED]://www.iambright.com

 --
 BrightLight Development, LLC.
 954-775- (o)
 954-600-2726 (c)
 [EMAIL PROTECTED]://www.iambright.com




[jQuery] Re: 1.1.3 breaks opacity effects in IE?

2007-07-02 Thread Brandon Aaron

I just checked in a fix for the IE opacity issues. Sorry guys ... we did so
much testing and preparing for this one ... just can't catch them all I
suppose. I think we have one more major issue to squash in 1.1.3 and then we
will do another bug fix release. In the mean time just grab the latest from
SVN if you can.

--
Brandon Aaron

On 7/2/07, Mike Alsup [EMAIL PROTECTED] wrote:



Sorry about that, Sam.  You're quite right.  I was testing with the
wrong release.  The opacity is not working correctly in IE7.  Is IE6
working?  Virtual PC is giving me fits at the moment.

Mike


On 7/2/07, Sam Collett [EMAIL PROTECTED] wrote:

 The blocking is fine, it's just the background is completely black (or
 whatever colour you set for the overlay):
http://www.texotela.co.uk/blockUI.php

 On Jul 2, 1:29 pm, Mike Alsup [EMAIL PROTECTED] wrote:
   This also affects the blockUI plugin which also uses opacity.
 
  Sam, BlockUI doesn't have any problems with 1.1.3.  I'm seeing the
  same issue that Gordon pointed out with IE7 and animations, but
  blockUI works fine.
 
  Mike





[jQuery] Re: How to bind a submit form action

2007-07-02 Thread Massimiliano Marini

 $(.public).after(input type=submit name=action value=Update
 class=update).remove();
 $('#formPub').unbind('submit').find(':submit,input:image').unbind
 ('click'); $('#formPub').ajaxForm({
  target: '#response',
  beforeSubmit: function() { /* whatever */ },
  success: function(){  $('#response').fadeIn('slow'); }
 });

Thanks Mike, it's simply perfect! 

--
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
It's easier to invent the future than to predict it.  -- Alan Kay


[jQuery] Re: 1.1.3 breaks opacity effects in IE?

2007-07-02 Thread weepy

I also had a problem, this time only with IE6

line 1587 == return elem.filter ? (parseFloat( elem.filter.match(/
opacity=([^)]*)/)[1] ) / 100).toString() : ;

was causing an error as my filter didnt have opacity= string in it.

i fixed by changing to  :

== return elem.filter ? (parseFloat( (elem.filter.match(/
opacity=([^)]*)/) || [100]) [1] ) / 1 00).toString() : ;



[jQuery] Re: docs.jquery.com

2007-07-02 Thread Rey Bango


Charlie,

Apart from the .is() method taking multiple selectors, yhe overall API 
hasn't changed so the current docs are still valid.


If you're referring to this:

http://jquery.bassistance.de/api-browser/

that's also valid and requires a simple text changes. Thats managed by 
Joern and I will ask him to update the version number.


Rey...

Charlie Concepcion wrote:

I see there is api reference browser for 1.1.2... when is the one for
1.1.3 coming out?

On Jul 2, 10:52 am, Rey Bango [EMAIL PROTECTED] wrote:

jQuery v1.1.3 was released last night. You can read more about the
changes and enhancements here:

http://jquery.com/blog/2007/07/01/jquery-113-800-faster-still-20kb/

Rey



Charlie Concepcion wrote:

I'm a little confused...
What's new in jQuery?.
did v1.1.3 come recently?
and as far as the docs... when was this released?
On Jul 2, 9:35 am, Rey Bango [EMAIL PROTECTED] wrote:

We're getting hammered with traffic at the moment since the news of
jQuery v1.1.3 is out. We're working on getting everything back to
normal. You can also use this as a reference:
http://jquery.bassistance.de/api-browser/
Its downloadable as well.
Rey...
Pedro Gonçalves wrote:

Jquery docs is out?
--
Pedro Gonçalves
031-8415 5423
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
www.izap.com.brhttp://www.izap.com.br

--
BrightLight Development, LLC.
954-775- (o)
954-600-2726 (c)
[EMAIL PROTECTED]://www.iambright.com

--
BrightLight Development, LLC.
954-775- (o)
954-600-2726 (c)
[EMAIL PROTECTED]://www.iambright.com





--
BrightLight Development, LLC.
954-775- (o)
954-600-2726 (c)
[EMAIL PROTECTED]
http://www.iambright.com


[jQuery] Re: jQuery 1.1.3 and easing plugin

2007-07-02 Thread Glen Lipka

In the easing plugin, do a search and replace for the word linear and
change it to swing. There should be 2 instances.
See if that helps.

Glen


On 7/2/07, Bolos [EMAIL PROTECTED] wrote:



Hi,
I have replaced jQuery 1.1.2 with the new version and I've some
problems with the easing plugin.
The animations works properly, but I receive a lot of errors like
this: jQuery.easing[e.easing] is not a function.

Any suggestion to solve this problem?

Thanks in advance.
-Bolos




[jQuery] Re: Binding actions after an ajax call?

2007-07-02 Thread tzmedia

Don't feel bad Tobias, not sure what's the matter with somebody
hosting an actual message board for jquery.
It makes so much more sense, except somebody's got to supply the
hosting for it.
Another thing you'll find yourself doing is replying to the author
which only sends and email to the author.
The groups are so much harder to keep up with, IMO.

On Jul 1, 12:46 pm, Tobias Parent [EMAIL PROTECTED] wrote:
 Sorry, folks - my bad.
  -Toby (told ya I was a NOOB...)

 Brad Perkins wrote:
  That's just the way Gmail threads its messages.  It appears the poster
  replied to the original thread and changed the subject. Google Groups
  noted Discussion subject changed to Binding actions after an ajax
  call? by Tobias Parent.

  Instead of using the actual subject Gmail uses a common index or ID
  that is in the message header. Some mail clients don't do this which
  is why we often see two or more threads on the same topic, e.g.,
  Subject and re: Subject.

  The downside to this is that original subject title in no longer
  clearly visible.

  On Jul 1, 6:18 am, [EMAIL PROTECTED] wrote:

  There's some sort of error with the Gmail group a subject titled:
  Binding Actions to an ajax call is being piled on at the bottom of the
  thread started by Ray Bango:
  ANNOUNCE: Call for Articles for Visual jQuery Magazine...
  Strange huh?

  On Jun 30, 8:10 pm, Tobias Parent [EMAIL PROTECTED] wrote:

  Hey -

   I've got content being loaded via

  $('#myDivID div.itemContent').load('/controller/action/'), and the
  information being loaded is a list of links, which I'd like to set to
  trigger a series of ajax calls for related DIV's throughout the page.
  Can I simply set the callback on the load() to a bind()? Total NOOB, in
  over my head.

  glub, blub...

  - Toby



[jQuery] Re: 1.1.3 speed regression for selection of tags

2007-07-02 Thread Renato Formato


Karl Rudd ha scritto:


Just been going through some of my current work and seeing what
improvements come with jQuery 1.1.3. Unfortunately it looks like
there's a bit of a regression in terms of speed for Firefox (2.0.0.4).

So far I've only looked at the speed decrease when selecting 'input'
elements, so it may be isolated to them or something general.

You'll need Firebug on Firefox. Firebug lite is included though.

Here's a page with using 1.1.2:

   http://krudd.net/jquery113speed/jquery_elementtest_112.html
   Result: setup: 781ms

Here's the same page using 1.1.3:

   http://krudd.net/jquery113speed/jquery_elementtest_113.html
   Result: setup: 1937ms

And for kicks I looked at using straight DOM methods to select the
'inputs' (getElementsByTagName) and 1.1.3:

   http://krudd.net/jquery113speed/jquery_elementtest_113_dom.html
   Result: setup: 531ms

I haven't had time to dig through the 1.1.3 source to see where the
slowdown could be occurring. Anyone have any ideas?

Under IE there is a similar, though markedly smaller, slow down
between 1.1.2 and 1.1.3.

Karl Rudd



Most of the time in jQuery 1.1.3 is spent inside the filter function.
I've done some tests and it seems that storing the most complex regexs 
in a var instead of compiling them over and over, makes your code faster 
in jQuery 1.1.3.


Renato


[jQuery] Re: 1.1.3 breaks opacity effects in IE?

2007-07-02 Thread Brandon Aaron

I saw the bug report for this ... do you have a test case? I can't reproduce
this one.

--
Brandon Aaron

On 7/2/07, weepy [EMAIL PROTECTED] wrote:



I also had a problem, this time only with IE6

line 1587 == return elem.filter ? (parseFloat( elem.filter.match(/
opacity=([^)]*)/)[1] ) / 100).toString() : ;

was causing an error as my filter didnt have opacity= string in it.

i fixed by changing to  :

== return elem.filter ? (parseFloat( (elem.filter.match(/
opacity=([^)]*)/) || [100]) [1] ) / 1 00).toString() : ;




[jQuery] Re: docs.jquery.com

2007-07-02 Thread Charlie Concepcion

Thanks John! :)

On Jul 2, 11:42 am, John Resig [EMAIL PROTECTED] wrote:
 The API for 1.1.3 is identical to 1.1.2,  you shouldn't have to worry.

 --John

 On 7/2/07, Charlie Concepcion [EMAIL PROTECTED] wrote:



  I see there is api reference browser for 1.1.2... when is the one for
  1.1.3 coming out?

  On Jul 2, 10:52 am, Rey Bango [EMAIL PROTECTED] wrote:
   jQuery v1.1.3 was released last night. You can read more about the
   changes and enhancements here:

  http://jquery.com/blog/2007/07/01/jquery-113-800-faster-still-20kb/

   Rey

   Charlie Concepcion wrote:
I'm a little confused...

What's new in jQuery?.
did v1.1.3 come recently?

and as far as the docs... when was this released?

On Jul 2, 9:35 am, Rey Bango [EMAIL PROTECTED] wrote:
We're getting hammered with traffic at the moment since the news of
jQuery v1.1.3 is out. We're working on getting everything back to
normal. You can also use this as a reference:

   http://jquery.bassistance.de/api-browser/

Its downloadable as well.

Rey...

Pedro Gonçalves wrote:
Jquery docs is out?
--
Pedro Gonçalves
031-8415 5423
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   www.izap.com.brhttp://www.izap.com.br
--
BrightLight Development, LLC.
954-775- (o)
954-600-2726 (c)
[EMAIL PROTECTED]://www.iambright.com

   --
   BrightLight Development, LLC.
   954-775- (o)
   954-600-2726 (c)
   [EMAIL PROTECTED]://www.iambright.com



[jQuery] Re: docs.jquery.com

2007-07-02 Thread Charlie Concepcion

Thanks Rey, thanks John!

Got another question... The book that's coming out regarding learning
jQuery... is it gonna be updated..

I mean you got versions of Query coming monthly I see... 1.2 is said
to be coming out end of Aug.

So I'm wondering if I buy this book... Am I gonna be up to date... Or
do u rather I just learn from the references online?

Another thing... I'd like to start learning on AJAX jQuery use... u
got any links to get me started.. I mean I see references for use in
API but I need examples so I can start testing myself...

thanks guys..

On Jul 2, 11:47 am, Rey Bango [EMAIL PROTECTED] wrote:
 Charlie,

 Apart from the .is() method taking multiple selectors, yhe overall API
 hasn't changed so the current docs are still valid.

 If you're referring to this:

 http://jquery.bassistance.de/api-browser/

 that's also valid and requires a simple text changes. Thats managed by
 Joern and I will ask him to update the version number.

 Rey...



 Charlie Concepcion wrote:
  I see there is api reference browser for 1.1.2... when is the one for
  1.1.3 coming out?

  On Jul 2, 10:52 am, Rey Bango [EMAIL PROTECTED] wrote:
  jQuery v1.1.3 was released last night. You can read more about the
  changes and enhancements here:

 http://jquery.com/blog/2007/07/01/jquery-113-800-faster-still-20kb/

  Rey

  Charlie Concepcion wrote:
  I'm a little confused...
  What's new in jQuery?.
  did v1.1.3 come recently?
  and as far as the docs... when was this released?
  On Jul 2, 9:35 am, Rey Bango [EMAIL PROTECTED] wrote:
  We're getting hammered with traffic at the moment since the news of
  jQuery v1.1.3 is out. We're working on getting everything back to
  normal. You can also use this as a reference:
 http://jquery.bassistance.de/api-browser/
  Its downloadable as well.
  Rey...
  Pedro Gonçalves wrote:
  Jquery docs is out?
  --
  Pedro Gonçalves
  031-8415 5423
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 www.izap.com.brhttp://www.izap.com.br
  --
  BrightLight Development, LLC.
  954-775- (o)
  954-600-2726 (c)
  [EMAIL PROTECTED]://www.iambright.com
  --
  BrightLight Development, LLC.
  954-775- (o)
  954-600-2726 (c)
  [EMAIL PROTECTED]://www.iambright.com

 --
 BrightLight Development, LLC.
 954-775- (o)
 954-600-2726 (c)
 [EMAIL PROTECTED]://www.iambright.com



[jQuery] Re: 1.1.3 breaks opacity effects in IE?

2007-07-02 Thread Sam Collett

It is not something you can catch by writing automated tests, so it is
understandable that it may have been missed.

Perhaps this (and whatever major issue is left) will mean a 1.1.3.1
release soon?

On Jul 2, 4:42 pm, Brandon Aaron [EMAIL PROTECTED] wrote:
 I just checked in a fix for the IE opacity issues. Sorry guys ... we did so
 much testing and preparing for this one ... just can't catch them all I
 suppose. I think we have one more major issue to squash in 1.1.3 and then we
 will do another bug fix release. In the mean time just grab the latest from
 SVN if you can.

 --
 Brandon Aaron

 On 7/2/07, Mike Alsup [EMAIL PROTECTED] wrote:



  Sorry about that, Sam.  You're quite right.  I was testing with the
  wrong release.  The opacity is not working correctly in IE7.  Is IE6
  working?  Virtual PC is giving me fits at the moment.

  Mike

  On 7/2/07, Sam Collett [EMAIL PROTECTED] wrote:

   The blocking is fine, it's just the background is completely black (or
   whatever colour you set for the overlay):
 http://www.texotela.co.uk/blockUI.php

   On Jul 2, 1:29 pm, Mike Alsup [EMAIL PROTECTED] wrote:
 This also affects the blockUI plugin which also uses opacity.

Sam, BlockUI doesn't have any problems with 1.1.3.  I'm seeing the
same issue that Gordon pointed out with IE7 and animations, but
blockUI works fine.

Mike



[jQuery] Re: 1.1.3 breaks opacity effects in IE?

2007-07-02 Thread Sam Collett

It doesn't seem to work at all in IE6 (through VPC) - the overlay
doesn't cover the screen (only a small band at the bottom) and the box
is actually in the background.

On Jul 2, 4:34 pm, Mike Alsup [EMAIL PROTECTED] wrote:
 Sorry about that, Sam.  You're quite right.  I was testing with the
 wrong release.  The opacity is not working correctly in IE7.  Is IE6
 working?  Virtual PC is giving me fits at the moment.

 Mike

 On 7/2/07, Sam Collett [EMAIL PROTECTED] wrote:



  The blocking is fine, it's just the background is completely black (or
  whatever colour you set for the 
  overlay):http://www.texotela.co.uk/blockUI.php

  On Jul 2, 1:29 pm, Mike Alsup [EMAIL PROTECTED] wrote:
This also affects the blockUI plugin which also uses opacity.

   Sam, BlockUI doesn't have any problems with 1.1.3.  I'm seeing the
   same issue that Gordon pointed out with IE7 and animations, but
   blockUI works fine.

   Mike



[jQuery] Re: Problems with select *newbie question

2007-07-02 Thread Jean


thanks works
but my problem was with the name of field in mysql LOL
all is gd now =D

On 6/29/07, Sergio Michels [EMAIL PROTECTED] wrote:

did you tried just $(select).val() ?


On 6/29/07, Jean [EMAIL PROTECTED] wrote:

 This worked, but isnt now and i dont know why, someone could help me?

 $('select').change(function() {alert($(select
option:selected).val());});

 --

 []´s Jean
 www.suissa.info

Ethereal Agency
 www.etherealagency.com






--

[]´s Jean
www.suissa.info

  Ethereal Agency
www.etherealagency.com


[jQuery] Re: jCarousel: start image

2007-07-02 Thread Jan Sorgalla

Hi,

On Jul 2, 5:17 pm, Field [EMAIL PROTECTED] wrote:
 Hi, friends!

 I very like to use jCarousel, this excellent plugin. But I can't understand 
 how to scroll carousel to x item automatically.

 For example: I have 50 items in carousel. After page loading I need to see 
 not first item (as default), but 30th.

 I redhttp://www.nabble.com/Starting-image-t2668575.htmlbut this function not 
 works.
 Using of carousel method .scroll() works fine by element events like 
 jQuery('#mycarousel-next').bind('click', function(){} But how to make this on 
 page loading?

Did you checked the example: 
http://sorgalla.com/projects/jcarousel/examples/special_start.html

Jan



[jQuery] Re: 1.1.3 breaks opacity effects in IE?

2007-07-02 Thread weepy

 I saw the bug report for this ... do you have a test case? I can't reproduce

I think the reason that this reason that it occurs is that I'm using a
custom version of idrop.js that stops the opacity turning on for the
draggable.

I changed it because 24bit PNGs in IE7 look horrible if the opacity
turns on (even to 100%).

*...(




On Jul 2, 4:48 pm, Brandon Aaron [EMAIL PROTECTED] wrote:

 this one.

 --
 Brandon Aaron

 On 7/2/07, weepy [EMAIL PROTECTED] wrote:



  I also had a problem, this time only with IE6

  line 1587 == return elem.filter ? (parseFloat( elem.filter.match(/
  opacity=([^)]*)/)[1] ) / 100).toString() : ;

  was causing an error as my filter didnt have opacity= string in it.

  i fixed by changing to  :

  == return elem.filter ? (parseFloat( (elem.filter.match(/
  opacity=([^)]*)/) || [100]) [1] ) / 1 00).toString() : ;



[jQuery] Re: jQuery 1.1.3: 800%+ Faster, still 20KB

2007-07-02 Thread Jake McGraw


Congrats on the release, fyi, Wordpress blog was nuked due to diggs.

- jake

On 7/2/07, Rey Bango [EMAIL PROTECTED] wrote:


Hi Rob,

XPath is a consideration for v1.2. Its in the roadmap found here:
http://docs.jquery.com/JQuery_1.2_Roadmap

 ...jQuery has a fast API for non-XPath browsers, but its speed in Firefox
 sux (comparatively).

I have to disagree with you on this. At this point, we're well within
the selector speed range of the major libraries in Firefox, even without
XPath and if you run the tests in IE6 or IE7, we're SUBSTANTIALLY faster
than most. If you look at look at the results per selector as opposed to
the aggregated score, you'll see that jQuery's selector performance is
just fine.

At this point we will focus on our attention on enhancing other areas of
the jQuery library but will certainly consider performance enhancements
for v1.2.

Thanks,

Rey...






[jQuery] Re: docs.jquery.com

2007-07-02 Thread Sean Catchpole


On 7/2/07, Charlie Concepcion [EMAIL PROTECTED] wrote:

Got another question... The book that's coming out regarding learning
jQuery... is it gonna be updated..


While there are new versions of jQuery coming out, one should note
that these are small changes to the overall ability and purpose of the
library which will stay the same. Hopefully the books will be updated
for all major version changes, but regardless always using the most
up-to-date api reference is advisable.

~Sean


[jQuery] fadeIn w/jQuery 1.1.3?

2007-07-02 Thread Priest, James (NIH/NIEHS) [C]

I updated my main jquery.js file today updating my site to 1.1.3 (from
1.1.2) and everything works except fadeIn?

I played around with it and fadeOut seems to work if I make the duration
really long:

$(#warning).fadeOut(1);

But doing the opposite for fadeIn:

$(#warning).fadeIn(1);

Doesn't do anything - the element always remains visible.

I also tried:

$(#warning).fadeIn(slow);

But that didn't work either.

Everything else works great! (tabs, tables, etc)

Jim


[jQuery] Re: jQuery 1.1.3 and easing plugin

2007-07-02 Thread Karl Swedberg

On Jul 2, 2007, at 11:50 AM, Glen Lipka wrote:
In the easing plugin, do a search and replace for the word linear  
and change it to swing. There should be 2 instances.

See if that helps.


Or, grab the latest copy of George's easing plugin, which plays  
nicely with 1.1.3 now:

http://gsgd.co.uk/sandbox/jquery.easing.php

Cheers,

--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com






Glen


On 7/2/07, Bolos [EMAIL PROTECTED] wrote:

Hi,
I have replaced jQuery 1.1.2 with the new version and I've some
problems with the easing plugin.
The animations works properly, but I receive a lot of errors like
this: jQuery.easing[e.easing ] is not a function.

Any suggestion to solve this problem?

Thanks in advance.
-Bolos






[jQuery] sprintf or printf for jquery?

2007-07-02 Thread Robert O'Rourke


Hi there,

   I'm having fun with Kelvin Luck's datePicker plugin but I've run 
into a snag where I need to display a number with a leading 0 if it's 
only 1 character for the thing to work. I'm pulling out the startDate 
and endDate from the maximum bounds of the select elements I'm using. 
Does jQuery have something like printf() that will do this for me? There 
are a couple of functions out there that people have written but they're 
pretty meaty for my purposes. I was looking at 
http://www.vladdy.net/Demos/printf.html but the code is beyond me.


   Cheers,
   Rob

  


[jQuery] Re: sprintf or printf for jquery?

2007-07-02 Thread Aaron Heimlich

You might wanna check this out:

http://bassistance.de/jquery-plugins/jquery-plugin-format/

On 7/2/07, Robert O'Rourke [EMAIL PROTECTED] wrote:



Hi there,

I'm having fun with Kelvin Luck's datePicker plugin but I've run
into a snag where I need to display a number with a leading 0 if it's
only 1 character for the thing to work. I'm pulling out the startDate
and endDate from the maximum bounds of the select elements I'm using.
Does jQuery have something like printf() that will do this for me? There
are a couple of functions out there that people have written but they're
pretty meaty for my purposes. I was looking at
http://www.vladdy.net/Demos/printf.html but the code is beyond me.

Cheers,
Rob






--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com


[jQuery] Re: jQuery 1.1.3 and easing plugin

2007-07-02 Thread Glen Lipka

Are there other changes in that version besides this fix?

Glen

On 7/2/07, Karl Swedberg [EMAIL PROTECTED] wrote:


On Jul 2, 2007, at 11:50 AM, Glen Lipka wrote:

In the easing plugin, do a search and replace for the word linear and
change it to swing. There should be 2 instances.
See if that helps.


Or, grab the latest copy of George's easing plugin, which plays nicely
with 1.1.3 now:
http://gsgd.co.uk/sandbox/jquery.easing.php

Cheers,

--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com





Glen


On 7/2/07, Bolos [EMAIL PROTECTED] wrote:


 Hi,
 I have replaced jQuery 1.1.2 with the new version and I've some
 problems with the easing plugin.
 The animations works properly, but I receive a lot of errors like
 this: jQuery.easing[e.easing ] is not a function.

 Any suggestion to solve this problem?

 Thanks in advance.
 -Bolos






[jQuery] Re: sprintf or printf for jquery?

2007-07-02 Thread Robert O'Rourke


Hmm, I need to use it with .val() ideally... I found this now:
http://alexei.417.ro/system/files/sprintf.js.txt

it's pretty lightweight. I guess the printf/sprintf functionality is 
more standalone really. Would be cool if it could be condensed further 
and y'know, jquerified for the sake of it =P, but maybe some other time...


thanks Aaron.
Rob

Aaron Heimlich wrote:

You might wanna check this out:

http://bassistance.de/jquery-plugins/jquery-plugin-format/

On 7/2/07, * Robert O'Rourke* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



Hi there,

I'm having fun with Kelvin Luck's datePicker plugin but I've run
into a snag where I need to display a number with a leading 0 if it's
only 1 character for the thing to work. I'm pulling out the startDate
and endDate from the maximum bounds of the select elements I'm using.
Does jQuery have something like printf() that will do this for me?
There
are a couple of functions out there that people have written but
they're
pretty meaty for my purposes. I was looking at
http://www.vladdy.net/Demos/printf.html but the code is beyond me.

Cheers,
Rob





--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://aheimlich.freepgs.com 




[jQuery] 1.1.3 and Interface

2007-07-02 Thread Jeffrey Kretz
I am thrilled to see the 1.1.3 release.

 

One question, my main project makes heavy use of Interface.  Is this project
still being developed?  Can we expect any updates to it?  Or changes that
take advantage of the 1.1.3 event/animation improvements?

 

JK

 



[jQuery] Re: docs.jquery.com

2007-07-02 Thread Glen Lipka

We can only write with what we know at the time.
I am working off jQuery version 3.5, which will come out in the winter. ;)

Seriously, I will probably try to use 1.2 if I can.

Glen

On 7/2/07, Charlie Concepcion [EMAIL PROTECTED] wrote:



Thanks Rey, thanks John!

Got another question... The book that's coming out regarding learning
jQuery... is it gonna be updated..

I mean you got versions of Query coming monthly I see... 1.2 is said
to be coming out end of Aug.

So I'm wondering if I buy this book... Am I gonna be up to date... Or
do u rather I just learn from the references online?

Another thing... I'd like to start learning on AJAX jQuery use... u
got any links to get me started.. I mean I see references for use in
API but I need examples so I can start testing myself...

thanks guys..

On Jul 2, 11:47 am, Rey Bango [EMAIL PROTECTED] wrote:
 Charlie,

 Apart from the .is() method taking multiple selectors, yhe overall API
 hasn't changed so the current docs are still valid.

 If you're referring to this:

 http://jquery.bassistance.de/api-browser/

 that's also valid and requires a simple text changes. Thats managed by
 Joern and I will ask him to update the version number.

 Rey...



 Charlie Concepcion wrote:
  I see there is api reference browser for 1.1.2... when is the one for
  1.1.3 coming out?

  On Jul 2, 10:52 am, Rey Bango [EMAIL PROTECTED] wrote:
  jQuery v1.1.3 was released last night. You can read more about the
  changes and enhancements here:

 http://jquery.com/blog/2007/07/01/jquery-113-800-faster-still-20kb/

  Rey

  Charlie Concepcion wrote:
  I'm a little confused...
  What's new in jQuery?.
  did v1.1.3 come recently?
  and as far as the docs... when was this released?
  On Jul 2, 9:35 am, Rey Bango [EMAIL PROTECTED] wrote:
  We're getting hammered with traffic at the moment since the news of
  jQuery v1.1.3 is out. We're working on getting everything back to
  normal. You can also use this as a reference:
 http://jquery.bassistance.de/api-browser/
  Its downloadable as well.
  Rey...
  Pedro Gonçalves wrote:
  Jquery docs is out?
  --
  Pedro Gonçalves
  031-8415 5423
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 www.izap.com.brhttp://www.izap.com.br
  --
  BrightLight Development, LLC.
  954-775- (o)
  954-600-2726 (c)
  [EMAIL PROTECTED]://www.iambright.com
  --
  BrightLight Development, LLC.
  954-775- (o)
  954-600-2726 (c)
  [EMAIL PROTECTED]://www.iambright.com

 --
 BrightLight Development, LLC.
 954-775- (o)
 954-600-2726 (c)
 [EMAIL PROTECTED]://www.iambright.com




[jQuery] Re: sort of horizontal scrolling

2007-07-02 Thread Ganeshji Marwaha

Sorry Gian, I wasn't able to get around to it this weekend... I will try to
squeeze out some time over the week... I will keep you posted.

-GTG

On 7/2/07, GianCarlo Mingati [EMAIL PROTECTED] wrote:



Ganeshji
hi, what was the weekend? Did you played with this stuff?
Made something to show us?
Ciao
GC


On Jun 29, 6:25 pm, Ganeshji Marwaha [EMAIL PROTECTED] wrote:
 I was already playing a bit with it, as another feature for my
jCarouselLite
 plugin http://www.gmarwaha.com/jquery/jcarousellite/index.php.
 The feature request came from some jQuery user here.

 I am going to give it a shot this weekend to see if i can get it done
 without too much code... If it is more than a few lines, then i will not
be
 incorporating it into jCarouselLite, rather i will make a separate
plugin
 outta it.

 Lets see if i am able to get something out this weekend. :-)

 -GTG

 On 6/29/07, GianCarlo Mingati [EMAIL PROTECTED] wrote:



  Hi all
  i was investigating at make something like this:
 http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm
  but with jquery.

  does anybody played with this stuff already?
  How do i calculate how much the UL has already scrolled left? The
  gallery should be wrapped whitin a div with overflow hidden (and the
  dimensions.plugin only works - if i am not wrong - on containers with
  overflow auto) and even if i say $(div.mydiv ul).css(left, -300)
  and then check for it's LEFT css property i always get 0 (the starting
  point) since the UL is relatively positioned with left _and_ top set
  to 0.
  It would a handy plugin to make lot of things... but it's too
  complicated.

  In flash you have a ._x property wich onenterframe can always tells
  you how 's the x of something. How do i get the ._x property of an
  element?

  Bah.. i'm going to fly my r/c heli for sure it's easier... ;-)
  Have a nice weekend.

  OT: this is an onboard video i get a month ago.
 http://www.gcmingati.net/wordpress/2007/05/13/go-fly/

  GC




[jQuery] Re: jQuery 1.1.3: 800%+ Faster, still 20KB

2007-07-02 Thread Diego A.

Hi John (and the team),

Congratulations on the new release, it's looking great. Can't wait for
1.2...

The only small problem I've had is with an old plugin I've been used
for a while, which adds regular expression selectors:
(function($){
 $.extend($.expr['@'], {
 =~: z.match(RegExp(m[4]))!=null,
 !~: z.match(RegExp(m[4]))==null
 });
 $.parse[0] = /^\[ *(@)([a-z0-9_-]*) *([!*$^~=]*) *('??)(.*?)\4 *\]/
i;
})(jQuery);

In 1.1.3, $.expr['@'] is null and causes an error.
Has $.expr['@'] been dropped?

On Jul 2, 2:45 am, John Resig [EMAIL PROTECTED] wrote:
 Hi Everyone -

 I'm pleased to announce the release of jQuery 1.1.3. After many months
 of testing, developing, and more testing, we have a very solid release
 available for download. It comes with roughly 80+ fixed bugs and a
 handful of enhancements for good measure. Highlights include:

1. Improved speeds, with DOM traversal over 800% faster than in 1.1.2.
2. A re-written event system, with more graceful handling of keyboard 
 events.
3. A re-written effects system (with an accompanying fx test
 suite), featuring faster execution and better cross-platform support.

 Full list of fixes:http://dev.jquery.com/report/15

 Download:

 * jQuery 1.1.3 (Compressed, 20KB)
  http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.1.3
 * jQuery 1.1.3 (61KB)
  http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.1.3.js
 * jQuery 1.1.3 (Docs, Source Code)
  http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.1.3-...

 As always, if you find any bugs with this release, please post them to
 the jQuery Bug Tracker.

 1.1.3 Features

 Massive Selector Speed Improvements

 Due to popular demand, we dug deep and made some major changes to
 jQuery's selector engine. Here's a breakdown of the speed improvements
 that were made to jQuery itself. All numbers are based on the
 SlickSpeed test suite.http://dev.jquery.com/~john/slickjq/

 Browser jQuery 1.1.2jQuery 1.1.3% Improvement
 IE 64890ms  661ms   740%
 Firefox 2   5629ms  567ms   993%
 Safari 23575ms  475ms   753%
 Opera 9.1   3196ms  326ms   980%
 Average improvement:867%

 Additionally, we tested the improved code base against some of the
 other popular selector libraries, again with the SlickSpeed test
 suite.http://dev.jquery.com/~john/slick/

 Browser Prototype   jQuery  Mootools ExtDojo
 IE 61476ms  661ms   1238ms   672ms  738ms
 Firefox 2   219ms   567ms   220ms951ms  440ms
 Safari 21568ms  475ms   909ms417ms  527ms
 Opera 9.1   220ms   326ms   217ms296ms  220ms

 A couple things to notice when looking at the speed suite results are that:

 * We're over 800% faster than we were in jQuery 1.1.2.
 * We're the fastest framework in the most popular browser,
 Internet Explorer 6.
 * We're the only framework that doesn't give incorrect results.
 * And all of this comes at no expense to you -- jQuery is still the
 same 20KB that you've come to expect and enjoy.

 New Selectors

 Unicode Selectors: This is a huge addition for those of you who want
 to use Unicode attribute values, IDs, class names, or tag names. You
 can now use them directly in jQuery selectors:

 $(div.台北)
 $(div#台北)
 $(foo_bar台北)
 $([EMAIL PROTECTED])

 Escape Selectors: A frequently requested feature you can now select
 elements by ID (or other selector) that uses a special character, for
 example this will find the div that has the ID of foo.bar:

 $(div#foo\.bar)

 Inequality Selector: While this selector isn't part of the CSS
 specification, it's frequently used and included in other selector
 libraries, so we decided to add it in:

 $([EMAIL PROTECTED])

 :nth-child() improvements: This selector allows you to locate specific
 child elements. We've supported selectors like :nth-child(1) and
 :nth-child(odd) since the beginning of jQuery, now we've added
 advanced :nth-child selectors, such as:

 $(div:nth-child(2n))
 $(div:nth-child(2n+1))
 $(div:nth-child(n))

 Space-separated attributes: After being removed in jQuery 1.0, this
 selector has now been brought back by popular demand. It allows you to
 locate individual items in a space-separated attribute (such as a
 class or rel attribute).

 $([EMAIL PROTECTED])

 Animation Improvements

 Speed: Animations are now significantly faster and smoother.
 Additionally, you can run more simultaneous animations without
 incurring any speed hits.

 Testing: We now have a dedicated test suite for animations -- which has
 allowed us to fix a number of pressing animation bugs that weren't
 previously locatable.
 DOM Event Listeners

 Internally, the jQuery Event system has been overhauled to use the DOM
 Event system, rather than the classical 

[jQuery] Re: jQuery 1.1.3: 800%+ Faster, still 20KB

2007-07-02 Thread John

On Jul 1, 9:31 pm, vulgarisoverip [EMAIL PROTECTED] wrote:
 Awesome, can't wait to try it! I hope it fixes some of the Safari
 problems I've had with the 1.1.3 alpha.

Unfortunately, it appears as though Safari 1.3.2 crashes when jQuery
loads instead of gracefully degrading and simply not working correctly
in all cases.  If you were having trouble with Safari 1.3.2 and
jQuery's 1.1.3 alpha, the problems are not resolved in this release.



[jQuery] Re: 1.1.3 and Interface

2007-07-02 Thread Terry B

I hope so too...  I do have one issue so far with draggables not
working like 1.1.2

On Jul 2, 2:08 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
 I am thrilled to see the 1.1.3 release.

 One question, my main project makes heavy use of Interface.  Is this project
 still being developed?  Can we expect any updates to it?  Or changes that
 take advantage of the 1.1.3 event/animation improvements?

 JK



[jQuery] Bug:

2007-07-02 Thread Terry B

Should I submit bug report or did I miss some change I need to
implement on below issue?

In 1.1.2 using

$t(#event_ + EventArray[i].ID).Draggable({
axis:   'horizontally',
ghosting:   true,
opacity:0.5,
fx: 300,
grid:   [daySize,0]
});

I get my bars to drag and when you lift off the mouse button the slide
right into place where the ghost bar is

But in 1.1.3 I get the ghost bar moving like I want but the actually
bar does not slide into place...

anyone have a quick fix or do i need to submit bug?



[jQuery] Re: Need help with JQuery + Prototype integration

2007-07-02 Thread Ganeshji Marwaha

I think the sliding menu plugin that you are using is not playing well with
the jquery standards for plugin- development in terms of the $ namespace.

You might have to wrap the whole of the sliding menu code in a primary
closure like given below, and it might start working. Lemme know how it
goes.

(function($) {

// copy and paste the sliding menu code here

})(jQuery);

-GTG

On 7/2/07, sprak [EMAIL PROTECTED] wrote:



Sorry, that was a cut  paste error in my post; yes, prototype is
included
above jquery.  The protoype code on the pageworks properly, but the
sliding
menu powered by jquery does not.

On Jun 29, 2:35 pm, Ganeshji Marwaha [EMAIL PROTECTED] wrote:
 ur last option is the best :-)

 but, did u try adding prototype.js above jquery.js

 -GTG

 On 6/29/07, sprak [EMAIL PROTECTED] wrote:



  Greetings; I am having a bit of trouble getting JQuery 1.1.2 and
  Prototype 1.5.0 to play
  nice with each other.  Here is my page (abbreviated) and script with
  JQuery alone.

  HTML:
  html
  head
  ...
  script language=JavaScript type=text/javascript src=/design/en/
  javascript/finest200706/jquery-latest.js/script
  script
  jQuery.noConflict();
  /script
  /head
  body
  ...
  div id=mainNav
  ul id=menu
  li
   a href=/solutionsSolutions/a
   ul
li
 a class= href=/solutions/your_needsYour Needs/a
 ul
  lia class=skip href=/solutions/your_needs/
  network_protectionNetwork Protection/a/li
 /ul
/li
   /ul
  /li
  ...
  li
   a class=open href=/portalPortal/a
   ul
lia class=skip href=/prefPreferences/a/li
   /ul
  /li
  /ul
  ...
  /div
  /body
  /html

  Script:
  jQuery(document).ready(function() {
  // mainnav BEGIN
  // add a state on all the menus:
  jQuery(#mainNav  ul li  a + ul).attr(toggle, down);
  // collapse all but class=open:
  jQuery(#mainNav  ul li  a).not(.open).find(+
  ul).slideUp(1).attr(toggle, up);
  // click handler sub menu on level 1
  jQuery(#mainNav  ul  li  a:not(.skip)).click(function() {
  var menu = jQuery(this).find(+ [EMAIL PROTECTED]'up']);
  menu.slideDown(slow);
  jQuery(#mainNav  ul li  a +
  [EMAIL PROTECTED]'down']).slideUp(slow).attr(toggle, up);
  menu.attr(toggle, down);
  return false;
  });
  // click handler sub menu on level 2
  jQuery(#mainNav  ul  li  ul  li 
  a:not(.skip)).click(function() {
  var menu = jQuery(this).find(+ [EMAIL PROTECTED]'up']);
  menu.slideDown(slow);
  jQuery(#mainNav  ul  li  ul  li  a:not(.open) +
  [EMAIL PROTECTED]'down']).slideUp(slow).attr(toggle, up);
  menu.attr(toggle, down);
  return false;
  });
  // load page if skipped from accordeon fx:
  jQuery(#mainNav  ul  li a.skip).click(function() {
  document.location.href = jQuery(this).attr(href);
  return true;
  });
  // mainnav END
  });

  The menu appears with one item already open specified by a a tag
  with
  class=open.  Clicking on a closed menu item slides that menu open
  and closes
  the one already open.  This sliding effect works fine without
  Prototype added.

  Once I add Prototype by modifying my HTML like this:
  script language=JavaScript type=text/javascript src=/design/en/
  javascript/finest200706/jquery-latest.js/script
  script language=JavaScript type=text/javascript src=/design/en/
  javascript/prototype.js/script
  script
  jQuery.noConflict();
  /script

  The sliding effect stops; no errors are reported in Firebug or the
  error console.
  Using Firebug, I stepped through the code and found that buried deep
  in the
  code is a call to filter() that is going awry.

  Without Prototype, the filter call gets to the end and properly
  selects
  the ul element from the document via + [EMAIL PROTECTED]'up'].  Once
  Prototype
  is added, the filter call holds the ul element until near the end;
  haven't
  debugged further, but it clobbers the return result and returns a
  useless object.

  Has anyone seen this before and know how to fix it other than ditching
  Prototype?

  Thanks.

  - luis




[jQuery] Re: Select list scroll event?

2007-07-02 Thread Ganeshji Marwaha

oops, i guess i misunderstood u... i was saying that, when u focus the
select element (just focus, not in dropped state), and then use ur cursor to
change elements, then the image was changing in browsers other than FF.

But, i guess, u r expecting the event to be fired even when the drop-down is
in dropped state... Hmmm, i am not sure if there is a event for that... But,
some combination of mouseover, and mouseout may help. I dont know.

-GTG

On 7/2/07, owen [EMAIL PROTECTED] wrote:



  funny, it works in opera and ie6, just not in FF.
 work for me on FF2

I'm confused, because it doesn't work as I expect it on any of those
browsers. Are you saying that when you click the drop-down and
highlight one of the choices the images changes appropriately /
without/ clicking? It only works for me if I actually choose one of
the options.

  -- Owen




[jQuery] Re: jQuery 1.1.3: 800%+ Faster, still 20KB

2007-07-02 Thread Rey Bango

John,

Is it on a specific type of functionality (eg: DOM selection, effects)?
If you could help us limit it down, even providing a testbed, that would
be a huge help for us.

Thanks,

Rey

John wrote:
 On Jul 1, 9:31 pm, vulgarisoverip [EMAIL PROTECTED] wrote:
 Awesome, can't wait to try it! I hope it fixes some of the Safari
 problems I've had with the 1.1.3 alpha.
 
 Unfortunately, it appears as though Safari 1.3.2 crashes when jQuery
 loads instead of gracefully degrading and simply not working correctly
 in all cases.  If you were having trouble with Safari 1.3.2 and
 jQuery's 1.1.3 alpha, the problems are not resolved in this release.
 
 

-- 
BrightLight Development, LLC.
954-775- (o)
954-600-2726 (c)
[EMAIL PROTECTED]
http://www.iambright.com


[jQuery] Re: Problem using .children() + selector in IE6

2007-07-02 Thread Ganeshji Marwaha

i am not sure if what i am telling is correct or wrong... but can u try
(selected,selected) instead of (selected, true);

-GTG

On 7/2/07, benjaah [EMAIL PROTECTED] wrote:



Hi all,

I've got a page where I'm changing the options of a select box and
setting the first one to be selected:
$(#my_select :first-child).attr(selected, true);

It works perfectly with Firefox, Safari and IE7 but doesn't with IE6 !
I've also tried the following without success:
  $(#my_select).children(:first).attr(selected, true);
  $(#my_select :eq(0)).attr(selected, true);
  $(#my_select option:first).attr(selected, true);

I've also had the same bug using other selectors in children with
IE6,
like $(#my_select).children([EMAIL PROTECTED]+my_id+]).attr(selected,
true);

Has anyone experienced the same problem?
Or am I doing something wrong?

Thanx for your help -

Ben




[jQuery] Re: .change for created select menu

2007-07-02 Thread Ganeshji Marwaha

try calling the $('#tagline2').change(function(){
}) inside the change() event for the first after creating the new
option element.

-GTG


On 7/2/07, NBoringron [EMAIL PROTECTED] wrote:



Hi, I hope this isn't a stupid question: I am trying to have a
dropdown menu that will create a new dropdown when it's changed. That
part works. Then, the second dropdown will create a third dropdown
whenever it is changed. That part doesn't work right.

  $(document).ready(function(){
$('#taglist1').change(function(){// detect change in menu
1
  $('#tagline2').html('select id = taglist2/
select').addClass('adddrop');
  $('#taglist2').addOption('1', 'one');
  $('#taglist2').addOption('2', 'two');
  // etc
})

$('#tagline2').change(function(){// detect change in menu
2
  alert('testing'); // firefox says hi, but not ie7
})
  })

p id tagline1
  select id = taglist1 class = adddrop
option value = 0Pick an option/option
option value = 0/option
option value = 1Option 1/option
etc
  /select
/p

p id = tagline2
/p

For the line that is meant to detect a change in the second (created)
menu, I originally had $('#taglist2').change(function(){ which
specifies the id of the new select which I thought was right but
that didn't work at all. The line as it is now $
('#tagline2').change(function(){ specifies the p that the new
select is in. This works in ff2.0.0.4 but not IE7 (haven't tested
below that yet).

Can anyone help? Is this something small or is my whole approach off?




[jQuery] Re: fadeIn w/jQuery 1.1.3?

2007-07-02 Thread John Resig


Brandon just committed a fix for this to SVN. If you could try it, and
let us know if it works for you, that'd be good (if you can).
http://code.google.com/p/jquery

--John

On 7/2/07, Priest, James (NIH/NIEHS) [C] [EMAIL PROTECTED] wrote:


I updated my main jquery.js file today updating my site to 1.1.3 (from
1.1.2) and everything works except fadeIn?

I played around with it and fadeOut seems to work if I make the duration
really long:

$(#warning).fadeOut(1);

But doing the opposite for fadeIn:

$(#warning).fadeIn(1);

Doesn't do anything - the element always remains visible.

I also tried:

$(#warning).fadeIn(slow);

But that didn't work either.

Everything else works great! (tabs, tables, etc)

Jim



[jQuery] Re: fadeIn w/jQuery 1.1.3?

2007-07-02 Thread Aaron Heimlich

On 7/2/07, John Resig [EMAIL PROTECTED] wrote:


http://code.google.com/p/jquery



Returns 404 Not Found

--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com


[jQuery] Re: fadeIn w/jQuery 1.1.3?

2007-07-02 Thread Brandon Aaron

That should be:
http://code.google.com/p/jqueryjs/

On 7/2/07, Aaron Heimlich [EMAIL PROTECTED] wrote:


On 7/2/07, John Resig [EMAIL PROTECTED] wrote:

 http://code.google.com/p/jquery


 Returns 404 Not Found

--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com


[jQuery] Re: jQuery 1.1.3: 800%+ Faster, still 20KB

2007-07-02 Thread Dawgdaze

Congrats Team! Well done.



[jQuery] Selector docs?

2007-07-02 Thread Howard Jones


Naturally, the day I pick to sit down and play with a new jquery project 
is the day that docs.jquery.com is down :-)


Is there some kind of cribsheet out there for jQuery's selectors? It's 
something that the automatic docs like Visual jQuery and the API Browser 
don't cover...


Cheers,

Howie


[jQuery] Re: Selector docs?

2007-07-02 Thread Jeff L

You can use the google cache
http://72.14.205.104/search?q=cache:yFpDK0JxvV4J:docs.jquery.com/DOM/Traversing/Selectors+jquery+selectorshl=enct=clnkcd=2gl=usclient=firefox-a

Jeff

On 7/2/07, Howard Jones [EMAIL PROTECTED] wrote:



Naturally, the day I pick to sit down and play with a new jquery project
is the day that docs.jquery.com is down :-)

Is there some kind of cribsheet out there for jQuery's selectors? It's
something that the automatic docs like Visual jQuery and the API Browser
don't cover...

Cheers,

Howie



[jQuery] Re: Selector docs?

2007-07-02 Thread Benjamin Sterling

Howie,
Check out learningjquery.com

On 7/2/07, Howard Jones [EMAIL PROTECTED] wrote:



Naturally, the day I pick to sit down and play with a new jquery project
is the day that docs.jquery.com is down :-)

Is there some kind of cribsheet out there for jQuery's selectors? It's
something that the automatic docs like Visual jQuery and the API Browser
don't cover...

Cheers,

Howie





--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com


[jQuery] Re: jQuery 1.1.3: 800%+ Faster, still 20KB

2007-07-02 Thread John

There's no specific type of functionality that causes it to crash.
It's just an outright crash when the library is parsed.  My ticket
with a test case on the issue is: http://dev.jquery.com/ticket/1331


On Jul 2, 1:31 pm, Rey Bango [EMAIL PROTECTED] wrote:
 John,

 Is it on a specific type of functionality (eg: DOM selection, effects)?
 If you could help us limit it down, even providing a testbed, that would
 be a huge help for us.

 Thanks,

 Rey




[jQuery] Re: Need help with JQuery + Prototype integration

2007-07-02 Thread sprak

Haven't had any success with that either; using the (jQuery) syntax
causes the
browser to throw up errors.  Maybe a walk through the flow of things
will
help.

Page loads up with like this:
html
head
script language=JavaScript type=text/javascript src=/design/en/
javascript/prototype.js/script
script language=JavaScript type=text/javascript src=/design/en/
javascript/jquery-latest.js/script
script language=JavaScript type=text/javascript src=/design/en/
javascript/main.js/script
/head
...
body
...
script
// Prototype code here
/script
...
/body
/html


main.js has this as its code:
var $JQ = jQuery.noConflict();

$JQ(document).ready(function($) {
// mainnav BEGIN
// add a state on all the menus:
$(#mainNav  ul li  a + ul).attr(toggle, down);
// collapse all but class=open:
$(#mainNav  ul li  a).not(.open).find(+
ul).slideUp(1).attr(toggle, up);
// click handler sub menu on level 1
$(#mainNav  ul  li  a:not(.skip)).click(function() {
var menu = $(this).find(+ [EMAIL PROTECTED]'up']);
menu.slideDown(slow);
$(#mainNav  ul li  a +
[EMAIL PROTECTED]'down']).slideUp(slow).attr(toggle, up);
menu.attr(toggle, down);
return false;
});
// click handler sub menu on level 2
$(#mainNav  ul  li  ul  li  a:not(.skip)).click(function()
{
var menu = $(this).find(+ [EMAIL PROTECTED]'up']);
menu.slideDown(slow);
$(#mainNav  ul  li  ul  li  a:not(.open) +
[EMAIL PROTECTED]'down']).slideUp(slow).attr(toggle, up);
menu.attr(toggle, down);
return false;
});
// load page if skipped from accordeon fx:
$(#mainNav  ul  li a.skip).click(function() {
document.location.href = $(this).attr(href);
return true;
});
// mainnav END
// // highlight award on mouseover:
$('#awards img:not(.active)').after('img class=active
src=design/en/images/finest200706/awards_on.png usemap=#awards
width=629 height=68');
$('#awards img.active').hide();
var hideAwards = null;
$('#awards area').mouseover(function() {
if(hideAwards) clearTimeout(hideAwards);
$('#awards img.active').show();
var coords = $(this).attr('coords').split(','); // coords =
(l,t,r,b)
$('#awards img.active').css('clip','rect(0px,'+ coords[2] +'px,
68px,'+ coords[0] +'px)');
// hide it after 4 sec
hideAwards = setTimeout($('#awards img.active').hide();,
4000);
return false;
});
// searchResults BEGIN
// add a state on all the menus:
$(#searchResults  ul  li  a + ul).attr(toggle, down);
// collapse all but class=open:
$(#searchResults  ul  li  a).not(.open).find(+
ul).slideUp(1).attr(toggle, up);
// click handler
$(#searchResults  ul  li  a).click(function() {
var menu = $(this).find(+ [EMAIL PROTECTED]'up']);
menu.slideDown(slow);
$(#searchResults  ul  li  a +
[EMAIL PROTECTED]'down']).slideUp(slow).attr(toggle, up);
menu.attr(toggle, down);
return false;
});
// searchResults END
});


Everything seems to load up fine; the Prototype code runs correctly,
and
jQuery seems to add the appropriate states, attributes, handlers on
the
navigation elements.  Only the current menu item is open, and the rest
are closed.

Clicking on a closed menu item causes the jQuery code to be executed.
However, something deep in the bowels does not return the same
object as it would if Prototype was not in place.

Very puzzling; if no answer is found soon, I'm just going to abort and
rewrite
the Prototype code into JQuery.  Joy...

Cheers.

- luis

On Jul 2, 2:27 pm, Ganeshji Marwaha [EMAIL PROTECTED] wrote:
 I think the sliding menu plugin that you are using is not playing well with
 the jquery standards for plugin- development in terms of the $ namespace.

 You might have to wrap the whole of the sliding menu code in a primary
 closure like given below, and it might start working. Lemme know how it
 goes.

 (function($) {

 // copy and paste the sliding menu code here

 })(jQuery);

 -GTG

 On 7/2/07, sprak [EMAIL PROTECTED] wrote:



  Sorry, that was a cut  paste error in my post; yes, prototype is
  included
  above jquery.  The protoype code on the pageworks properly, but the
  sliding
  menu powered by jquery does not.

  On Jun 29, 2:35 pm, Ganeshji Marwaha [EMAIL PROTECTED] wrote:
   ur last option is the best :-)

   but, did u try adding prototype.js above jquery.js

   -GTG

   On 6/29/07, sprak [EMAIL PROTECTED] wrote:

Greetings; I am having a bit of trouble getting JQuery 1.1.2 and
Prototype 1.5.0 to play
nice with each other.  Here is my page (abbreviated) and script with
JQuery alone.

HTML:
html
head
...
script language=JavaScript type=text/javascript src=/design/en/
javascript/finest200706/jquery-latest.js/script
script
jQuery.noConflict();
/script
/head
body
...
div id=mainNav
ul id=menu
li
 a 

[jQuery] Re: Selector docs?

2007-07-02 Thread Jeff L

Benjamin,

That's just a blog - if there is a specific page on there about the
selectors, please do send along a link.


Thanks.

On 7/2/07, Benjamin Sterling [EMAIL PROTECTED] wrote:


Howie,
Check out learningjquery.com

On 7/2/07, Howard Jones [EMAIL PROTECTED] wrote:


 Naturally, the day I pick to sit down and play with a new jquery project
 is the day that docs.jquery.com is down :-)

 Is there some kind of cribsheet out there for jQuery's selectors? It's
 something that the automatic docs like Visual jQuery and the API Browser

 don't cover...

 Cheers,

 Howie




--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com


  1   2   >