[jQuery] IIS permission problem Re: Can $(document).ready() be put into a separate JS file?

2007-11-27 Thread Stephen

Hello,
It looks like I had a very peculiar IIS permission problem just for
jquery.js.  Very weird.  I fixed the permissions on that file and the
file could be accessed again.

--Stephen

On Nov 27, 12:00 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> My gut feeling is that this is a caching issue on the browser that is
> failing.
>
> Try clearing the cache.
>
> On Nov 27, 3:36 pm, Stephen <[EMAIL PROTECTED]> wrote:
>
> > Ok, I have to examine the specifics of my computer set up.  I tried
> > the following code on two different machines with similar setups
> > (Windows XP, IE6, Firefox 2.0.0.9 vs. 2.0.0.6, jquery 1.2.1 unpacked).
>
> > --START  Test HTML file-
> > 
>
> > 
> > 
> > Test
> > 
> > 
> > 
>
> > 
>
> > 
> > 
> > -END
>
> > --START test.js ---
> > $(document).ready( function() {});
>
> > --- END --
>
> > On the first machine, it gave me the "$ is not defined" message.  On
> > the second machine, it works.  Based on Suni's remarks, I will look at
> > the first machine more closely.
>
> > I appreciate everyone throwing out ideas for me to examine.
>
> > --Stephen
>
> > On Nov 27, 3:04 am, Suni <[EMAIL PROTECTED]> wrote:
>
> > > There has to be some other problem. Are you absolutely sure that
> > > jquery.js gets loaded? Any chance the link pointing to jquery.js is
> > > wrong?
>
> > > I always use $(document).ready in other files and there haven't been
> > > any problems with it.
>
> > > Please post full HTML and JS of a simplified example if the problem
> > > persists.
>
> > > --
> > > Suni


[jQuery] Re: Can $(document).ready() be put into a separate JS file?

2007-11-27 Thread Stephen

Clearing the cache does not work.

I was running firebug, so I checked out the HTML tab of Firebug.  When
I expanded the section called


It said "Error: Access is Denied."

When I expanded the section called


it would show me what was in the file.

Why would be causing an "access is denied" error?

--Stephen

On Nov 27, 12:00 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> My gut feeling is that this is a caching issue on the browser that is
> failing.
>
> Try clearing the cache.
>
> On Nov 27, 3:36 pm, Stephen <[EMAIL PROTECTED]> wrote:
>
> > Ok, I have to examine the specifics of my computer set up.  I tried
> > the following code on two different machines with similar setups
> > (Windows XP, IE6, Firefox 2.0.0.9 vs. 2.0.0.6, jquery 1.2.1 unpacked).
>
> > --START  Test HTML file-
> > 
>
> > 
> > 
> > Test
> > 
> > 
> > 
>
> > 
>
> > 
> > 
> > -END
>
> > --START test.js ---
> > $(document).ready( function() {});
>
> > --- END --
>
> > On the first machine, it gave me the "$ is not defined" message.  On
> > the second machine, it works.  Based on Suni's remarks, I will look at
> > the first machine more closely.
>
> > I appreciate everyone throwing out ideas for me to examine.
>
> > --Stephen
>
> > On Nov 27, 3:04 am, Suni <[EMAIL PROTECTED]> wrote:
>
> > > There has to be some other problem. Are you absolutely sure that
> > > jquery.js gets loaded? Any chance the link pointing to jquery.js is
> > > wrong?
>
> > > I always use $(document).ready in other files and there haven't been
> > > any problems with it.
>
> > > Please post full HTML and JS of a simplified example if the problem
> > > persists.
>
> > > --
> > > Suni


[jQuery] Re: Getting background-position

2007-11-27 Thread DaveG


Thanks for the information -- I would never have considered looking at 
FF for the bug.


 ~ ~ David

Karl Rudd wrote:

Actually "background" is the "shorthand" property, "backgroundPostion"
is the "fully qualified" property.

There is/was a bug in Firefox:

  Bug 316981 – background-position property is not available through
the CSS DOM interface
  https://bugzilla.mozilla.org/show_bug.cgi?id=316981

Karl Rudd

On Nov 28, 2007 9:25 AM, Richard D. Worth <[EMAIL PROTECTED]> wrote:

This is what css calls a shorthand property. It's used for setting. Browsers
differ in their treatment of it as a getter. jQuery doesn't (yet) normalize
this. See these threads for more info:

element.css("background") returns undefined

http://groups.google.com/group/jquery-en/browse_thread/thread/b1c863aa49ba185b

.css("border-color") returning undefined

http://groups.google.com/group/jquery-en/browse_thread/thread/9fdb1c44c2d9083f

Background-position related CSS properties issue

http://groups.google.com/group/jquery-dev/browse_thread/thread/6e9e0ba3486aebc6

- Richard

On Nov 27, 2007 4:40 PM, Karl Swedberg <[EMAIL PROTECTED] > wrote:

Weird. That must be a bug. You can set the background position...
   $('.XXX').css('backgroundPosition', '0 50%');
and then get it ...
   $('.XXX').css('backgroundPosition');
   // returns "0pt 50%"
but you can't get it without setting first.

Hmmm.

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






On Nov 27, 2007, at 2:13 PM, DaveG wrote:


How do I get the background-position?

$('.XXX').css("background_position");
$('.XXX').css("background-position");
$('.XXX').css("backgroundPosition");

...do not work.  Other variants like "background-color" work fine.


~ ~ David






[jQuery] Events double firing?

2007-11-27 Thread David

http://localhost/allonenet/index.html

If you mouse over the globe in the top left, you'll see it fades in,
then fades out, then fades back in. When you mouse off, you'll see it
fade out, then back in, then back out. The relevant code is:

$('body').append('');
$('#fill').load('public/launcher', null, function(response,
status, request){
  $('#launcher').css({display: 'block'})
  .fadeTo(1, opacity)
  .bind('mouseover', function(e){
e.stopPropagation();
e.cancelBubble = true;
$(this).fadeTo(0, 1, function(e) {
  $(this).find('img').attr('src', 'img/globe_spinning.gif');
});
  })
  .bind('mouseout', function(e){
e.stopPropagation();
e.cancelBubble = true;
$(this).fadeTo(0, opacity, function(e) {
  $(this).find('img').attr('src', 'img/globe.gif');
});
  })
  .bind('click', launchInterface);
});


I can't seem to get around this issue. The stop propagation and
cancelbubble stuff isn't making any difference at all. Here is the
HTML pulled in through the load('public/launcher') call:




All One Net


  All One Net
  
  


  Add an Ad
  
  


  Smart Search
  
  




[jQuery] Slightly OT: Datejs - jQuery-like date chaining

2007-11-27 Thread Guy Fraser
Just spotted this via Ajaxian:

http://www.datejs.com/

It's got jQuery-like syntax for working with dates:

// What date is next thrusday?
Date.today().next().thursday();
 
// Add 3 days to Today
Date.today().add(3).days();
 
// Is today Friday?
Date.today().is().friday();
 
// Set to 8:30 AM on the 15th day of the month
Date.today().set({ day: 15, hour: 8, mintue: 30 });

Unfortunately it splooges methods and properties all over the Date and 
Number prototypes and objects, but this got me thinking...

Would it be possible to implement things like this with jQuery? 
Currently plugins add their methods to $.fn, however what if we could 
add other "plugin namespaces" such as $.date where methods could be 
added and then have some way of telling jQuery which plugin namespace to 
use?

You could possibly have:

$.date("tomorrow").is().friday(); // is tomorrow friday?

Guy


[jQuery] Re: Jquery Ajax dropping special characters

2007-11-27 Thread damitha

Thanks, your solution works

Giovanni Battista Lenoci wrote:
> Are you triyng to send a query like this?
>
>   var data = "vote=C+";
>   $.ajax({
> type: "POST",
> url: "ajax.php",
> data: data,
> dataType: "json",
> success: function(data_result) { ShowMessage(data_result) }
>   });
>
> Try using the code for the plus sign: %2b
>
> Bye
>
> On Nov 27, 4:59 am, damitha <[EMAIL PROTECTED]> wrote:
> > I am trying to send an mysql query to the server from a client
> > programme by
> > using the jquery  $.ajax({}) function. The query string comprises of +
> > sign
> > which is used to assign student grades (such as C+). The server side
> > programming is in php. However I have realized at the time of sending
> > the Ajax
> > request jquery drops + signs from the query string.  Is there any way
> > to stop
> > dropping of + character from the query string.


[jQuery] Re: Adding jQuery Libary to JSEclipse

2007-11-27 Thread Dan G. Switzer, II

Chris,

>JSEclipse has stated that they don't support jQuery, but with the
>ability to add your own libraries, I was wondering whether anyone has
>taken the time to put something together, so we could get jQuery code
>completion in jseclipse!!

While not an answer to your question, Aptana supports jQuery and I actually
like Aptana better than JSEclipse. I used JSEclipse for a long time before
switching to Aptana.

http://www.aptana.com/products/

The "Community Edition" is free and offers all the basic functionality you
could want. 

-Dan

PS - I'm in no way affiliated with Aptana, just a user of their product. 



[jQuery] DateJS: Robust Date manipulation library

2007-11-27 Thread Erik Beeson
Hello all,

This came through my feed reader this morning, and I thought it looked like
the kind of thing jQuerians might enjoy:

http://www.datejs.com/

It's a Date library with lots of parsing capabilities and jQuery style
chainable syntactic sugar. It's ~25k minified (!), so it's probably not for
everyone, but I can imagine a lot of places where something like this would
be very helpful.

Cheers!

--Erik


[jQuery] Re: Vexed with SuckerFish & Flash

2007-11-27 Thread Benjamin Sterling
Jay,
Not totally sure what the problem is, but is sounds like you are saying the
flash is staying on to of divs, if this is the case
doing wmode="transparent" on the embed tag and creating a 

I may be mistaken on your issue, if so, can you rephrase?

On 11/27/07, Jay Fallon <[EMAIL PROTECTED]> wrote:
>
>
> Awhile ago I implemented a basic menu based on jQuery/Suckerfish( href="http://be.twixt.us/jquery/suckerFish.php";>), and I never
> realized the implications of the menu appearing behind a flash object
> until said object became available.
>
> I've read though the posts and I've seen some talk about solutions,
> but as of yet I haven't seen anything that worked in the wild.
>
> My current implementation uses the latest jQuery.js and I've tried to
> implement the flash object using swfObject.js (which causes a conflict
> with other scripts), jMedia.js and jquery.flash.js, along with
> bgiframe.js but as of yet I have not been successful.
>
> Has anyone been able to overcome this problem? I don't have access to
> the Flash IDE at the moment, so I'll try and get it working with a
> transparent background, but if anyone has actually implemented a fix,
> I'd be really appreciative.
>
> Thanks.
>



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


[jQuery] Re: Eval error with Firefox 3

2007-11-27 Thread [EMAIL PROTECTED]

I'm sure by the time Firefox 3 is released to the general public this
issue will be resolved. Having said this: Firefox 3 is more stable
that Firefox 2.0.0.10 on my computer.

On Nov 27, 10:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi! I have same problem. Is there already some solutions in that way?
>
> On Nov 23, 4:58 pm, Cloudream <[EMAIL PROTECTED]> wrote:
>
> > ff3 just in beta. jorn is working at mozilla, so don't worry about
> > this...
>
> > On Nov 23, 4:44 pm, Jerome Carty <[EMAIL PROTECTED]> wrote:
>
> > > Just a note:
>
> > > On AJAX calls where the data type is script, I get the following
> > > error:
>
> > > EvalError: function eval must be called directly, and not by way of a
> > > function of another name
>
> > > This error is triggered from line 501 of jquery 1.2.1 uncompressed.
>
> > > By the way, when an error is thrown, the exception parameter is always
> > > undefined for me.


[jQuery] Re: .slideToggle() problems

2007-11-27 Thread Austin Pickett

Never mind, I found out the problem. I had all the   in a file called header which
contained other things and I would  on
each page, mysteriously, it wasn't recognizing the 

[jQuery] Re: Passing extra data to AJAX handler functions

2007-11-27 Thread Erik Beeson
You could wrap your real callback in an anonymous function that adds the
parameters that you want. Maybe something like (untested):

  $.post('/ajax/asset/insert', {
folder_tid : lastUploadedFolderTID,
link   : linkQueue[id]
  }, function(data, status) { handleAddLinkComplete.call(this, data,
status, 123); }, 'json');

Good luck with it.

--Erik


On 11/27/07, Rob Barreca <[EMAIL PROTECTED]> wrote:
>
>  I commonly want to pass an ID or some other information I know to an AJAX
> success handler.
>
>   $.post('/ajax/asset/insert', {
> folder_tid : lastUploadedFolderTID,
> link   : linkQueue[id]
>   }, handleAddLinkComplete, 'json');
>
>
> In this example, I want to pass an ID to handleAddLinkComplete function. I
> know I can do the following, but they seem crufty to me.
>
>
>1. I can set a global variable with the link ID, but what if I have
>a bunch of post calls, there are synchronous issues (I know I can do async 
> :
>false too)
>2. I could have my /ajax/asset/insert callback return the link ID
>back to me in the response, but it seems silly if I already know it.
>
> I would love to do something like...
>
>   $.post('/ajax/asset/insert', {
> folder_tid : lastUploadedFolderTID,
> link   : linkQueue[id]
>   }, { callback : handleAddLinkComplete, arguments : [123] }, 'json');
>
> or something.
>
> What is the best way here or is my dream a reality?
>
> Cheers,
>
> -Rob
>


[jQuery] Passing extra data to AJAX handler functions

2007-11-27 Thread Rob Barreca
I commonly want to pass an ID or some other information I know to an 
AJAX success handler.

>   $.post('/ajax/asset/insert', {
> folder_tid : lastUploadedFolderTID,
> link   : linkQueue[id]
>   }, handleAddLinkComplete, 'json');

In this example, I want to pass an ID to handleAddLinkComplete function. 
I know I can do the following, but they seem crufty to me.

   1. I can set a global variable with the link ID, but what if I have a
  bunch of post calls, there are synchronous issues (I know I can do
  async : false too)
   2. I could have my /ajax/asset/insert callback return the link ID
  back to me in the response, but it seems silly if I already know it.

I would love to do something like...

>   $.post('/ajax/asset/insert', {
> folder_tid : lastUploadedFolderTID,
> link   : linkQueue[id]
>   }, { callback : handleAddLinkComplete, arguments : [123] }, 'json');
or something.

What is the best way here or is my dream a reality?

Cheers,

-Rob


[jQuery] Re: Vexed with SuckerFish & Flash

2007-11-27 Thread Jay Fallon

Very nice, thank you. I think the swfObject wasn't implemented
correctly and that is why I strayed from it.

Thanks.

On Nov 27, 4:22 pm, bbuchs <[EMAIL PROTECTED]> wrote:
> I just finished up a site that used SuperFish and swfObject (and Cycle
> and idTabs and Accordion...), although I'm using jQuery 1.1.4 still.
> You don't need to re-output the SWF to get the transparent background,
> you just need to add a paramater to the swfObject setup code:
>
> so.addParam("wmode", "transparent");
>
> That should be enough to ensure that your CSS layers appear on top of
> the SWF. I did run into a problem with Firefox on Mac that had to do
> with an Opacity bug. That's an issue with the plugin, and not jQuery/
> Superfish.
>
> Here's a link to the Superfish plugin:
>
> http://users.tpg.com.au/j_birch/plugins/superfish
>
> And here's a blog post about the FF Flash bug:
>
> http://jakeo.org/blog/2007/03/16/css-opacity-and-flash-transparency-i...
>
> Oh, and if anyone is interested in a two relaunched sites using
> jQuery:
>
> http://www.laphil.comhttp://www.hollywoodbowl.com
>
>  - bry
>
> On Nov 27, 2:04 pm, Jay Fallon <[EMAIL PROTECTED]> wrote:
>
> > Awhile ago I implemented a basic menu based on jQuery/Suckerfish( > href="http://be.twixt.us/jquery/suckerFish.php";>), and I never
> > realized the implications of the menu appearing behind a flash object
> > until said object became available.
>
> > I've read though the posts and I've seen some talk about solutions,
> > but as of yet I haven't seen anything that worked in the wild.
>
> > My current implementation uses the latest jQuery.js and I've tried to
> > implement the flash object using swfObject.js (which causes a conflict
> > with other scripts), jMedia.js and jquery.flash.js, along with
> > bgiframe.js but as of yet I have not been successful.
>
> > Has anyone been able to overcome this problem? I don't have access to
> > the Flash IDE at the moment, so I'll try and get it working with a
> > transparent background, but if anyone has actually implemented a fix,
> > I'd be really appreciative.
>
> > Thanks.


[jQuery] Re: jcarousel thickbox carousel ajax (nb of items sync problem solved)

2007-11-27 Thread jamesQ


in jquery.jscarousel.js

1. set itemStart to 100
since none of my text files have more than 100 items.

2. set priv.scroll(priv.o.itemStart + 3);
since I had set Visible: 3 itemScroll: 3, for the carousel.

3.set wrapPrev: true

When the carousel loads it loops through all of the items them
postions itself on itemStart
(the last item in my file <100) + 3.

When Thickbox opens it now show the right numbers of items and
Jcarousel positions itself on the first item.

Works fine.
james

On Nov 21, 6:23 pm, jamesQ <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am loading a text file dynamically with ajax into jcarousel and then
> using thickbox. It work great except that in thickbox it only loads
> the number of files that I can scroll to next i.e.
>
> there are 55 images in my text file but inthickboxI get:
>
> Image 3 of 6  < Prev  Next >
>
> Is there a way to get: Image 3 of  55  < Prev  Next >
>
> inthickboxwithout having to scroll throught the carousel first?
>
> thanks
> james


[jQuery] Adding jQuery Libary to JSEclipse

2007-11-27 Thread chrismarx

JSEclipse has stated that they don't support jQuery, but with the
ability to add your own libraries, I was wondering whether anyone has
taken the time to put something together, so we could get jQuery code
completion in jseclipse!!


[jQuery] Re: Eval error with Firefox 3

2007-11-27 Thread [EMAIL PROTECTED]

Hi! I have same problem. Is there already some solutions in that way?

On Nov 23, 4:58 pm, Cloudream <[EMAIL PROTECTED]> wrote:
> ff3 just in beta. jorn is working at mozilla, so don't worry about
> this...
>
> On Nov 23, 4:44 pm, Jerome Carty <[EMAIL PROTECTED]> wrote:
>
> > Just a note:
>
> > On AJAX calls where the data type is script, I get the following
> > error:
>
> > EvalError: function eval must be called directly, and not by way of a
> > function of another name
>
> > This error is triggered from line 501 of jquery 1.2.1 uncompressed.
>
> > By the way, when an error is thrown, the exception parameter is always
> > undefined for me.


[jQuery] [IE] .slideToggle() problems

2007-11-27 Thread Austin Pickett

So, I keep posting this same problem but no one seems to be able to
help me and I can't see what it is either. The code is simple, it's a
Click X and show Y type of thing which happens to work in Firefox but
once I go into IE I feel like  putting my head through my monitor,
which thankfully isn't CRT, last time I did that I had a concussion.
Now, the problem is that when in IE it doesn't slide, it doesn't go up
or down, it doesn't toggle. It shows it as just shown. not working or
anything. If anyone could help me with this, that'd be great.

The code:

$(document).ready(function() {
  $('.show_comments').click(function(){
$('#showdiv').slideToggle('fast');
  });
});




[jQuery] Re: limits using dblclick if too many elements ?

2007-11-27 Thread dehneg

Mac test :  it works fine on Safari 3.0.4 and still not work on FF
2.0.0.10.

On 27 nov, 18:49, dehneg <[EMAIL PROTECTED]> wrote:
> Hi Suni,
>
> I am disappointed.
> The results of your tests show clearly that there is a problem with my
> code/environment.
>
> I have put my full html/js code at the end of this mail. As you can
> see it is minimal.
> I have made new tests with the  jQuery nightly build without
> improvement.
> I have tested my code with FF 2.0.0.10, Gnome Epiphany 2.20.1 and
> Opera 9.24 also without improvement.
> I have tried with the simple click event. This works fine but
> performing a double click freeze FF and Epiphany with 3500 span
> elements even when just the simple click event is bind.
>
> Have an other idea ?
>
> This is my code as you can see there is nothing special in it :
>
> http://www.w3.org/
> TR/html4/strict.dtd">
> 
> 
> 
> Align
> 
> 
> $(document).ready(function() {
> $('.bioNumUnit').dblclick(function(event){
> $('body').append('
dblclick on ' + > event.target.id + '
');}); > } > ); > > > > > > 1 ... > > > > > > On 27 nov, 15:49, Suni <[EMAIL PROTECTED]> wrote: > > > I tested your code (FF and IE) with up to 5000 span-elements and could > > not reproduce the issue. The message was appended every time > > immediately. > > > There is propable something else in the page distracting the process. > > Please note that when you doubleclick the normal click-event gets also > > processed (before the doubleclick). If you have bound some heavy stuff > > to happen on normal click, that gets executed every time you > > doubleclick

[jQuery] Re: Getting background-position

2007-11-27 Thread Karl Rudd
Actually "background" is the "shorthand" property, "backgroundPostion"
is the "fully qualified" property.

There is/was a bug in Firefox:

  Bug 316981 – background-position property is not available through
the CSS DOM interface
  https://bugzilla.mozilla.org/show_bug.cgi?id=316981

Karl Rudd

On Nov 28, 2007 9:25 AM, Richard D. Worth <[EMAIL PROTECTED]> wrote:
> This is what css calls a shorthand property. It's used for setting. Browsers
> differ in their treatment of it as a getter. jQuery doesn't (yet) normalize
> this. See these threads for more info:
>
> element.css("background") returns undefined
>
> http://groups.google.com/group/jquery-en/browse_thread/thread/b1c863aa49ba185b
>
> .css("border-color") returning undefined
>
> http://groups.google.com/group/jquery-en/browse_thread/thread/9fdb1c44c2d9083f
>
> Background-position related CSS properties issue
>
> http://groups.google.com/group/jquery-dev/browse_thread/thread/6e9e0ba3486aebc6
>
> - Richard
>
> On Nov 27, 2007 4:40 PM, Karl Swedberg <[EMAIL PROTECTED] > wrote:
> >
> > Weird. That must be a bug. You can set the background position...
> >$('.XXX').css('backgroundPosition', '0 50%');
> > and then get it ...
> >$('.XXX').css('backgroundPosition');
> >// returns "0pt 50%"
> > but you can't get it without setting first.
> >
> > Hmmm.
> >
> > --Karl
> > _
> > Karl Swedberg
> > www.englishrules.com
> > www.learningjquery.com
> >
> >
> >
> >
> >
> >
> > On Nov 27, 2007, at 2:13 PM, DaveG wrote:
> >
> > >
> > > How do I get the background-position?
> > >
> > > $('.XXX').css("background_position");
> > > $('.XXX').css("background-position");
> > > $('.XXX').css("backgroundPosition");
> > >
> > > ...do not work.  Other variants like "background-color" work fine.
> > >
> > >
> > > ~ ~ David
> >
> >
>
>


[jQuery] Re: Getting background-position

2007-11-27 Thread Richard D. Worth
This is what css calls a shorthand property. It's used for setting. Browsers
differ in their treatment of it as a getter. jQuery doesn't (yet) normalize
this. See these threads for more info:

element.css("background") returns undefined
http://groups.google.com/group/jquery-en/browse_thread/thread/b1c863aa49ba185b

.css("border-color") returning undefined
http://groups.google.com/group/jquery-en/browse_thread/thread/9fdb1c44c2d9083f

Background-position related CSS properties issue
http://groups.google.com/group/jquery-dev/browse_thread/thread/6e9e0ba3486aebc6

- Richard

On Nov 27, 2007 4:40 PM, Karl Swedberg <[EMAIL PROTECTED]> wrote:

>
> Weird. That must be a bug. You can set the background position...
>$('.XXX').css('backgroundPosition', '0 50%');
> and then get it ...
>$('.XXX').css('backgroundPosition');
>// returns "0pt 50%"
> but you can't get it without setting first.
>
> Hmmm.
>
> --Karl
> _
> Karl Swedberg
> www.englishrules.com
> www.learningjquery.com
>
>
>
> On Nov 27, 2007, at 2:13 PM, DaveG wrote:
>
> >
> > How do I get the background-position?
> >
> > $('.XXX').css("background_position");
> > $('.XXX').css("background-position");
> > $('.XXX').css("backgroundPosition");
> >
> > ...do not work.  Other variants like "background-color" work fine.
> >
> >
> > ~ ~ David
>
>


[jQuery] Imagebox Outer Container issue in IE.

2007-11-27 Thread Robert Vidrine


I love the Imagebox plugin and have used it extensively, but have run 
into a situation I don't know how to handle.


I have created a "mini gallery" of images within a page with lots of 
other information (the important part here is that the imagebox images 
are not at the top of the page), so when one of the thumbnails is 
clicked, the full size image appears towards the top of the page (just 
over 50px from top), out of view. I discovered an easy fix, which was to 
change the positioning of the outer container to fixed instead of 
absolute. Then, the image is created a certain distance (don't know how 
this is calculated) from the top of the /browser window/ instead of the 
top of the page, hence it's always in view, no matter where on the page 
the gallery is.
Unfortunately, this doesn't work in IE. Suddenly, the overlay is at the 
top of the page, but the fullsize image itself is at the bottom, below 
all the other content!
I'm thinking that IE6 doesn't correctly support fixed positioning, or 
possibly this has something to do with the fact that it's in an iframe...


Anyone got ideas?
Thanks in advance,
Robert Vidrine



[jQuery] Re: Problem with jQuery plugin: validation

2007-11-27 Thread Jörn Zaefferer


edav schrieb:

Hi.

First of all thanks for the great work!  I am using the jquery
validate plugin and it works great in safari, firefox and ie7 but in
ie6 it has a problem in line 1222, its the url validation regex. If I
remove the entire rule then it works in ie6.

I'm using jquery 1.2.1 and the plugin is 1.1.1
  
That issue is fixed in the latest revision. Should be available as 1.2 
sometime soon.


http://dev.jquery.com/view/trunk/plugins/validate/

Jörn


[jQuery] Make IE 6 Work Like IE 7

2007-11-27 Thread cfdvlpr

Does there exist a jQuery plugin to do everything that Dean Edwards
IE7 JS library can do?


[jQuery] [ARTICLE] jQuery Demo: Working With XML Documents

2007-11-27 Thread Rey Bango


Ben Nadel continues his love affair with jQuery:

jQuery Demo: Working With XML Documents
http://www.bennadel.com/index.cfm?dax=blog:1054.view

Rey


[jQuery] Re: Getting background-position

2007-11-27 Thread Karl Swedberg


Weird. That must be a bug. You can set the background position...
$('.XXX').css('backgroundPosition', '0 50%');
and then get it ...
$('.XXX').css('backgroundPosition');
// returns "0pt 50%"
but you can't get it without setting first.

Hmmm.

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



On Nov 27, 2007, at 2:13 PM, DaveG wrote:



How do I get the background-position?

$('.XXX').css("background_position");
$('.XXX').css("background-position");
$('.XXX').css("backgroundPosition");

...do not work.  Other variants like "background-color" work fine.


~ ~ David




[jQuery] Re: Getting background-position

2007-11-27 Thread DaveG



DaveG wrote:


How do I get the background-position?

$('.XXX').css("background_position");
$('.XXX').css("background-position");
$('.XXX').css("backgroundPosition");

...do not work.  Other variants like "background-color" work fine.
The problem seems to be that I'm trying to get the background position 
of a class. What I'm trying to do is copy the background-position 
attributes from one CSS class to another.


However, even trying on an ID, where this works:
   document.getElementById('ID').style.backgroundPosition;

This does not:
   $('#ID').css("backgroundPosition");

 ~ ~ Dave


[jQuery] Re: Getting the index of a cell in a row.

2007-11-27 Thread Karl Swedberg


:-) Thanks for buying the book!

By the way, as John Resig can now attest, a portion of the proceeds  
goes right back to the jQuery project. So, thanks for helping jQuery,  
too. ;-)


One more thing (to avoid going totally OT):

I took the code that I wrote for you and dropped it into a page with  
the HTML that you provided in your last message. Looks to me like it's  
working just fine, but let me know if you want it to do something  
different.


http://test.learningjquery.com/checkboxes.html


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



On Nov 27, 2007, at 10:59 AM, jonhobbs wrote:



Hi Karl,

I've just realised where I've seen your name before. On the spine of
the spine of the book sitting here on my desk :)

An excellent book it is too.

Jon

On Nov 26, 7:09 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:

Hi Jon,

Here you go:

$(document).ready(function() {
  $('.Grid th').each(function(column) {
column ++;
$('input:checkbox', this).click(function() {
  $('.Grid tbody tr td:nth-child(' + column + ')
input:checkbox').attr({checked: $(this).is(':checked') ? 'checked' :
''});
});
  });

});

:-)

--Karl
_
Karl Swedbergwww.englishrules.comwww.learningjquery.com

On Nov 25, 2007, at 5:15 PM, jonhobbs wrote:




Hi,


I hope somebody can help me. I'm trying to write a function which  
will

tick every checkbox in a column when you tick the checkbox in the
header.



The plan is to attach an evetn to every checkbox in the header which
when you check it will find the column bumber of the cell it is in  
and

plug that number into the following code where the x is...



$(".Grid tbody tr td:nth-child(x)
[EMAIL PROTECTED]'checkbox']").each(function() {
  this.checked = true;
});


I can figure out how to get the parent element of the checkbox  
(which
will be a TD), just don't know how to find out that cells position  
in

the table row.



Any help would be appreciated.




[jQuery] Re: Vexed with SuckerFish & Flash

2007-11-27 Thread bbuchs

I just finished up a site that used SuperFish and swfObject (and Cycle
and idTabs and Accordion...), although I'm using jQuery 1.1.4 still.
You don't need to re-output the SWF to get the transparent background,
you just need to add a paramater to the swfObject setup code:

so.addParam("wmode", "transparent");

That should be enough to ensure that your CSS layers appear on top of
the SWF. I did run into a problem with Firefox on Mac that had to do
with an Opacity bug. That's an issue with the plugin, and not jQuery/
Superfish.

Here's a link to the Superfish plugin:

http://users.tpg.com.au/j_birch/plugins/superfish

And here's a blog post about the FF Flash bug:

http://jakeo.org/blog/2007/03/16/css-opacity-and-flash-transparency-in-mac-firefox/

Oh, and if anyone is interested in a two relaunched sites using
jQuery:

http://www.laphil.com
http://www.hollywoodbowl.com

 - bry




On Nov 27, 2:04 pm, Jay Fallon <[EMAIL PROTECTED]> wrote:
> Awhile ago I implemented a basic menu based on jQuery/Suckerfish( href="http://be.twixt.us/jquery/suckerFish.php";>), and I never
> realized the implications of the menu appearing behind a flash object
> until said object became available.
>
> I've read though the posts and I've seen some talk about solutions,
> but as of yet I haven't seen anything that worked in the wild.
>
> My current implementation uses the latest jQuery.js and I've tried to
> implement the flash object using swfObject.js (which causes a conflict
> with other scripts), jMedia.js and jquery.flash.js, along with
> bgiframe.js but as of yet I have not been successful.
>
> Has anyone been able to overcome this problem? I don't have access to
> the Flash IDE at the moment, so I'll try and get it working with a
> transparent background, but if anyone has actually implemented a fix,
> I'd be really appreciative.
>
> Thanks.


[jQuery] Re: Detecting elements with click handlers

2007-11-27 Thread David Serduke

This won't work for every javascript library of course but for jQuery
I believe you can use the internal .data() functions to find the
handlers.

http://docs.jquery.com/Internals/jQuery.data#elem

var elem = $("a").get(0);
var handlers = jQuery.data(elem, "events") || {};
var clicks = handlers["click"];
for (var h in clicks) {
  clicks[h].call(elem);
}

that I think (totally untested) would call all the event handlers
attached by jquery.  Dunno if it helps but it was interesting looking
in to it. :)

David

On Nov 27, 9:44 am, "Glen Lipka" <[EMAIL PROTECTED]> wrote:
> I have a script that decorates all links with an extra tracking click
> handler.
> First version:  $("a").click()...
>
> However, I would also like to find elements that have an onclick handler
> already on them.
> Second version: $("a,[onclick]").click
>
> But how could I detect all elements that have onclick handlers, even if they
> were added after the fact using a javascript library?
>
> Thanks,
>
> Glen


[jQuery] Vexed with SuckerFish & Flash

2007-11-27 Thread Jay Fallon

Awhile ago I implemented a basic menu based on jQuery/Suckerfish(http://be.twixt.us/jquery/suckerFish.php";>), and I never
realized the implications of the menu appearing behind a flash object
until said object became available.

I've read though the posts and I've seen some talk about solutions,
but as of yet I haven't seen anything that worked in the wild.

My current implementation uses the latest jQuery.js and I've tried to
implement the flash object using swfObject.js (which causes a conflict
with other scripts), jMedia.js and jquery.flash.js, along with
bgiframe.js but as of yet I have not been successful.

Has anyone been able to overcome this problem? I don't have access to
the Flash IDE at the moment, so I'll try and get it working with a
transparent background, but if anyone has actually implemented a fix,
I'd be really appreciative.

Thanks.


[jQuery] children question

2007-11-27 Thread Brian Ronk

I'm working on a simple editor where I can see the changes as I type
them.  I got the idea figured out, but I'm selecting everything
individually.  Here's JS of the one that I have working right now:

$(document).ready( function () {
$('#newsEdit').focus( function() {
editing = "news";
});

$('#newsEdit').blur( function() {
editing = "none";
});

$('#newsEdit').keyup( function() {
if(editing == 'news') {
$('#news').html( $('#newsEdit').val() );
}
});
});

var editing = "none";

What I would like to do though, is not have to add each one
individually, so that I can maybe just select everything with a
certain class, and the  and  tags would be set with
these types of commands.  So, if I add another  and
corresponding  (or something) it will automatically be ready to
go.  I'm just not sure how to do that.  I think it has something to do
with .children, but the examples in the documentation don't help me
with this right now.  If someone can point me the direction I need to
be going, that would be great.  Thanks.


[jQuery] Getting background-position

2007-11-27 Thread DaveG


How do I get the background-position?

$('.XXX').css("background_position");
$('.XXX').css("background-position");
$('.XXX').css("backgroundPosition");

...do not work.  Other variants like "background-color" work fine.


 ~ ~ David


[jQuery] Re: autocomplete new dependency

2007-11-27 Thread Pops

Shelane,

I recently made changes to jQuery.autocomplete.js that doesn't require
jquery.dimensions.js and adds a exception trap for bgiframe non-
existence.

 http://beta.winserver.com/public/test/MultiSuggestTest.wct

This modified verison also offers support for scrolling large list
that do not feed on the screen.

I'm hoping the author would use this to update his software.

--
HLS



On Nov 26, 6:53 pm, Shelane <[EMAIL PROTECTED]> wrote:
> I downloaded the latest from the repository today and found I was get
> an error of list.scrollTop not a function.  I saw something about a
> dependency on the dimensions plugin.  So I added that to the scripts
> loaded before the autocomplete.  I was then getting a strange issue on
> the display of the results - a horizontal scrollbar suddenly
> appeared.  This is strange to me because I never had this issue
> before.  I downgraded to the autocomplete.min Rev 2384, removed
> dimensions, and no horizontal scrollbar appeared.
>
> The reason I tried the latest revision was because in the min Rev
> 2384, I was having the problem of the results set changing (it would
> return the correct results and show them, then it would suddenly show
> the results based on the last character typed being removed) like
> this:
>
> enter: carp
> briefly shows:
> Annette Carpenter
> Alex Carpel
>
> then that result set is replaced with
> Joel Carmen
> Tiffany Carson
> etc...


[jQuery] Re: fadeout a div after a few seconds

2007-11-27 Thread [EMAIL PROTECTED]

you need to use an anonymous function:

success: function() { fadeoutResults(arguments) }

On Nov 27, 11:56 am, guix69 <[EMAIL PROTECTED]> wrote:
> Almost found the solution...
> You were right about the use of success: fadeOutResponse.
> I had tried success: fadeOutResponse() and believe it or not it
> doesn't produce
> the same result !
> I don't know why but when I use success: fadeOutResponse() the
> function is
> executed as soon as I load the page. (Without the () it works and the
> function
> is executed when the form is submitted succesfully).
> BUT this means that I cannot make this fadeOutResponse function work
> for
> any div I would like to hide. fadeOutResponse(#anyelement) is executed
> when
> the page is loaded.
>
> I would obviously like to avoid having one function per div I have to
> hide so do you
> think there is a solution ?
>
> Thanks.


[jQuery] Re: limits using dblclick if too many elements ?

2007-11-27 Thread dehneg

Hi Suni,

I am disappointed.
The results of your tests show clearly that there is a problem with my
code/environment.


I have put my full html/js code at the end of this mail. As you can
see it is minimal.
I have made new tests with the  jQuery nightly build without
improvement.
I have tested my code with FF 2.0.0.10, Gnome Epiphany 2.20.1 and
Opera 9.24 also without improvement.
I have tried with the simple click event. This works fine but
performing a double click freeze FF and Epiphany with 3500 span
elements even when just the simple click event is bind.

Have an other idea ?

This is my code as you can see there is nothing special in it :

http://www.w3.org/
TR/html4/strict.dtd">



Align


$(document).ready(function() {
$('.bioNumUnit').dblclick(function(event){
$('body').append('
dblclick on ' + event.target.id + '
');}); } ); 1 ... On 27 nov, 15:49, Suni <[EMAIL PROTECTED]> wrote: > I tested your code (FF and IE) with up to 5000 span-elements and could > not reproduce the issue. The message was appended every time > immediately. > > There is propable something else in the page distracting the process. > Please note that when you doubleclick the normal click-event gets also > processed (before the doubleclick). If you have bound some heavy stuff > to happen on normal click, that gets executed every time you > doubleclick

[jQuery] Re: persisted sortable divs...

2007-11-27 Thread sal

I would like to just store the sort order in a cookie, so on a refresh
the order of my div's remain...

any thoughts?

thanks much

On Nov 26, 8:10 pm, Dave Methvin <[EMAIL PROTECTED]> wrote:
> So do you need to store the data in a cookie, or just the information
> on the sort order? How much data do you think it would be?


[jQuery] Problem with jQuery plugin: validation

2007-11-27 Thread edav

Hi.

First of all thanks for the great work!  I am using the jquery
validate plugin and it works great in safari, firefox and ie7 but in
ie6 it has a problem in line 1222, its the url validation regex. If I
remove the entire rule then it works in ie6.

I'm using jquery 1.2.1 and the plugin is 1.1.1

thanks,
Erik


[jQuery] Problem with unbind and submit

2007-11-27 Thread benjam

I have a form where the contents of the form are validated with the
jQuery Validation Plugin.
I am also using a custom submit handler to ajax post the data to a
third party, but I also wish to post the data to the form normally.

Inside of the validation plugin, there is a section that returns false
to the submit call if there is a custom submit function (which makes
sense).

But I wish to, if the return from the third party is success, submit
the form normally.

I am trying a work around, that works on one page, but not on another.

The work around is as follows:

I ajax post to the third party, and if successful, run this function:

function defaultSubmit( ) {
$('form').unbind('submit');
$('#submit').click( );
}

I have also tried other permutations for the second line of this
function such as:
$('form').submit( );
$('form')[0].submit( );
document.form.submit( );

all with the same result.

But now when I run this, the browser hangs.  Upon inspection of my
HTTP Headers, I notice that nothing is being sent to the server, the
browser thinks it's sending something, when it really isn't.

So my question is this...   Is the unbind removing the default submit
functionality from the browser?  i.e. when I unbind the submit
functions from the form, is it also removing the default submit
function?

How might I be able to perform this double submit without breaking
anything?

Thanks for any help.

I am using Firefox 2 on Vista, not that it should matter.


[jQuery] Re: Jquery Ajax dropping special characters

2007-11-27 Thread Mark Lacas

Why not escape the data with javascript's escape function?
It fixes all the illegal characters.
ml


[jQuery] Re: Can $(document).ready() be put into a separate JS file?

2007-11-27 Thread [EMAIL PROTECTED]

My gut feeling is that this is a caching issue on the browser that is
failing.

Try clearing the cache.

On Nov 27, 3:36 pm, Stephen <[EMAIL PROTECTED]> wrote:
> Ok, I have to examine the specifics of my computer set up.  I tried
> the following code on two different machines with similar setups
> (Windows XP, IE6, Firefox 2.0.0.9 vs. 2.0.0.6, jquery 1.2.1 unpacked).
>
> --START  Test HTML file-
> 
>
> 
> 
> Test
> 
> 
> 
>
> 
>
> 
> 
> -END
>
> --START test.js ---
> $(document).ready( function() {});
>
> --- END --
>
> On the first machine, it gave me the "$ is not defined" message.  On
> the second machine, it works.  Based on Suni's remarks, I will look at
> the first machine more closely.
>
> I appreciate everyone throwing out ideas for me to examine.
>
> --Stephen
>
> On Nov 27, 3:04 am, Suni <[EMAIL PROTECTED]> wrote:
>
> > There has to be some other problem. Are you absolutely sure that
> > jquery.js gets loaded? Any chance the link pointing to jquery.js is
> > wrong?
>
> > I always use $(document).ready in other files and there haven't been
> > any problems with it.
>
> > Please post full HTML and JS of a simplified example if the problem
> > persists.
>
> > --
> > Suni


[jQuery] Re: autocomplete new dependency

2007-11-27 Thread Jörn Zaefferer


Shelane Enos schrieb:

I the process of putting an example file on my external site, I found I
wasn't having the same problem (with the new .js file).  So I updated my
style sheets internally to match what I had externally and it fixed the
scrollbar problem.

Is the below plugin still required now that you're requiring dimensions?

What is the complete dependency list?
  

jQuery, bgiframe (for the usual IE select issue), dimensions, thats all.

I'll try to make bgiframe and dimensions optional so that you can 
include them whenever they are needed to fix a special problem.


Jörn


[jQuery] Re: 1.2.2

2007-11-27 Thread John Resig

http://docs.jquery.com/Frequently_Asked_Questions#When_will_jQuery_1.2.2_be_released.3F

On Nov 27, 2007 10:46 AM, KidsKilla <[EMAIL PROTECTED]> wrote:
>
> Hi All!
> Can you answer me a question, when it is planned to release the
> version 1.2.2?
>


[jQuery] Re: autocomplete new dependency

2007-11-27 Thread Shelane Enos

I the process of putting an example file on my external site, I found I
wasn't having the same problem (with the new .js file).  So I updated my
style sheets internally to match what I had externally and it fixed the
scrollbar problem.

Is the below plugin still required now that you're requiring dimensions?

What is the complete dependency list?


On 11/26/07 4:26 PM, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote:

> 
> Shelane schrieb:
>> I downloaded the latest from the repository today and found I was get
>> an error of list.scrollTop not a function.  I saw something about a
>> dependency on the dimensions plugin.  So I added that to the scripts
>> loaded before the autocomplete.  I was then getting a strange issue on
>> the display of the results - a horizontal scrollbar suddenly
>> appeared.  This is strange to me because I never had this issue
>> before.  I downgraded to the autocomplete.min Rev 2384, removed
>> dimensions, and no horizontal scrollbar appeared.
>>   
> We figured that the scrolling would improve usability of the plugin a
> ton. So far there was this "more" indicator which looked like a way to
> page through results, which it does not and was never intended to. You
> can set scroll:false to disable that new feature, but you'll still need
> the dimensions plugin.
> 
> I'll look into making that optional - it shouldn't be necessary when not
> using scrolling and with normal positioning (in contrast to putting the
> autocomplete into a thickbox).
>> The reason I tried the latest revision was because in the min Rev
>> 2384, I was having the problem of the results set changing (it would
>> return the correct results and show them, then it would suddenly show
>> the results based on the last character typed being removed) like
>> this:
>> 
>> enter: carp
>> briefly shows:
>> Annette Carpenter
>> Alex Carpel
>> 
>> then that result set is replaced with
>> Joel Carmen
>> Tiffany Carson
>> etc...
>>   
> I'd like to help, but its hard without a testpage.
> 
> Regards
> Jörn
> 
> 


[jQuery] Detecting elements with click handlers

2007-11-27 Thread Glen Lipka
I have a script that decorates all links with an extra tracking click
handler.
First version:  $("a").click()...

However, I would also like to find elements that have an onclick handler
already on them.
Second version: $("a,[onclick]").click

But how could I detect all elements that have onclick handlers, even if they
were added after the fact using a javascript library?

Thanks,

Glen


[jQuery] Re: problem setting up idTabs on ajax success callback in IE6 sp2

2007-11-27 Thread ogurec

Demo (modified page of History/Remote - jQuery plugin) is here -
http://www.zone.ee/ofilez/js/xendi.html (free hosting, click skip
advertising)
(also  you can get directory listing at http://www.zone.ee/ofilez/js/
)

Click the link "Load Chapter 1". (it loads 
http://www.zone.ee/ofilez/js/chapter-1.html
using jQuery ajax).
chapter-1.html contains two tabs plugins: idTabs and "jQuery UI Tabs
aka Tabs 3".
In FF2, Safari and Opera (on WinXP) - both plugins with no problem
IE6 - "jQuery UI Tabs aka Tabs 3" - ok, idTabs - problem
I hope this helps


[jQuery] Re: Getting the index of a cell in a row.

2007-11-27 Thread jonhobbs

Hi Karl,

I've just realised where I've seen your name before. On the spine of
the spine of the book sitting here on my desk :)

An excellent book it is too.

Jon

On Nov 26, 7:09 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Hi Jon,
>
> Here you go:
>
> $(document).ready(function() {
>$('.Grid th').each(function(column) {
>  column ++;
>  $('input:checkbox', this).click(function() {
>$('.Grid tbody tr td:nth-child(' + column + ')
> input:checkbox').attr({checked: $(this).is(':checked') ? 'checked' :
> ''});
>  });
>});
>
> });
>
> :-)
>
> --Karl
> _
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Nov 25, 2007, at 5:15 PM, jonhobbs wrote:
>
>
>
> > Hi,
>
> > I hope somebody can help me. I'm trying to write a function which will
> > tick every checkbox in a column when you tick the checkbox in the
> > header.
>
> > The plan is to attach an evetn to every checkbox in the header which
> > when you check it will find the column bumber of the cell it is in and
> > plug that number into the following code where the x is...
>
> > $(".Grid tbody tr td:nth-child(x)
> > [EMAIL PROTECTED]'checkbox']").each(function() {
> >this.checked = true;
> > });
>
> > I can figure out how to get the parent element of the checkbox (which
> > will be a TD), just don't know how to find out that cells position in
> > the table row.
>
> > Any help would be appreciated.


[jQuery] cluetip: opening tips from non cluetip elements

2007-11-27 Thread PJ

[Help me Karl. You're my only hope!! Well my best chance of success at
least!]

As I mentioned in a couple of other posts I am building an interface
using the cluetip and validate plugins for jQuery. I have both working
well but I am trying to integrate them smoothly now and I have a few
issues.

I want to be able to control cluetip "tips" without clicking on the
elements used to define the tips in the first place.

I have:


Name




The label and input are obvious - the span is an icon showing the
current state of the data entered. A tick if valid, a cross if not.

cluetip works great to help the user when explaining the data we
require - they click the help icon and the tip tells them what to do.
But I also want to use clueTip to show error messages. So the validate
plugin determines an error and then calls clueTip to display the
correct "tip" ~(in the case above it would be the tip associated with
help1).

This is where I am struggling. How can I control specific "tips"
without clicking on the defining elements?

$(".cluetip-help").fadeIn(slow);

The above would be nice - but I am having no joy with it - mainly as
i'm not specifying the originating element (help1, help2,
help3, .). I have had a look at your code but I've not been
playing with it long enough to come up with a sensible line of attack.

Any help or ideas would (again) be greatly appreciated.


Cheers



PJ


[jQuery] Re: OT jQuery plugins user account password

2007-11-27 Thread Mike Hostetler

Hello Everyone-

I apologize for not getting to this earlier.  I don't follow this
list.  Thankfully Karl Swedberg sent me an email notifying me of the
problem.

Turns out the sessions table on the plugins site was corrupted.  I
have since repaired it and logins are now working again.

Thanks!

Mike Hostetler
http://amountaintop.com

On Nov 27, 6:45 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I'm having the same problem. It might be a database problem or
> something. In any case, I sent an email directly to someone who, I
> hope, can help.
>
> --Karl
> _
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Nov 27, 2007, at 5:38 AM, Leandro Vieira Pinho wrote:
>
>
>
> > Hi Guys,
>
> > I can´t login too. Any to retrieve my password.
>
> > Since the version 0.1 of jQuery lightBox plugin,
> >http://leandrovieira.com/projects/jquery/lightbox/, I´m tring to
> > login. But withou success.
>
> > Someone will help us?
>
> > On Nov 27, 7:07 am, GianCarlo Mingati <[EMAIL PROTECTED]>
> > wrote:
> >> Hey, are somebody going to fix this?
> >> I can't login
> >> GC
>
> >> On Nov 27, 2:23 am, Flesler <[EMAIL PROTECTED]> wrote:
>
> >>> I do get the reset password email. Over and over, but I can't get to
> >>> log in or even change the password.. I suppose something is
> >>> generally
> >>> wrong.
>
> >>> Ariel Flesler
>
> >>> On 26 nov, 14:00, <[EMAIL PROTECTED]> wrote:
>
>  there seems to be a problem, when trying to change the password I
>  keep getting an error message, I guess we have to wait for the
>  site to sort it out
>
>  -ark
>
>  - Original Message -
>  From: "GianCarlo Mingati" <[EMAIL PROTECTED]>
>  To: "jQuery (English)" 
>  Sent: Monday, November 26, 2007 11:25 AM
>  Subject: [jQuery] Re: OT jQuery plugins user account password
>
>  | The problem is when you ask for a new password the mail is not
>  sent at
>  | all
>  | Ark, if you can try logging out and login again.
>  | see if you can login
>  | GC
>  |
>  | On Nov 26, 5:20 pm, Flesler <[EMAIL PROTECTED]> wrote:
>  | > I do have, but I clean the spam list daily.
>  | >
>  | - Mostrar texto de la cita -- Ocultar texto de la cita -
>
>  - Mostrar texto de la cita -


[jQuery] Re: Can $(document).ready() be put into a separate JS file?

2007-11-27 Thread Stephen

Ok, I have to examine the specifics of my computer set up.  I tried
the following code on two different machines with similar setups
(Windows XP, IE6, Firefox 2.0.0.9 vs. 2.0.0.6, jquery 1.2.1 unpacked).

--START  Test HTML file-




Test










-END


--START test.js ---
$(document).ready( function() {});

--- END --


On the first machine, it gave me the "$ is not defined" message.  On
the second machine, it works.  Based on Suni's remarks, I will look at
the first machine more closely.

I appreciate everyone throwing out ideas for me to examine.


--Stephen

On Nov 27, 3:04 am, Suni <[EMAIL PROTECTED]> wrote:
> There has to be some other problem. Are you absolutely sure that
> jquery.js gets loaded? Any chance the link pointing to jquery.js is
> wrong?
>
> I always use $(document).ready in other files and there haven't been
> any problems with it.
>
> Please post full HTML and JS of a simplified example if the problem
> persists.
>
> --
> Suni


[jQuery] 1.2.2

2007-11-27 Thread KidsKilla

Hi All!
Can you answer me a question, when it is planned to release the
version 1.2.2?


[jQuery] Changing the state of multiple checkboxes - looking for comments on this...

2007-11-27 Thread Andy Davies

I'm trying to convince a supplier to adopt jQuery instead of using
their own (awful) javascript library and so I'm knocking some examples
based on the html pages they've already got.

One of the pages is your typical message list with a checkbox to
select messages individually and a checkbox in the header to select
them all, there's also delete and move buttons that get disabled based
on the state of the checkboxes.

I've knocked up the following example and it appears to work fine, but
I wondered as it's my first crack at using jQuery if anyone could
think of a nicer way of handling the code in the updateStates()
method?


$(document).ready(function(){

// Add event handler to checkbox in header to change the status of all
check boxes when it's clicked.
$(':[EMAIL PROTECTED]').click(function(){
var checked = this.checked; // Save 
the state of the checkbox in
the header
$(':[EMAIL PROTECTED]').each(function(i){
this.checked = checked; // 
Apply it to the others in the list
});
updateStates();
});

// When a checkbox is checked or unckecked, change status of move and
delete buttons, and checkbox in header
$(':[EMAIL PROTECTED]').click(function(){
updateStates();
});

// Update the states of the buttons and the header checkbox when any
of the others change
function updateStates()
{
var allCheckboxes = $(':[EMAIL PROTECTED]');
// Create array
of all checkboxes expect the header one
var checkedCheckboxes = allCheckboxes.filter(':checked');   
// Filter
array to be just those that are checked

if(allCheckboxes.length == checkedCheckboxes.length)
{
$(':[EMAIL PROTECTED]').attr('checked', 'checked'); 
// all
boxes are checked, check header
}
else
{
$(':[EMAIL PROTECTED]').removeAttr('checked');  
// not all
boxes are checked, uncheck header
}

if(checkedCheckboxes.length == 0)
{
$('#btnMove').attr('disabled', 'disabled'); 
// No boxes are
checked, disable buttons
$('#btnDelete').attr('disabled', 'disabled');
}
else
{
$('#btnMove').removeAttr('disabled');   
// Some boxes are
checked, enable buttons
$('#btnDelete').removeAttr('disabled');
}

}
});

Cheers

Andy


[jQuery] Re: OT jQuery plugins user account password

2007-11-27 Thread GianCarlo Mingati

it's ok now.
ready to roll ;-)


On Nov 27, 4:18 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Hey everyone,
>
> Mike Hostetler came to the rescue and fixed the login problem at
> jquery.com/plugins/
>
> I just successfully logged in, so please try again now and let us know
> if you're still experiencing problems.
>
> --Karl
>
> On Nov 27, 2007, at 8:45 AM, Karl Swedberg wrote:
>
>
>
> > Hi there,
>
> > I'm having the same problem. It might be a database problem or
> > something. In any case, I sent an email directly to someone who, I
> > hope, can help.
>
> > --Karl
> > _
> > Karl Swedberg
> >www.englishrules.com
> >www.learningjquery.com
>
> > On Nov 27, 2007, at 5:38 AM, Leandro Vieira Pinho wrote:
>
> >> Hi Guys,
>
> >> I can´t login too. Any to retrieve my password.
>
> >> Since the version 0.1 of jQuery lightBox plugin,
> >>http://leandrovieira.com/projects/jquery/lightbox/, I´m tring to
> >> login. But withou success.
>
> >> Someone will help us?
>
> >> On Nov 27, 7:07 am, GianCarlo Mingati <[EMAIL PROTECTED]>
> >> wrote:
> >>> Hey, are somebody going to fix this?
> >>> I can't login
> >>> GC
>
> >>> On Nov 27, 2:23 am, Flesler <[EMAIL PROTECTED]> wrote:
>
>  I do get the reset password email. Over and over, but I can't get
>  to
>  log in or even change the password.. I suppose something is
>  generally
>  wrong.
>
>  Ariel Flesler
>
>  On 26 nov, 14:00, <[EMAIL PROTECTED]> wrote:
>
> > there seems to be a problem, when trying to change the password
> > I keep getting an error message, I guess we have to wait for the
> > site to sort it out
>
> > -ark
>
> > - Original Message -
> > From: "GianCarlo Mingati" <[EMAIL PROTECTED]>
> > To: "jQuery (English)" 
> > Sent: Monday, November 26, 2007 11:25 AM
> > Subject: [jQuery] Re: OT jQuery plugins user account password
>
> > | The problem is when you ask for a new password the mail is not
> > sent at
> > | all
> > | Ark, if you can try logging out and login again.
> > | see if you can login
> > | GC
> > |
> > | On Nov 26, 5:20 pm, Flesler <[EMAIL PROTECTED]> wrote:
> > | > I do have, but I clean the spam list daily.
> > | >
> > | - Mostrar texto de la cita -- Ocultar texto de la cita -
>
> > - Mostrar texto de la cita -


[jQuery] Re: OT jQuery plugins user account password

2007-11-27 Thread Flesler

I'm in, good job.

Ariel Flesler

On 27 nov, 12:18, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Hey everyone,
>
> Mike Hostetler came to the rescue and fixed the login problem at
> jquery.com/plugins/
>
> I just successfully logged in, so please try again now and let us know
> if you're still experiencing problems.
>
> --Karl
>
> On Nov 27, 2007, at 8:45 AM, Karl Swedberg wrote:
>
>
>
>
>
> > Hi there,
>
> > I'm having the same problem. It might be a database problem or
> > something. In any case, I sent an email directly to someone who, I
> > hope, can help.
>
> > --Karl
> > _
> > Karl Swedberg
> >www.englishrules.com
> >www.learningjquery.com
>
> > On Nov 27, 2007, at 5:38 AM, Leandro Vieira Pinho wrote:
>
> >> Hi Guys,
>
> >> I can´t login too. Any to retrieve my password.
>
> >> Since the version 0.1 of jQuery lightBox plugin,
> >>http://leandrovieira.com/projects/jquery/lightbox/, I´m tring to
> >> login. But withou success.
>
> >> Someone will help us?
>
> >> On Nov 27, 7:07 am, GianCarlo Mingati <[EMAIL PROTECTED]>
> >> wrote:
> >>> Hey, are somebody going to fix this?
> >>> I can't login
> >>> GC
>
> >>> On Nov 27, 2:23 am, Flesler <[EMAIL PROTECTED]> wrote:
>
>  I do get the reset password email. Over and over, but I can't get
>  to
>  log in or even change the password.. I suppose something is
>  generally
>  wrong.
>
>  Ariel Flesler
>
>  On 26 nov, 14:00, <[EMAIL PROTECTED]> wrote:
>
> > there seems to be a problem, when trying to change the password
> > I keep getting an error message, I guess we have to wait for the
> > site to sort it out
>
> > -ark
>
> > - Original Message -
> > From: "GianCarlo Mingati" <[EMAIL PROTECTED]>
> > To: "jQuery (English)" 
> > Sent: Monday, November 26, 2007 11:25 AM
> > Subject: [jQuery] Re: OT jQuery plugins user account password
>
> > | The problem is when you ask for a new password the mail is not
> > sent at
> > | all
> > | Ark, if you can try logging out and login again.
> > | see if you can login
> > | GC
> > |
> > | On Nov 26, 5:20 pm, Flesler <[EMAIL PROTECTED]> wrote:
> > | > I do have, but I clean the spam list daily.
> > | >
> > | - Mostrar texto de la cita -- Ocultar texto de la cita -
>
> > - Mostrar texto de la cita -- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -


[jQuery] Re: OT jQuery plugins user account password

2007-11-27 Thread Karl Swedberg


Hey everyone,

Mike Hostetler came to the rescue and fixed the login problem at  
jquery.com/plugins/


I just successfully logged in, so please try again now and let us know  
if you're still experiencing problems.



--Karl


On Nov 27, 2007, at 8:45 AM, Karl Swedberg wrote:



Hi there,

I'm having the same problem. It might be a database problem or  
something. In any case, I sent an email directly to someone who, I  
hope, can help.



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



On Nov 27, 2007, at 5:38 AM, Leandro Vieira Pinho wrote:



Hi Guys,

I can´t login too. Any to retrieve my password.

Since the version 0.1 of jQuery lightBox plugin,
http://leandrovieira.com/projects/jquery/lightbox/, I´m tring to
login. But withou success.

Someone will help us?

On Nov 27, 7:07 am, GianCarlo Mingati <[EMAIL PROTECTED]>
wrote:

Hey, are somebody going to fix this?
I can't login
GC

On Nov 27, 2:23 am, Flesler <[EMAIL PROTECTED]> wrote:

I do get the reset password email. Over and over, but I can't get  
to
log in or even change the password.. I suppose something is  
generally

wrong.



Ariel Flesler



On 26 nov, 14:00, <[EMAIL PROTECTED]> wrote:


there seems to be a problem, when trying to change the password  
I keep getting an error message, I guess we have to wait for the

site to sort it out



-ark



- Original Message -
From: "GianCarlo Mingati" <[EMAIL PROTECTED]>
To: "jQuery (English)" 
Sent: Monday, November 26, 2007 11:25 AM
Subject: [jQuery] Re: OT jQuery plugins user account password


| The problem is when you ask for a new password the mail is not  
sent at

| all
| Ark, if you can try logging out and login again.
| see if you can login
| GC
|
| On Nov 26, 5:20 pm, Flesler <[EMAIL PROTECTED]> wrote:
| > I do have, but I clean the spam list daily.
| >
| - Mostrar texto de la cita -- Ocultar texto de la cita -



- Mostrar texto de la cita -






[jQuery] Re: limits using dblclick if too many elements ?

2007-11-27 Thread Suni

I tested your code (FF and IE) with up to 5000 span-elements and could
not reproduce the issue. The message was appended every time
immediately.

There is propable something else in the page distracting the process.
Please note that when you doubleclick the normal click-event gets also
processed (before the doubleclick). If you have bound some heavy stuff
to happen on normal click, that gets executed every time you
doubleclick.


[jQuery] resizable aspectRatio, does it work?

2007-11-27 Thread [EMAIL PROTECTED]

Hi there,
I am trying to create a resizable object that gets resized only using
the se handle and maintains its aspect ratio.
I tried:
var options={aspectRatio: 'preserve' }
resizeobj.resizable(options);

but nothing happens.

Am I doing something wrong?

Val


[jQuery] Re: how to access this?

2007-11-27 Thread jonhobbs

You could put the inches into a span like this...

inches

then you could change it using

$("#HeightLabel").text("centimeters");

If you're going to have lots of them on the page then you'll have to
use a class name instead of an ID and find some way of selecting just
the one you want to change.

Jon


On Nov 27, 8:12 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have this:
>
> Height
>  
>  
> 78
> inches
> 
>
> How to access the word "Inches" and change it to something else?
> Thanks.
>
> A.C.


[jQuery] Re: Packing a javascript modified

2007-11-27 Thread Eric Martin

Try:
http://dean.edwards.name/packer/

To work, the syntax of your js file has to be correct. You can use
JSLint to check your syntax:
http://www.jslint.com/

-Eric

On Nov 27, 3:00 am, Andrea - Aosta <[EMAIL PROTECTED]> wrote:
> I have modified a file for jquery... a WYMeditor editor js file and i
> want to packing it. How tool i use? Thank you


[jQuery] Re: OT jQuery plugins user account password

2007-11-27 Thread Karl Swedberg


Hi there,

I'm having the same problem. It might be a database problem or  
something. In any case, I sent an email directly to someone who, I  
hope, can help.



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



On Nov 27, 2007, at 5:38 AM, Leandro Vieira Pinho wrote:



Hi Guys,

I can´t login too. Any to retrieve my password.

Since the version 0.1 of jQuery lightBox plugin,
http://leandrovieira.com/projects/jquery/lightbox/, I´m tring to
login. But withou success.

Someone will help us?

On Nov 27, 7:07 am, GianCarlo Mingati <[EMAIL PROTECTED]>
wrote:

Hey, are somebody going to fix this?
I can't login
GC

On Nov 27, 2:23 am, Flesler <[EMAIL PROTECTED]> wrote:


I do get the reset password email. Over and over, but I can't get to
log in or even change the password.. I suppose something is  
generally

wrong.



Ariel Flesler



On 26 nov, 14:00, <[EMAIL PROTECTED]> wrote:


there seems to be a problem, when trying to change the password I  
keep getting an error message, I guess we have to wait for the

site to sort it out



-ark



- Original Message -
From: "GianCarlo Mingati" <[EMAIL PROTECTED]>
To: "jQuery (English)" 
Sent: Monday, November 26, 2007 11:25 AM
Subject: [jQuery] Re: OT jQuery plugins user account password


| The problem is when you ask for a new password the mail is not  
sent at

| all
| Ark, if you can try logging out and login again.
| see if you can login
| GC
|
| On Nov 26, 5:20 pm, Flesler <[EMAIL PROTECTED]> wrote:
| > I do have, but I clean the spam list daily.
| >
| - Mostrar texto de la cita -- Ocultar texto de la cita -



- Mostrar texto de la cita -




[jQuery] Packing a javascript modified

2007-11-27 Thread Andrea - Aosta

I have modified a file for jquery... a WYMeditor editor js file and i
want to packing it. How tool i use? Thank you


[jQuery] Re: NaNpx problem in jQuery 1.2.1

2007-11-27 Thread [EMAIL PROTECTED]

Many thanks Dave!

All sorted now. Put it down to my n00bishness with jQuery.

I've refactored out findpos() and am now using offset() - thanks for
the tip.

+1 internet points to Dave :-)

On Nov 27, 2:21 am, Dave Methvin <[EMAIL PROTECTED]> wrote:
> >  $result.css({
> >   top: (pos.y + $input.offsetHeight) + "px",
>
> Maybe you meant $input[0].offsetHeight instead?
>
> >   var pos = findPos(document.getElementById($input.attr("id")));
>
> I think this is just
>
>var pos = findPos($input[0]);
>
> Instead of using findPos, you should be able to use .offset() in
> jQuery 1.2.
>
> http://docs.jquery.com/CSS/offset


[jQuery] limits using dblclick if too many elements ?

2007-11-27 Thread dehneg

Hello,

My script has a strange behaviour and I can not found why.


My html code looks like :


   1
   2
   3
   4
   ...
   ...
   n-1
   n




I use jQuery 1.2.1. and have a script like this :

$(document).ready(function() {
$("#test").load('cgi-bin/alignTmp/num') ;
$('.bioNumUnit').dblclick(function(event){
$('body').append('dblclick on ' + event.target.id 
+ '');});
}
);


If n = 700  : no problem,
if n = 1200: takes few seconds with 100% cpu and append the test
message,
if n = 1600: takes more seconds and never append the message,
if n = 3000: takes minutes but  display the message.
if I replace the dbclick by the click event there is no problem.

Why it takes so much time when n is increasing ?
Why the callback function is called sometimes and other times is not
called ?
Any idea ? (sorry if it is a known issue),

Alex

(This is my second post. The previous post 8 hours ago was not
published)


[jQuery] Re: fadeout a div after a few seconds

2007-11-27 Thread guix69

Almost found the solution...
You were right about the use of success: fadeOutResponse.
I had tried success: fadeOutResponse() and believe it or not it
doesn't produce
the same result !
I don't know why but when I use success: fadeOutResponse() the
function is
executed as soon as I load the page. (Without the () it works and the
function
is executed when the form is submitted succesfully).
BUT this means that I cannot make this fadeOutResponse function work
for
any div I would like to hide. fadeOutResponse(#anyelement) is executed
when
the page is loaded.

I would obviously like to avoid having one function per div I have to
hide so do you
think there is a solution ?

Thanks.


[jQuery] Re: selector to string

2007-11-27 Thread Jean-Sébastien

i want to send an ajax query in which i pass the element to update:

$.ajax({url: _href,data: "rel=" + escape("#myId a.myClass")})

On Nov 27, 8:58 am, Suni <[EMAIL PROTECTED]> wrote:
> I dont think there is any easy way to do that.
>
> A single DOM element could have 10 different selectors that match it
> (or others with it). Such a function could return just "#myId", or
> maybe "div.foobar a".
>
> Why would you need to do this in the first place? Once you've selected
> an element you generally should _avoid_ selecting it again with a
> selector string (why bother the extra overhead of re-selecting since
> you already have the element selected?). You can just pass the object
> as a parameter to whatever functions you might need.
>
> What are you trying to accomplish?
>
> --
> Suni


[jQuery] Re: fadeout a div after a few seconds

2007-11-27 Thread guix69

I had tried that also, somewhere around my second post:)
But it doesn't fade out my pdresult DIV.


[jQuery] load() render issues

2007-11-27 Thread ryanfitzer

I'm getting inconsistent rendering of the html pulled form another
page using load().

Here is the code:

var root_url = window.location.href;
var load_url = $('.tabs-navigation ul li:eq(0) a').attr('href');
$(".tabs-content .overview").load(root_url+load_url+' .entry *');

Safari 3 is adding an extra  in the output.
FF2 is self closing s and extracting s from  elements and
placing them on there own line.

When I check the response in FireBug's console the html is being
retrieved intact.

I'm using WordPress (not sure if this is a contributing factor) for
the CMS.

Any help is appreciated.


[jQuery] Re: selector to string

2007-11-27 Thread Jean-Sébastien

hi suni,  want to send an ajax query, in which i tell the dom element
to update.

On Nov 27, 8:58 am, Suni <[EMAIL PROTECTED]> wrote:
> I dont think there is any easy way to do that.
>
> A single DOM element could have 10 different selectors that match it
> (or others with it). Such a function could return just "#myId", or
> maybe "div.foobar a".
>
> Why would you need to do this in the first place? Once you've selected
> an element you generally should _avoid_ selecting it again with a
> selector string (why bother the extra overhead of re-selecting since
> you already have the element selected?). You can just pass the object
> as a parameter to whatever functions you might need.
>
> What are you trying to accomplish?
>
> --
> Suni


[jQuery] Re: clueTip: opening one tip closes another tip

2007-11-27 Thread PJ

Ha ha. One step ahead of you. For once!!

I saw John's post and had a play with it. Works well except for one
thing...

In my set up I have icons that show the state of an input field (a
green tick if data was valid, a red 'x' if there is an error). If you
click on an icon then the associated message pops up in a tip for an
error icon. If you have multiple errors then you can click on the
icons to see the relevant error. That was where I left you.

But the spec for the project actually requires John's idea also.
i.e.when tabbing through the form it pops up any errors.

The problem with John's code (no offence John if you're listening) is
that when you set the field to activation: 'focus' it breaks the code
if the user decides to click on the icon (which intuitively most will
do) - the tip does not pop up - instead the href behaves as a proper
link and loads the content (external HTML in this case) in the
browser.

I did start to have a play to fix this but I have been distracted with
validation issues for the last day. When I get back to it I will let
you know. If anyone beats me to the punch please let me know.



Cheers


PJ

On Nov 26, 8:40 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Hi PJ,
>
> Glad you're happy with the fix. :-)
>
> Someone else (John Shapiro?) just requested adding "focus" as an  
> available value for the "activation" option and provided a patch. So,  
> I dropped it in. It seems like a reasonable thing to want to have. You  
> can grab it from the same SVN link until I get around to packaging  
> everything into a new release.
>
> http://jqueryjs.googlecode.com/svn/trunk/plugins/cluetip/
>
> Cheers,
>
> --Karl
> _
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Nov 26, 2007, at 4:05 AM, PJ wrote:
>
>
>
>
>
> > Nothing better than starting Monday morning with the solution to an
> > issue!! Many, many thanks Karl.
>
> > Works perfectly with IE6 and FF1.5. I shall do some testing later with
> > other browsers.
>
> > The changes really make the interface much more intuative. I just need
> > to add some bespoke onfocus functions for when users tab through form
> > fields and I'll be there.
>
> > Thanks again.
>
> > PJ
>
> > On Nov 23, 6:30 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> >> On Nov 23, 2007, at 4:43 AM, PJ wrote:
>
> >>> Phew. I thought it was just me being stupid!!
>
> >> Nope. that was me being stupid. ;-)
>
> >>> It is a great script and delivers 90% of what we are looking for -  
> >>> but
> >>> when I sent it off for testing the main feedback was that users want
> >>> to click on all the icons they can see - not open, then click the
> >>> closebutton so that they can open another tip.
>
> >> makes sense to me.
>
> >>> You have "thought out loud" exactly what we need. If you think it
> >>> might be doable in the short term please let me know. I will try to
> >>> make it work at my end and report back - but we are running close to
> >>> the deadline and I may need to change things round to appease the
> >>> powers that be.
>
> >> glad we're on the same page. definitely doable. In fact, I've just
> >> uploaded a new version to svn with the changes:
>
> >>http://jqueryjs.googlecode.com/svn/trunk/plugins/cluetip/
> >> jquery.cluet...
>
> >>> Great work by the way and thanks for the quick response.
>
> >> no problem. There is nothing that motivates me more than compliments,
> >> and yours were no exception. (In other words, flattery will get you
> >> everywhere with me.)  :-)
>
> >> Let me know if you run into any problems with the new version. I
> >> haven't had a chance to test the latest changes in IE, but I don't
> >> foresee any issues.
>
> >> Cheers,
>
> >> Karl- Hide quoted text -
>
> - Show quoted text -


[jQuery] Re: OT jQuery plugins user account password

2007-11-27 Thread Leandro Vieira Pinho

Hi Guys,

I can´t login too. Any to retrieve my password.

Since the version 0.1 of jQuery lightBox plugin,
http://leandrovieira.com/projects/jquery/lightbox/, I´m tring to
login. But withou success.

Someone will help us?

On Nov 27, 7:07 am, GianCarlo Mingati <[EMAIL PROTECTED]>
wrote:
> Hey, are somebody going to fix this?
> I can't login
> GC
>
> On Nov 27, 2:23 am, Flesler <[EMAIL PROTECTED]> wrote:
>
> > I do get the reset password email. Over and over, but I can't get to
> > log in or even change the password.. I suppose something is generally
> > wrong.
>
> > Ariel Flesler
>
> > On 26 nov, 14:00, <[EMAIL PROTECTED]> wrote:
>
> > > there seems to be a problem, when trying to change the password I keep 
> > > getting an error message, I guess we have to wait for the
> > > site to sort it out
>
> > > -ark
>
> > > - Original Message -
> > > From: "GianCarlo Mingati" <[EMAIL PROTECTED]>
> > > To: "jQuery (English)" 
> > > Sent: Monday, November 26, 2007 11:25 AM
> > > Subject: [jQuery] Re: OT jQuery plugins user account password
>
> > > | The problem is when you ask for a new password the mail is not sent at
> > > | all
> > > | Ark, if you can try logging out and login again.
> > > | see if you can login
> > > | GC
> > > |
> > > | On Nov 26, 5:20 pm, Flesler <[EMAIL PROTECTED]> wrote:
> > > | > I do have, but I clean the spam list daily.
> > > | >
> > > | - Mostrar texto de la cita -- Ocultar texto de la cita -
>
> > > - Mostrar texto de la cita -


[jQuery] Re: OT jQuery plugins user account password

2007-11-27 Thread GianCarlo Mingati

Hey, are somebody going to fix this?
I can't login
GC

On Nov 27, 2:23 am, Flesler <[EMAIL PROTECTED]> wrote:
> I do get the reset password email. Over and over, but I can't get to
> log in or even change the password.. I suppose something is generally
> wrong.
>
> Ariel Flesler
>
> On 26 nov, 14:00, <[EMAIL PROTECTED]> wrote:
>
> > there seems to be a problem, when trying to change the password I keep 
> > getting an error message, I guess we have to wait for the
> > site to sort it out
>
> > -ark
>
> > - Original Message -
> > From: "GianCarlo Mingati" <[EMAIL PROTECTED]>
> > To: "jQuery (English)" 
> > Sent: Monday, November 26, 2007 11:25 AM
> > Subject: [jQuery] Re: OT jQuery plugins user account password
>
> > | The problem is when you ask for a new password the mail is not sent at
> > | all
> > | Ark, if you can try logging out and login again.
> > | see if you can login
> > | GC
> > |
> > | On Nov 26, 5:20 pm, Flesler <[EMAIL PROTECTED]> wrote:
> > | > I do have, but I clean the spam list daily.
> > | >
> > | - Mostrar texto de la cita -- Ocultar texto de la cita -
>
> > - Mostrar texto de la cita -


[jQuery] Re: Jquery Ajax dropping special characters

2007-11-27 Thread Giovanni Battista Lenoci

Are you triyng to send a query like this?

  var data = "vote=C+";
  $.ajax({
type: "POST",
url: "ajax.php",
data: data,
dataType: "json",
success: function(data_result) { ShowMessage(data_result) }
  });

Try using the code for the plus sign:   %2b

Bye

On Nov 27, 4:59 am, damitha <[EMAIL PROTECTED]> wrote:
> I am trying to send an mysql query to the server from a client
> programme by
> using the jquery  $.ajax({}) function. The query string comprises of +
> sign
> which is used to assign student grades (such as C+). The server side
> programming is in php. However I have realized at the time of sending
> the Ajax
> request jquery drops + signs from the query string.  Is there any way
> to stop
> dropping of + character from the query string.


[jQuery] Re: how to access this?

2007-11-27 Thread Giovanni Battista Lenoci

Don't know if there is a better way, but this code works:


$(document).ready(function() {
   $div_cloned = $('#test').clone();
   $('select', $div_cloned).remove();
   alert($div_cloned.text());
});



Height
 
 
78
inches






Bye


[jQuery] how to access this?

2007-11-27 Thread [EMAIL PROTECTED]

Hi,

I have this:

Height
 
 
78
inches


How to access the word "Inches" and change it to something else?
Thanks.

A.C.



[jQuery] Re: html() and text() creates block elements - need inline to output messages

2007-11-27 Thread Klaus Hartl


On 26 Nov., 23:30, asle <[EMAIL PROTECTED]> wrote:
> Hello,
> I have a small menu bar  with several buttons. Only the height of
> the buttons. I.ex. one button creates a new list item under the bar. A
>  element (.msg) shows the message where I output "New item
> created" after every click and fade it out. If I use
> $(".msg").replaceWith(text).fadeOut("slow") - I only get the text on
> the first click. And the text does not fade out. I believe
> "replaceWith" replaces the element with a new one and removes the
> event?
>
> When I use:
> $(".msg").html(txt) or
> $(".msg").text(txt)
> the message shows every time but from the second time I click and on
> it shows under the buttons. I believe it displays block then? How do I
> avoid it breaking under the elements and displaying inline?
>
> Thanks,
> /asle

I think the animation makes an element block, but I thought this is
reverted afterwards. Anyway, try to float elements or maybe set the
display again to inline in the callback of the animation.


--Klaus


[jQuery] Re: Which child am I?

2007-11-27 Thread badtant

Thanks everyone!

This is what I ended up using:
var index = $(this).parent().children("th").index(this) + 1;

/N

On Nov 26, 6:58 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote:
> Getting the row is easier. :)  There is a rowIndex 
> attribute.http://commadot.com/jquery/rowindex.php
>
> Nuts, I am too late.  Question answered.  I whipped up a demo 
> anyway.http://commadot.com/jquery/colIndex.php
>
> Fun question.
>
> Glen
>
> On Nov 26, 2007 8:10 AM, jonhobbs <[EMAIL PROTECTED]> wrote:
>
>
>
> > I posted a very similar question yesterday, here -
>
> >http://groups.google.com/group/jquery-en/browse_thread/thread/c50d8ef...
>
> > I possibly worded the question badly and haven't had a reply yet but
> > would also be very interested in a neat way to do this.
>
> > People must often need a way to find out the index of an element
> > amongst it's siblings ?
>
> > Jon
>
> > On Nov 26, 3:35 pm, badtant <[EMAIL PROTECTED]> wrote:
> > > I have the following html:
>
> > > 
> > > 
> > > 
> > > col a
> > > col b
> > > col c
> > > 
> > > 
> > > 
> > > 
> > > aaa
> > > bbb
> > > ccc
> > > 
> > > 
> > > 
>
> > > When the user hovers the th-element I have a function. I want that
> > > function to return which of the columns that has been hovered. Let me
> > > explain... when hovering "col a" I want to get the value 1 and when
> > > hovering "col b" I want to get the value 2. Any suggestions on how can
> > > that be achieved?
>
> > > Thanks!
> > > /Niklas


[jQuery] Re: Can $(document).ready() be put into a separate JS file?

2007-11-27 Thread Suni

There has to be some other problem. Are you absolutely sure that
jquery.js gets loaded? Any chance the link pointing to jquery.js is
wrong?

I always use $(document).ready in other files and there haven't been
any problems with it.

Please post full HTML and JS of a simplified example if the problem
persists.

--
Suni


[jQuery] Re: How to access dynamic raw images generated by PHP?

2007-11-27 Thread Suni

Just let jQuery create an img-element that points to the php file:



Also make sure the php script outputs correct response headers
(content-type etc).

--
Suni