[jQuery] Re: Could anyone send me a copy of Catfish Advert Plugin 1.3.

2007-06-21 Thread Logan Cai


help.!

Logan Cai wrote:
 
 Could anyone send me a copy of Catfish Advert Plugin 1.3. its official
 site is offline now.
 I am developing another Jquery based Open Source Project - Ajax Form
 Builder, need it ASAP.
 thanks in advance.
 Logan Cai
 http://www.phpletter.com 
 

-- 
View this message in context: 
http://www.nabble.com/Could-anyone-send-me-a-copy-of-Catfish-Advert-Plugin-1.3.-tf3954744s15494.html#a11227263
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Easing rocks

2007-06-21 Thread Erik Beeson

I like backin/out. It feels like the virtual equivalent of physical toggle
switches that work like that (often used as power switches).

I disagree about having that stuff in the core though. Often I don't even
need animations or ajax, but part of what I really like about jQuery is that
it's small enough that it doesn't hurt to load all of that stuff whether you
need it or not. Not having to deal with loading various packages based on
which features you need is nice, but the tricky bit is finding the right
balance between including things and not. I'd say, leave the core features
in the core, and addon features in plugins. e.g. Basic ajax stuff in the
core, auto ajaxification of forms in a plugin. Basic animations in the core,
fancy easing effects in a plugin. Basic selectors in the core, super speed
tuned selectors in a plugin. etc.

--Erik


On 6/20/07, Glen Lipka [EMAIL PROTECTED] wrote:


Had occasion just now to use the Easing plugin
http://gsgd.co.uk/sandbox/jquery.easing.php

I replaced a slideDown Toggle with bounceout.  Kickass.
And it's 2k!  Too cool.  Improves the interaction immediately,

I'm changing my vote on stuff I think should be in the base.  Yes, I am
fickle.
1. Dimensions
2. Easing
3. TurboSpeed (yet to be developed)

I took moreSelectors off my list.  Sorry moreSelectors.  Only three spots.


Glen




[jQuery] Re: Table cell navigation

2007-06-21 Thread Rob Desbois

I would suggest making all of these items related via numeric IDs, you then
dispose with having to traverse up and back down the DOM to find the related
elements:

tr

 td
   select id=select_1.../select
 /td
 td
   input id=text_1a type=text ... /
 /td
 td
   input id=text_1b type=text ... /
 /td
 td
   input id=text_1c type=text ... /
 /td
 td
   ...
 /td
/tr


// Update 2nd column input with new_value.
// $(this) is the select in the first row cell.
var index = /select_(\d+)/.exec(this.id)[1];  // Get the number from the
ID. There is no checking if it doesn't match.
var new_value = $(this).val();
$(text_+index+a).val(new_value);



Incidentally, as I've used here, the .val() function is a handy shortcut for
.attr(val, ...)

I don't know what the speed difference is here but I'm guessing it'll be
pretty good.

HTH,
--rob


On 6/21/07, Brad Perkins [EMAIL PROTECTED] wrote:



Imagine a table row like this

tr
  td
select.../select
  /td
  td
input type=text ... /
  /td
  td
input type=text ... /
  /td
  td
input type=text ... /
  /td
  td
...
  /td
/tr



Depending on the select option I need to modify or clear values in the
text inputs in the 2nd, 3rd, and 4th cells.

I find that this code works, but suspect there may be a better way to
achieve the same result with less code?

// Update 2nd column input with new_value.
// $(this) is the select in the first row cell.
$

(this).parent('td').parent('tr').children('td').eq(1)children('input').attr(value,new_value);

Since I'll be updating various cells I suppose this helps, but again
suspect there is a better way.
var cells = $(this).parent('td').parent('tr').children('td');
cells.eq(1).children('input').attr(value,new_value_1);
cells.eq(3).children('input').attr(value,new_value_2);
cells.eq(4).children('input').attr(value,new_value_3);

Thanks

Brad





--
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: New Plugin Repository

2007-06-21 Thread Alexandre Plennevaux

Another idea: i'd like to be informed whenever a new plugin has been added,
because plugins are a source of inspiration . 
Possible to have RSS or email warning? Or an automated and preformated email
to the mailing list?


-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ashish Agrawal
Sent: jeudi 21 juin 2007 8:23
To: jQuery (English)
Subject: [jQuery] Re: New Plugin Repository


New repository looks good. I have a bit of suggestion. Why not repository
has Tagging system like del.icio.us and a tag cloud. Of course Latest
Addition section will be good for sure.

Cheers,
Ashish Agrawal

Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.472 / Base de données virus: 269.9.1/857 - Date: 20/06/2007
14:18
 


[jQuery] Re: Easing rocks

2007-06-21 Thread Rob Desbois

Glen I disagree there too.
Stuff like this doesn't belong in the core IMO - in fact I think the only
effects that should be present are show() and hide().

What is this mythical 'turbospeed' you speak of? Surely anything that makes
the selectors faster should be the default mechanism used by the core?
Unless of course it's 100KB...

--rob


On 6/21/07, Erik Beeson [EMAIL PROTECTED] wrote:


I like backin/out. It feels like the virtual equivalent of physical toggle
switches that work like that (often used as power switches).

I disagree about having that stuff in the core though. Often I don't even
need animations or ajax, but part of what I really like about jQuery is that
it's small enough that it doesn't hurt to load all of that stuff whether you
need it or not. Not having to deal with loading various packages based on
which features you need is nice, but the tricky bit is finding the right
balance between including things and not. I'd say, leave the core features
in the core, and addon features in plugins. e.g. Basic ajax stuff in the
core, auto ajaxification of forms in a plugin. Basic animations in the core,
fancy easing effects in a plugin. Basic selectors in the core, super speed
tuned selectors in a plugin. etc.

--Erik


On 6/20/07, Glen Lipka [EMAIL PROTECTED] wrote:

 Had occasion just now to use the Easing plugin
 http://gsgd.co.uk/sandbox/jquery.easing.php

 I replaced a slideDown Toggle with bounceout.  Kickass.
 And it's 2k!  Too cool.  Improves the interaction immediately,

 I'm changing my vote on stuff I think should be in the base.  Yes, I am
 fickle.
 1. Dimensions
 2. Easing
 3. TurboSpeed (yet to be developed)

 I took moreSelectors off my list.  Sorry moreSelectors.  Only three
 spots.

 Glen






--
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: Easing rocks

2007-06-21 Thread Klaus Hartl


Erik Beeson wrote:
I like backin/out. It feels like the virtual equivalent of physical 
toggle switches that work like that (often used as power switches).


I disagree about having that stuff in the core though. Often I don't 
even need animations or ajax, but part of what I really like about 
jQuery is that it's small enough that it doesn't hurt to load all of 
that stuff whether you need it or not. Not having to deal with loading 
various packages based on which features you need is nice, but the 
tricky bit is finding the right balance between including things and 
not. I'd say, leave the core features in the core, and addon features in 
plugins. e.g. Basic ajax stuff in the core, auto ajaxification of forms 
in a plugin. Basic animations in the core, fancy easing effects in a 
plugin. Basic selectors in the core, super speed tuned selectors in a 
plugin. etc.



I really like this plugin as well. If I had known this before, I could 
have just use this instead of lots more KB for the Interface bounce out...


Does not need to be in core necessarily, but I'd like to see an official 
turboanimation plugin, in analogy to turbospeed.





--Klaus


[jQuery] Re: need hellp with .get and json

2007-06-21 Thread amircx


umm. i tried it , not work!
 i got in firebug this:

uncaught exception: [object Object]


{statusmsg:1,errmsg:0,desiredurl:sddadandsadsad-as}

http://localhost/includes/private/php/checkVars.php?bn=sddadgn=sadsadbl=sadasdgl=aswhat=SuggestSiteName

$.get(/includes/private/php/checkVars.php, { 
bn: bridename, gn: groomname,
bl:bridelast,gl:groomlast,what:SuggestSiteName}, function(data){

var myObj = eval(data); 
alert(myObj.statusmsg); 
alert(myObj.errmsg); 
  }


ideas?



Christopher Jordan wrote:
 
 
 you say that json returns:
 
 {statusmsg:1,errmsg:0,desiredurl:dsfandsdfdsf-ds}
 
 is that right? is the problem that you don't know how to access what is
 being returned? If that's the case then you'll need to eval what comes
 back. So lets say that:
 
 var myReturnString =
 {statusmsg:1,errmsg:0,desiredurl:dsfandsdfdsf-ds}
 
 then you'd need to do an: eval on myReturnString to turn that into a
 JavaScript Object which you could then access like this:
 
 var myObj = eval(myReturnString);
 alert(myObj.statusmsg);
 alert(myObj.errmsg);
 
 etc.
 
 Does that help?
 
 Chris
 
 
 
 
 amircx wrote:
 hey. i cannot return the parameters from json , im using .get and also in
 the
 same page i got the validation of jorn 's form (maybe its conflicts ?)

 herer is the code
 hope some1 will help
 json returns : 
 {statusmsg:1,errmsg:0,desiredurl:dsfandsdfdsf-ds}
  
 
  
 
 function ChangeUrlSite() {
 var bridename=$(#bride_name).val();
 var groomname=$(#groom_name).val();
 var bridelast=$(#bride_last).val();
 var groomlast=$(#groom_last).val();
  
  
 $.get(/includes/private/php/checkVars.php, { 
 bn: bridename, gn: groomname,
 bl:bridelast,gl:groomlast,what:SuName}, function(data){
  
  alert(data.statusmsg.value);
  //$(#desiredUserName).html(data);
   }
 );
  
  
  
 }
 $(#bride_name,#groom_name,#bride_last,#groom_last).click( function() { 
 ChangeUrlSite(); } );
 /script


   
 
 -- 
 http://www.cjordan.us
 
 
 

-- 
View this message in context: 
http://www.nabble.com/need-hellp-with-.get-and-json-tf3952917s15494.html#a11229062
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Easing rocks

2007-06-21 Thread george.gsgd

Isn't that the point of having plugins, for bells and whistles like
this?

Obviously it's a great plugin (well I would say that as it's mine ;)
but it's not essential functionality by any means.



[jQuery] jquery documentation in aptana

2007-06-21 Thread Robert O'Rourke


Hi,

   Don't know if this has come up yet, I was wondering if anyone could 
help get the scriptdoc stuff together for use in aptana, I know it can 
be done for jquery1.1.1 (http://www.bitstorm.org/edwin/jquery/), I just 
need to find the latest and I can't see where other versions of the 
documentation are referenced on the wiki.


   Cheers,
   Rob


[jQuery] Re: Could anyone send me a copy of Catfish Advert Plugin 1.3.

2007-06-21 Thread Su

When you go 24hours without reposting this question, I'll go digging through
the archive I'm pretty sure has a copy of it.

Deal?

On 6/21/07, Logan Cai [EMAIL PROTECTED]  wrote:




help.!

Logan Cai wrote:

 Could anyone send me a copy of Catfish Advert Plugin 1.3. its official
 site is offline now.
 I am developing another Jquery based Open Source Project - Ajax Form
 Builder, need it ASAP.
 thanks in advance.
 Logan Cai
 http://www.phpletter.com


--
View this message in context:
http://www.nabble.com/Could-anyone-send-me-a-copy-of-Catfish-Advert-Plugin-1.3.-tf3954744s15494.html#a11227263
Sent from the JQuery mailing list archive at Nabble.com.




[jQuery] Re: Multiple Interface Slideshows on one page not showing up good in IE6, IE7

2007-06-21 Thread ronaldo


Hi all,

this quite old and i dont mean to dust off the antiques, but am having the
same problem - has anyone found a solution yet?

Thanks

T


snagt wrote:
 
 Hello there!
 
 Just getting to know the wonderful world of Jquery and all the things
 written for it. I'm building my new website with my illustration portfolio
 and am able to implement and modify all the scripts I need, but now I've
 stumbled upon a problem I can't solve myself..
 
 I'm trying to implement multiple slideshows (from interface.eyecon.ro)
 into one page.
 All works fine in Firefox 2 and Opera 9, but not in IE6 and IE7.
 
 I've got an example up here: http://snagt.net/slideshow2.php
 
 As you can see, in IE 6 it only shows one slideshow and keeps showing the
 loading image of the other slideshow. The numbered navigation does work,
 but I want the first image to be visible immediately of course...
 When you go to any other page and then go back to this slidesho2.php page
 in the browser history (so that it won't load the page again from the
 server, but just from cache) it does show up good.
 
 Is this a problem I can fix? Perhaps I have the code wrong: for each
 slideshow I have a seperate piece of javascript 
 ($(document).ready, function(), $.slideshow etc). As you can see in the
 source code of that page. 
 I read that you can have as many $(document).ready on one page as you
 want.
 
 - Should I try to put all slideshows into one piece of Javascript? If so,
 how can I do that?
 - Is it a problem on IE side and impossible to fix? If so, do you know of
 a solution?
 
 I've also tried putting the slideshows into different pages and Iframing
 them. But same problem, only one loads and the other shows the loading
 image: http://snagt.net/testy.php
 
 Thanks in advance for any feedback !
 - Pyhai, the Netherlands
 

-- 
View this message in context: 
http://www.nabble.com/Multiple-Interface-Slideshows-on-one-page-not-showing-up-good-in-IE6%2C-IE7-tf2842689s15494.html#a11230565
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Could anyone send me a copy of Catfish Advert Plugin 1.3.

2007-06-21 Thread Michael Price


Su wrote:
When you go 24hours without reposting this question, I'll go digging 
through the archive I'm pretty sure has a copy of it.


I sent him a version I had - not sure it was 1.3 though. The last 
mention of it on Google was only 1.2 anyway.


Regards,
Michael Price



[jQuery] Re: Works with not() but not with filter()

2007-06-21 Thread Gordon

A bit of rearranging of the code allowed me to achieve the same effect
without havign to pass an elements array to filter as shown below:

elements = $('.globalClass');
elemsToAnimate = elements.not (unselectedArr);
elementsToHide = elements.not (elemsToAnimate).not (':hidden');
elementsToShow = elementsToAnimate.filter (':hidden');

This works and according to firebug does give some speed increase
(though not as much as I had hoped).  Still, it is a little
frustrating that filter() and not() can't handle the exact same types
of arguments.

On Jun 20, 7:07 pm, Gordon [EMAIL PROTECTED] wrote:
 I'm trying to optimize some code that currently works by having one
 function add a class to elements that meet certain criteria and
 another function that applies effects to them based on the classes
 attached.  I found that adding and removing classes was relatively
 slow so instead I want to build up an array of elements and use that
 for filtering.

 I can't provide actual code because a) I'm working under an ND and b)
 I'm at home now and it's all at work anyway, but basically in the
 function that applies the effects I'd have something that was
 functionally similar to this:

 elements = $('.globalClass');
 elementsToHide = elements.filter ('.unselected').not (':hidden');
 elemsToAnimate = elements.not ('.unselected');
 elementsToShow = elementsToAnimate.filter (':hidden');

 // Do stuff

 elements.removeClass ('.unselected');

 The functions that would decide what elements should be selected would
 addClass ('unselected').

 I am optimizing this code to run faster, and as DOM access can be
 rather slow I decided that I would build an array of elements
 instead.  My first attempt involved building an array of strings, each
 string being an element ID, and then using Array.join() to build a
 query string for use in filtering.  The logic portion was faster
 because it was now just pushing vars onto an array, but the effects
 functions took considerably longer to start because either the string
 manipulation or using filter() and not() with long strings of element
 IDs was slow.

 My second attempt to speed things up involved pushing getElementById
 returns onto my array instead.  I was hoping to use code along these
 lines to access the array:

 elements = $('.globalClass');
 elementsToHide = elements.filter (unselectedArr).not (':hidden');
 elemsToAnimate = elements.not (unselectedArr);
 elementsToShow = elementsToAnimate.filter (':hidden');

 But because you don't seem to be able to pass arrays of elements to
 filter it didn't work.

 On Jun 20, 6:10 pm, John Resig [EMAIL PROTECTED] wrote:

  Can you provide an example of the code? I'm not sure what you're
  trying to do from your description. (If I had to guess, I'd say that
  you're trying to pass an element to filter, but I'm not sure why.)

  --John

  On 6/20/07, Gordon [EMAIL PROTECTED] wrote:

   If I build up a list of elements by pushing elements retrieved
   getElementById onto an array and pass it to not() I can use this list
   to filter out elements I don't want.  But when I try the same thing
   with filter() I get an error message:

   t.substring is not a function
  http://localhost/js/jquery/jquery.js
   Line 2659

   I have tried this with both 1.1.2 and 1.1.3a and gotten the same
   result (the error above was from 1.1.3a)

   From what I understand filter and not work in a similar way, and that
   not in fact uses filter to do its job.  Is there a reason why I can
   pass an array of elements to not but I can't pass one to filter?



[jQuery] Re: Could anyone send me a copy of Catfish Advert Plugin 1.3.

2007-06-21 Thread sz_quadri

I too need the catfish adverts plugin. Please cc it to me too.

On Jun 21, 11:16 am, Logan Cai [EMAIL PROTECTED] wrote:
 help.!

 Logan Cai wrote:

  Could anyone send me a copy of Catfish Advert Plugin 1.3. its official
  site is offline now.
  I am developing another Jquery based Open Source Project - Ajax Form
  Builder, need it ASAP.
  thanks in advance.
  Logan Cai
 http://www.phpletter.com

 --
 View this message in 
 context:http://www.nabble.com/Could-anyone-send-me-a-copy-of-Catfish-Advert-P...
 Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Easing rocks

2007-06-21 Thread GianCarlo Mingati

I've made that
http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html
using easing's expoinout.
GC

On Jun 21, 11:56 am, george.gsgd [EMAIL PROTECTED] wrote:
 Isn't that the point of having plugins, for bells and whistles like
 this?

 Obviously it's a great plugin (well I would say that as it's mine ;)
 but it's not essential functionality by any means.



[jQuery] Re: Remove Parent not working in IE6

2007-06-21 Thread G[N]Urpreet Singh
Thanks Guys,
It worked like a charm...

Gurpreet

On 6/20/07, Scott Sauyet [EMAIL PROTECTED] wrote:


 G[N]Urpreet Singh wrote:
  I cannot remove the parent of an element in IE6.  The behavior in IE6
  is that only the first of the parents is getting removed and then it
  stops working.
  [ ... ]
  divThis is div 1 span id=trashDel/span/div
  divThis is div 2 span id=trashDel/span/div

 You cannot have multiple elements with the same id.  It's not allowed by
 the HTML specs, and JQuery doesn't know what to do with it.  Try it with

  span class=trash

 and a selector

  $(.trash).click( // ...

 Cheers,

-- Scott




-- 
Gurpreet Singh


[jQuery] ANNOUCE: slideView plugin released

2007-06-21 Thread GianCarlo Mingati

Hi all.
After a bit of trials i ended up with this plugin.

http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html

Basically it is possible, into any page (blog), to insert an unordered
List of images inside a DIV such as

div id=myinstantgallery
ul
liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200523419-001.jpg //li
liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200527363-001.jpg //li
liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200473460-001.jpg //li
!--ecctera--
/ul
/div

and slideView  will add another list for commanding the image slide.
pretty easy and lightweight.
Note: I am a total newbye so this is my very first plugin!
Enjoy!
GC



[jQuery] Re: encodeURIComponent localized for custom encoding

2007-06-21 Thread oscar esp

I have some issues with jquery . When I use the jquery from your
branch I get some error in code that works fine with official 1.2
version.

I have ajax calls that returns a html in order tu full a div. Seems
that if  data has html doesn't work Seems that type param doesn't
work.

Example:

1- This work fine with official version

var url = test2.asp
var pars= 
method=getEstadoConscmpAction=outType=1idComponent=COD_EST_CONS_SelidName=COD_EST_CONS
jQuery.ajax({
type: post,
url: url,
data: pars,
async: false,
dataType: html,
success: function(data)
{
jQuery(#dRes).html(data);
}
});

(data is = SELECT id='COD_EST_CONS_Sel' name='COD_EST_CONS'
class='undefined'  OPTION value='-1'Seleccione un valor/
OPTIONOPTION value='1' Nuevo/OPTIONOPTION value='2' A reformar/
OPTIONOPTION value='3' Semi Nuevo/OPTION/SELECT)


But it doesn't work fine with your jquery version. Never enter in
success method, however the call to test2.asp (that returns the
select) is done.
If I delete the dataType then success function is executed.

Seems that there are some issue with dataType param.

Maybe it is not possible but: Could we add the charset setup into 1.2
official version? I need to be sure that putting the cahrset we don't
crash other things...

Seems that be never fix! the problem.

Thanks Jake.



[jQuery] Re: Could anyone send me a copy of Catfish Advert Plugin 1.3.

2007-06-21 Thread Alexandre Plennevaux

Why don't you add it to the plugin directory instead? 

-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sz_quadri
Sent: jeudi 21 juin 2007 9:29
To: jQuery (English)
Subject: [jQuery] Re: Could anyone send me a copy of Catfish Advert Plugin
1.3.


I too need the catfish adverts plugin. Please cc it to me too.

On Jun 21, 11:16 am, Logan Cai [EMAIL PROTECTED] wrote:
 help.!

 Logan Cai wrote:

  Could anyone send me a copy of Catfish Advert Plugin 1.3. its 
 official  site is offline now.
  I am developing another Jquery based Open Source Project - Ajax Form  
 Builder, need it ASAP.
  thanks in advance.
  Logan Cai
 http://www.phpletter.com

 --
 View this message in
context:http://www.nabble.com/Could-anyone-send-me-a-copy-of-Catfish-Advert-
P...
 Sent from the JQuery mailing list archive at Nabble.com.

Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.472 / Base de données virus: 269.9.1/857 - Date: 20/06/2007
14:18
 



[jQuery] Re: Easing rocks

2007-06-21 Thread Alexandre Plennevaux

GianCarlo, it is really nice!  Is it possible to use it as paging for large
chunks of text? 

-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of GianCarlo Mingati
Sent: jeudi 21 juin 2007 12:19
To: jQuery (English)
Subject: [jQuery] Re: Easing rocks


I've made that
http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imagesli
de-plugin.html
using easing's expoinout.
GC

On Jun 21, 11:56 am, george.gsgd [EMAIL PROTECTED] wrote:
 Isn't that the point of having plugins, for bells and whistles like 
 this?

 Obviously it's a great plugin (well I would say that as it's mine ;) 
 but it's not essential functionality by any means.

Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.472 / Base de données virus: 269.9.1/857 - Date: 20/06/2007
14:18
 



[jQuery] Re: Easing rocks

2007-06-21 Thread george.gsgd

That's very nice. Can you customise the easing function you're allowed
to use? That'd look great with elasticout. Boing...

On Jun 21, 12:18 pm, GianCarlo Mingati [EMAIL PROTECTED]
wrote:
 I've made 
 thathttp://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/i...
 using easing's expoinout.
 GC

 On Jun 21, 11:56 am, george.gsgd [EMAIL PROTECTED] wrote:

  Isn't that the point of having plugins, for bells and whistles like
  this?

  Obviously it's a great plugin (well I would say that as it's mine ;)
  but it's not essential functionality by any means.



[jQuery] Re: Easing rocks

2007-06-21 Thread Toby
I love easing too! I used Penners Equations in flash and these are just as
good in xhtml, really good to add to animations for that touch of class :¬)

 

I also thought that it would be nice to include this in the core, just
because it is so sexy and the size of the equations looks rather small -
then again it works great as an additional file already and I don’t mind if
everyone doesn’t use it :¬P

 

  _  

From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Glen Lipka
Sent: 21 June 2007 06:48
To: jquery-en@googlegroups.com
Subject: [jQuery] Easing rocks

 

Had occasion just now to use the Easing plugin
http://gsgd.co.uk/sandbox/jquery.easing.php

I replaced a slideDown Toggle with bounceout.  Kickass.
And it's 2k!  Too cool.  Improves the interaction immediately, 

I'm changing my vote on stuff I think should be in the base.  Yes, I am
fickle.
1. Dimensions
2. Easing
3. TurboSpeed (yet to be developed)

I took moreSelectors off my list.  Sorry moreSelectors.  Only three spots. 

Glen



[jQuery] Re: Easing rocks

2007-06-21 Thread GianCarlo Mingati

alexandre,
it could be modified as an auto-paging for texts. yes, it should work
Try yourself playing with the code:

If you look at the plugin,
i used
var pictWidth = container.find(img).width();
to find dinamically the width of the images so the galleries can slide
images of any size.
The value of pictWidth is then used to apply an inline style (width)
to the gallery container (the DIV) with overflow hidden. That way you
got some sort of mask that reveals only the first image.
Then, i search for EVERY LI element into the list and having the
number of elements to display, i add another unordered list to command
the slides equal in elements to the elements in da gallery.

So it should already work if you only apply a STATIC value to
pictWidth (just to play with) because during the 'loops' i never
search for images but for its containers (the LI elements).

If you put your text chunks inside a P and that P is inside the LI, it
should work.
Let me know.

Also, where you read .animate({ left: cnt}, 750, 'expoinout'); you can
change 'expoinout' to whatever func form the easing plugin made by
george.gsgd
GC

If you
On Jun 21, 2:25 pm, Alexandre Plennevaux [EMAIL PROTECTED]
wrote:
 GianCarlo, it is really nice!  Is it possible to use it as paging for large
 chunks of text?



[jQuery] Re: Ajax call - lost event handlers

2007-06-21 Thread AJ

By coincidence, I was about to post a very similar issue today. It
seems that any time I include content via ajax, and that content also
needs to use jQuery functions from the containing page, the content
included via ajax seems to lose the functions.

I've tried and tried to find fixes for this, to no avail. And it seems
to happen all the time. Is this always a binding issue?



[jQuery] Re: Ajax call - lost event handlers

2007-06-21 Thread Klaus Hartl


AJ wrote:

By coincidence, I was about to post a very similar issue today. It
seems that any time I include content via ajax, and that content also
needs to use jQuery functions from the containing page, the content
included via ajax seems to lose the functions.

I've tried and tried to find fixes for this, to no avail. And it seems
to happen all the time. Is this always a binding issue?


Yes. Event handlers are not lost, they're just not there, because the 
content that gets loaded and inserted into the document wasn't there 
when these handlers were attached the first time.


Brandon is working on a behavior plugin, that takes care of that and 
will bind handlers automatically.



--Klaus



[jQuery] Re: ANNOUCE: slideView plugin released

2007-06-21 Thread ing. Salvatore FUSTO


Very good, congrats, but...
i think a user would know what image is displayed, in term of its number, so 
i suggest to disable the button of the displayed image

salvatore
- Original Message - 
From: GianCarlo Mingati [EMAIL PROTECTED]

To: jQuery (English) jquery-en@googlegroups.com
Sent: Thursday, June 21, 2007 11:57 AM
Subject: [jQuery] ANNOUCE: slideView plugin released




Hi all.
After a bit of trials i ended up with this plugin.

http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html

Basically it is possible, into any page (blog), to insert an unordered
List of images inside a DIV such as

div id=myinstantgallery
ul
liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200523419-001.jpg //li
liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200527363-001.jpg //li
liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200473460-001.jpg //li
   !--ecctera--
/ul
/div

and slideView  will add another list for commanding the image slide.
pretty easy and lightweight.
Note: I am a total newbye so this is my very first plugin!
Enjoy!
GC





[jQuery] Re: Ajax call - lost event handlers

2007-06-21 Thread Brandon Aaron

On 6/21/07, Klaus Hartl [EMAIL PROTECTED] wrote:


Brandon is working on a behavior plugin, that takes care of that and
will bind handlers automatically.




It is true and it will be officially released once jQuery 1.1.3 is released.
If you don't mind using jQuery 1.1.3 alpha and getting your hands dirty with
inline docs and minimal examples ... then you can start using it now.

You can grab the latest here: http://jquery.com/plugins/project/behavior
And see the example/test here:
http://brandonaaron.net/jquery/plugins/behavior/test/test.html

--
Brandon Aaron


[jQuery] Re: ANNOUCE: slideView plugin released

2007-06-21 Thread Sapphire


Works perfectly in Konqueror, FF-2, and Opera in Linux

Great job!

Wish list for next release:

Option to autoslide the images
Option to not show the image numbers if using autoslide

Thanks

--
Sapphire


On Thursday 21 June 2007 04:57:35 am GianCarlo Mingati wrote:
 Hi all.
 After a bit of trials i ended up with this plugin.

 http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imagesl
ide-plugin.html

 Basically it is possible, into any page (blog), to insert an unordered
 List of images inside a DIV such as

 div id=myinstantgallery
   ul
   liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
 200523419-001.jpg //li
   liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
 200527363-001.jpg //li
   liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
 200473460-001.jpg //li
 !--ecctera--
   /ul
 /div

 and slideView  will add another list for commanding the image slide.
 pretty easy and lightweight.
 Note: I am a total newbye so this is my very first plugin!
 Enjoy!
 GC




[jQuery] Re: Ajax call - lost event handlers

2007-06-21 Thread AJ


 It is true and it will be officially released once jQuery 1.1.3 is released.
 If you don't mind using jQuery 1.1.3 alpha and getting your hands dirty with
 inline docs and minimal examples ... then you can start using it now.

Wow, thanks! I am in a real crisis with a site right now, so I'll go
ahead and try it with 1.1.3 and see how it goes.

Will post any findings here later tonight.

AJ



[jQuery] jQuery home page...

2007-06-21 Thread flagship interactive

This might be posted in the wrong list, but the web list seemed
broken. I am hoping someone see this request. It is simple, can we
please have something on the home page, a tag line that tells everyone
the latest current version of jQuery?



[jQuery] Re: Easing rocks

2007-06-21 Thread Rey Bango


Hi Rob,

What Glen is referring to is something that the team is throwing around. 
We're considering how to improve selector speeds and one option is to 
have a 'turbospeed' plugin that would allow us to keep the core size 
small but give the jQuery community super fast selectors. Nothing has 
been decided yet but v1.1.3a will have some significant speed 
improvements upon release.


Rey

Rob Desbois wrote:
What is this mythical 'turbospeed' you speak of? Surely anything that 
makes the selectors faster should be the default mechanism used by the 
core? Unless of course it's 100KB...


--rob



[jQuery] Re: ANNOUCE: slideView plugin released

2007-06-21 Thread Rey Bango


GianCarlo,

I really love this plugin man!! Great work.

Could you please help us out by doing the following:

- translate it the page to English
- throw in a download link for the plugin itself
- List the dependencies (eg: easing plugin and jQuery version)

Again, many thanks. This is really cool.

Rey

GianCarlo Mingati wrote:

Hi all.
After a bit of trials i ended up with this plugin.

http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html

Basically it is possible, into any page (blog), to insert an unordered
List of images inside a DIV such as

div id=myinstantgallery
ul
liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200523419-001.jpg //li
liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200527363-001.jpg //li
liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200473460-001.jpg //li
!--ecctera--
/ul
/div

and slideView  will add another list for commanding the image slide.
pretty easy and lightweight.
Note: I am a total newbye so this is my very first plugin!
Enjoy!
GC




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


[jQuery] Re: Ajax call - lost event handlers

2007-06-21 Thread Brandon Aaron

I would highly suggest grabbing the latest from SVN instead of the jQuery
1.1.3a download.

--
Brandon Aaron

On 6/21/07, AJ [EMAIL PROTECTED] wrote:




 It is true and it will be officially released once jQuery 1.1.3 is
released.
 If you don't mind using jQuery 1.1.3 alpha and getting your hands dirty
with
 inline docs and minimal examples ... then you can start using it now.

Wow, thanks! I am in a real crisis with a site right now, so I'll go
ahead and try it with 1.1.3 and see how it goes.

Will post any findings here later tonight.

AJ




[jQuery] Re: ANNOUCE: slideView plugin released

2007-06-21 Thread Rey Bango
Something that caught my eye when testing it in IE7 is that all of the 
images initially appear sequentially on the page and then the page gets 
reformatted into the SlideViewer. Its hard to explain it but I've taken 
a screen cap of it and attached it to this email. FireFox works fine.


Rey...

GianCarlo Mingati wrote:

Hi all.
After a bit of trials i ended up with this plugin.

http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html

Basically it is possible, into any page (blog), to insert an unordered
List of images inside a DIV such as

div id=myinstantgallery
ul
liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200523419-001.jpg //li
liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200527363-001.jpg //li
liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200473460-001.jpg //li
!--ecctera--
/ul
/div

and slideView  will add another list for commanding the image slide.
pretty easy and lightweight.
Note: I am a total newbye so this is my very first plugin!
Enjoy!
GC




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

[jQuery] Tooltip and select info

2007-06-21 Thread David Duymelinck


Hello,

I wanted to add some info text to a select using the tooltip plugin so i 
added a title attribute and the tooltip gets shown in FF1.5+ and IE7 but 
not in IE6 (of course). Has somebody experienced the same behaviour?


--
David Duymelinck

[EMAIL PROTECTED]



[jQuery] Re: superfish variable width

2007-06-21 Thread Olivier Percebois-Garve

could such behavior be scripited ?

On 6/21/07, Su [EMAIL PROTECTED] wrote:


If I recall correctly, suckerfish menus assume each of the items is going
to be the same width.
I've gotten around this by first styling a base width that they'd all get,
and then basically listing a *lot* of very specific selectors(via IDs on
each top-level item) in the stylesheet to override as needed. Which may or
may not be worth the effort in your case. If you do it, make sure you go
through a full round of browser testing, as there were definite quirks that
had to be accounted for.

On 6/21/07, Olivier Percebois-Garve [EMAIL PROTECTED] wrote:

 Hi

 How to get the superfish (or suckerfish) menu to work under IE while
 using a variable width ?
 (i.e li elements having the width of their content)

 On my tests it produces  a strange bug where the dropdown li is
 horizontally positionned after the end of the parent li...

 Olivier





[jQuery] Re: Ajax call - lost event handlers

2007-06-21 Thread Klaus Hartl


AJ wrote:



It is true and it will be officially released once jQuery 1.1.3 is released.
If you don't mind using jQuery 1.1.3 alpha and getting your hands dirty with
inline docs and minimal examples ... then you can start using it now.


Wow, thanks! I am in a real crisis with a site right now, so I'll go
ahead and try it with 1.1.3 and see how it goes.


Being in a crisis is not the right time to play with nightly builds ;-)




--Klaus


[jQuery] Re: superfish variable width

2007-06-21 Thread Olivier Percebois-Garve

I mean getting the width of each li's content and then to give that width to
the li

On 6/21/07, Olivier Percebois-Garve [EMAIL PROTECTED] wrote:


could such behavior be scripited ?

On 6/21/07, Su [EMAIL PROTECTED] wrote:

 If I recall correctly, suckerfish menus assume each of the items is
 going to be the same width.
 I've gotten around this by first styling a base width that they'd all
 get, and then basically listing a *lot* of very specific selectors(via IDs
 on each top-level item) in the stylesheet to override as needed. Which may
 or may not be worth the effort in your case. If you do it, make sure you go
 through a full round of browser testing, as there were definite quirks that
 had to be accounted for.

 On 6/21/07, Olivier Percebois-Garve  [EMAIL PROTECTED] wrote:
 
  Hi
 
  How to get the superfish (or suckerfish) menu to work under IE while
  using a variable width ?
  (i.e li elements having the width of their content)
 
  On my tests it produces  a strange bug where the dropdown li is
  horizontally positionned after the end of the parent li...
 
  Olivier
 





[jQuery] Re: Is this normal?

2007-06-21 Thread Tony

Sorry, the correct tags are:
divtabletbody./tbody/table/div



[jQuery] Re: Easing rocks

2007-06-21 Thread GianCarlo Mingati

Done!

http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html

Added the possibility to customize animation kind and duration.
Will rewrite it in english and will add documentation.
Anyhow, it's pretty simple.
Easing rocks and jQ too!!
Ciao!

On Jun 21, 3:02 pm, george.gsgd [EMAIL PROTECTED] wrote:
 Yep that's what I meant



[jQuery] Re: ANNOUCE: slideView plugin released

2007-06-21 Thread GianCarlo Mingati

Hi it is something i noticed too but i don't know how to fix.
IE7 and FF/Opera have different ways to behave on DOM ready AND
document LOAD.
i don't know how to fix it.
GC

anybody?

On Jun 21, 4:26 pm, Rey Bango [EMAIL PROTECTED] wrote:
 Something that caught my eye when testing it in IE7 is that all of the
 images initially appear sequentially on the page and then the page gets
 reformatted into the SlideViewer. Its hard to explain it but I've taken
 a screen cap of it and attached it to this email. FireFox works fine.

 Rey...



 GianCarlo Mingati wrote:
  Hi all.
  After a bit of trials i ended up with this plugin.

 http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/i...

  Basically it is possible, into any page (blog), to insert an unordered
  List of images inside a DIV such as

  div id=myinstantgallery
 ul
 liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
  200523419-001.jpg //li
 liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
  200527363-001.jpg //li
 liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
  200473460-001.jpg //li
  !--ecctera--
 /ul
  /div

  and slideView  will add another list for commanding the image slide.
  pretty easy and lightweight.
  Note: I am a total newbye so this is my very first plugin!
  Enjoy!
  GC

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

  slideview.jpg
 45KViewDownload



[jQuery] Re: ANNOUCE: slideView plugin released

2007-06-21 Thread GianCarlo Mingati

Sure i'll do that tomorrow!
Thanks!
P.S Added the possibility to customize animation type and duration.
Enjoy again.
http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html
GC

On Jun 21, 4:20 pm, Rey Bango [EMAIL PROTECTED] wrote:
 GianCarlo,

 I really love this plugin man!! Great work.

 Could you please help us out by doing the following:

 - translate it the page to English
 - throw in a download link for the plugin itself
 - List the dependencies (eg: easing plugin and jQuery version)

 Again, many thanks. This is really cool.

 Rey



 GianCarlo Mingati wrote:
  Hi all.
  After a bit of trials i ended up with this plugin.

 http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/i...

  Basically it is possible, into any page (blog), to insert an unordered
  List of images inside a DIV such as

  div id=myinstantgallery
 ul
 liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
  200523419-001.jpg //li
 liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
  200527363-001.jpg //li
 liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
  200473460-001.jpg //li
  !--ecctera--
 /ul
  /div

  and slideView  will add another list for commanding the image slide.
  pretty easy and lightweight.
  Note: I am a total newbye so this is my very first plugin!
  Enjoy!
  GC

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



[jQuery] Re: superfish variable width

2007-06-21 Thread Joel Birch


On 22/06/2007, at 12:45 AM, Olivier Percebois-Garve wrote:
I mean getting the width of each li's content and then to give that  
width to the li


On 6/21/07, Olivier Percebois-Garve  [EMAIL PROTECTED]  
wrote:could such behavior be scripited ?


I'm sure it could be scripted. Depending on the CSS that is in effect  
before your script runs, you might wrap the contents of each li in a  
div element, get the width of the div, then apply that width to the  
parent li. You would still need to ensure that the menu still  
degrades gracefully without the script though.


Joel.


[jQuery] Re: validate.js errors

2007-06-21 Thread [EMAIL PROTECTED]

Thanks Jörn!

I got it working. I have a few dynamic form element names/ids which
weren't matching with the script.



[jQuery] Re: ANNOUCE: slideView plugin released

2007-06-21 Thread Rey Bango


Its not working any longer. When I hit the page, it just displays all of 
the images. I don't see any JS errors being reported.


Rey

GianCarlo Mingati wrote:

Hi it is something i noticed too but i don't know how to fix.
IE7 and FF/Opera have different ways to behave on DOM ready AND
document LOAD.
i don't know how to fix it.
GC

anybody?

On Jun 21, 4:26 pm, Rey Bango [EMAIL PROTECTED] wrote:

Something that caught my eye when testing it in IE7 is that all of the
images initially appear sequentially on the page and then the page gets
reformatted into the SlideViewer. Its hard to explain it but I've taken
a screen cap of it and attached it to this email. FireFox works fine.

Rey...



GianCarlo Mingati wrote:

Hi all.
After a bit of trials i ended up with this plugin.
http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/i...
Basically it is possible, into any page (blog), to insert an unordered
List of images inside a DIV such as
div id=myinstantgallery
   ul
   liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200523419-001.jpg //li
   liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200527363-001.jpg //li
   liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200473460-001.jpg //li
!--ecctera--
   /ul
/div
and slideView  will add another list for commanding the image slide.
pretty easy and lightweight.
Note: I am a total newbye so this is my very first plugin!
Enjoy!
GC

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

 slideview.jpg
45KViewDownload





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


[jQuery] jQuery on freesoftwaremagazine.com

2007-06-21 Thread Jake McGraw


Hey guys, just wanted to let you know, I helped develop the JavaScript
for the Drupal Simple Karma Module using jQuery
ajax/selectors/modifiers:

Drupal project page:
http://drupal.org/project/simple_karma

JS Dev Test Bed:
http://dev.jakemcgraw.com/karma

As a result of my work, freesoftwaremagazine.com decided to publish an
interview with me, where I give a jQuery listserv shout-out:

http://www.freesoftwaremagazine.com/blogs/interview_jake_mcgraw_innovation_ads/

The head editor of FSM first came to this listserv for help with the
module, which is how I got in contact with him. Just goes to show what
a great community this is and all the opportunities available that are
made available for each of us every day.

- jake


[jQuery] Re: ANNOUCE: slideView plugin released

2007-06-21 Thread GianCarlo Mingati

Rey, r u sure??
Hit F5.
GC

On Jun 21, 5:03 pm, Rey Bango [EMAIL PROTECTED] wrote:
 Its not working any longer. When I hit the page, it just displays all of
 the images. I don't see any JS errors being reported.

 Rey



 GianCarlo Mingati wrote:
  Hi it is something i noticed too but i don't know how to fix.
  IE7 and FF/Opera have different ways to behave on DOM ready AND
  document LOAD.
  i don't know how to fix it.
  GC

  anybody?

  On Jun 21, 4:26 pm, Rey Bango [EMAIL PROTECTED] wrote:
  Something that caught my eye when testing it in IE7 is that all of the
  images initially appear sequentially on the page and then the page gets
  reformatted into the SlideViewer. Its hard to explain it but I've taken
  a screen cap of it and attached it to this email. FireFox works fine.

  Rey...

  GianCarlo Mingati wrote:
  Hi all.
  After a bit of trials i ended up with this plugin.
 http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/i...
  Basically it is possible, into any page (blog), to insert an unordered
  List of images inside a DIV such as
  div id=myinstantgallery
 ul
 liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
  200523419-001.jpg //li
 liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
  200527363-001.jpg //li
 liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
  200473460-001.jpg //li
  !--ecctera--
 /ul
  /div
  and slideView  will add another list for commanding the image slide.
  pretty easy and lightweight.
  Note: I am a total newbye so this is my very first plugin!
  Enjoy!
  GC
  --
  BrightLight Development, LLC.
  954-775- (o)
  954-600-2726 (c)
  [EMAIL PROTECTED]://www.iambright.com

   slideview.jpg
  45KViewDownload

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



[jQuery] Re: superfish variable width

2007-06-21 Thread Olivier Percebois-Garve

thx. I'll look into that that some times.
My co-worker went with : http://www.cssplay.co.uk/menus/variable_dl.html
But its not a satisfiying code.
Since I'm trying to push suckerfish (superfish) as our default menu system,
I'd love to get around that issue.

On 6/21/07, Joel Birch [EMAIL PROTECTED] wrote:



On 22/06/2007, at 12:45 AM, Olivier Percebois-Garve wrote:
 I mean getting the width of each li's content and then to give that
 width to the li

 On 6/21/07, Olivier Percebois-Garve  [EMAIL PROTECTED]
 wrote:could such behavior be scripited ?

I'm sure it could be scripted. Depending on the CSS that is in effect
before your script runs, you might wrap the contents of each li in a
div element, get the width of the div, then apply that width to the
parent li. You would still need to ensure that the menu still
degrades gracefully without the script though.

Joel.



[jQuery] Re: ANNOUCE: slideView plugin released

2007-06-21 Thread Rey Bango


I did. I even cleared FF's cache. No dice. It is working, though, in IE7.

Rey

GianCarlo Mingati wrote:

Rey, r u sure??
Hit F5.
GC

On Jun 21, 5:03 pm, Rey Bango [EMAIL PROTECTED] wrote:

Its not working any longer. When I hit the page, it just displays all of
the images. I don't see any JS errors being reported.

Rey



GianCarlo Mingati wrote:

Hi it is something i noticed too but i don't know how to fix.
IE7 and FF/Opera have different ways to behave on DOM ready AND
document LOAD.
i don't know how to fix it.
GC
anybody?
On Jun 21, 4:26 pm, Rey Bango [EMAIL PROTECTED] wrote:

Something that caught my eye when testing it in IE7 is that all of the
images initially appear sequentially on the page and then the page gets
reformatted into the SlideViewer. Its hard to explain it but I've taken
a screen cap of it and attached it to this email. FireFox works fine.
Rey...
GianCarlo Mingati wrote:

Hi all.
After a bit of trials i ended up with this plugin.
http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/i...
Basically it is possible, into any page (blog), to insert an unordered
List of images inside a DIV such as
div id=myinstantgallery
   ul
   liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200523419-001.jpg //li
   liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200527363-001.jpg //li
   liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200473460-001.jpg //li
!--ecctera--
   /ul
/div
and slideView  will add another list for commanding the image slide.
pretty easy and lightweight.
Note: I am a total newbye so this is my very first plugin!
Enjoy!
GC

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

--
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 on freesoftwaremagazine.com

2007-06-21 Thread Rey Bango


Excellent work Jake!!

Jake McGraw wrote:


Hey guys, just wanted to let you know, I helped develop the JavaScript
for the Drupal Simple Karma Module using jQuery
ajax/selectors/modifiers:

Drupal project page:
http://drupal.org/project/simple_karma

JS Dev Test Bed:
http://dev.jakemcgraw.com/karma

As a result of my work, freesoftwaremagazine.com decided to publish an
interview with me, where I give a jQuery listserv shout-out:

http://www.freesoftwaremagazine.com/blogs/interview_jake_mcgraw_innovation_ads/ 



The head editor of FSM first came to this listserv for help with the
module, which is how I got in contact with him. Just goes to show what
a great community this is and all the opportunities available that are
made available for each of us every day.

- jake



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


[jQuery] Re: jQuery on freesoftwaremagazine.com

2007-06-21 Thread Jake McGraw


Thanks!
- jake

On 6/21/07, Rey Bango [EMAIL PROTECTED] wrote:


Excellent work Jake!!

Jake McGraw wrote:

 Hey guys, just wanted to let you know, I helped develop the JavaScript
 for the Drupal Simple Karma Module using jQuery
 ajax/selectors/modifiers:

 Drupal project page:
 http://drupal.org/project/simple_karma

 JS Dev Test Bed:
 http://dev.jakemcgraw.com/karma

 As a result of my work, freesoftwaremagazine.com decided to publish an
 interview with me, where I give a jQuery listserv shout-out:

 
http://www.freesoftwaremagazine.com/blogs/interview_jake_mcgraw_innovation_ads/


 The head editor of FSM first came to this listserv for help with the
 module, which is how I got in contact with him. Just goes to show what
 a great community this is and all the opportunities available that are
 made available for each of us every day.

 - jake


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



[jQuery] Re: ANNOUCE: slideView plugin released

2007-06-21 Thread Rey Bango


Ok. Its working now. The image stacking issue I reported earlier is 
there but the slider now renders correctly.


In terms of the images displaying first, I'm wondering if you could 
initially place the images within a hidden div and then load them into 
the slider. There was also discussion on here about preloading images. I 
wonder if that might help.


Rey...

GianCarlo Mingati wrote:

Rey, r u sure??
Hit F5.
GC

On Jun 21, 5:03 pm, Rey Bango [EMAIL PROTECTED] wrote:

Its not working any longer. When I hit the page, it just displays all of
the images. I don't see any JS errors being reported.

Rey



GianCarlo Mingati wrote:

Hi it is something i noticed too but i don't know how to fix.
IE7 and FF/Opera have different ways to behave on DOM ready AND
document LOAD.
i don't know how to fix it.
GC
anybody?
On Jun 21, 4:26 pm, Rey Bango [EMAIL PROTECTED] wrote:

Something that caught my eye when testing it in IE7 is that all of the
images initially appear sequentially on the page and then the page gets
reformatted into the SlideViewer. Its hard to explain it but I've taken
a screen cap of it and attached it to this email. FireFox works fine.
Rey...
GianCarlo Mingati wrote:

Hi all.
After a bit of trials i ended up with this plugin.
http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/i...
Basically it is possible, into any page (blog), to insert an unordered
List of images inside a DIV such as
div id=myinstantgallery
   ul
   liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200523419-001.jpg //li
   liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200527363-001.jpg //li
   liimg alt=abc defrg thysu ooip jkifbtg fff  src=ts/
200473460-001.jpg //li
!--ecctera--
   /ul
/div
and slideView  will add another list for commanding the image slide.
pretty easy and lightweight.
Note: I am a total newbye so this is my very first plugin!
Enjoy!
GC

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

--
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: Interface: Slider, fractions, onSlide reporting incorrect fractions?

2007-06-21 Thread Gordon

I have been having some trouble with the interface sliders as well, it
has been suggested to me when I posted about it that the sliders code
simply needs a rework as it stands, and that certain things just don't
work very well currently.  Sorry I can't be mroe help than that, it's
pretty much all I've been told on the subject.

On Jun 21, 12:18 am, Mitch [EMAIL PROTECTED] wrote:
 I have a Slider with fractions and an onSlide handler.  Sometimes when
 the handler is invoked, the reported value for xProc seems to be
 lagging -- it seems to be the value from just before the slider
 jumped to its current position.  Has anyone else seen this problem?

 I'd like to post an example but am not sure how Google Groups will
 handle the formatting.  So for now, here's a fragment to demonstrate
 the problem.

 div id=slider_frame
 div id=bar
 div id=indicator class=Indicator/div
 /div
 /div
 p id=msg/p
 ...
 var f = 5;
 var slider = $(#bar).Slider({
 accept: #indicator,
 fractions: f,
 onSlide: function(xProc, yProc, x, y) {
 var fraction = x / this.dragCfg.containerMaxx;
 var expected = Math.round(100 * fraction / (f -
 1)) * (f - 1);
 $(#msg).html(Expected  + expected + , got  +
 xProc);

 In the web app where I've encountered this problem, I've been able to
 work around it by recomputing the xProc value in my onSlide function:
 var fraction = x / this.dragCfg.containerMaxx;
 var f = this.dragCfg.fractions;
 xPercent = Math.round(100 * fraction / (f - 1)) * (f - 1);

 A more complete example is available 
 at:http://bottledtext.blogspot.com/2007/06/bug-with-jquery-112-interface...



[jQuery] Re: Ajax call - lost event handlers

2007-06-21 Thread Aaron Heimlich

If you need something that works *right now* with 1.1.2, I suggest you take
a look at event delegation[1].

[1] http://icant.co.uk/sandbox/eventdelegation/

On 6/21/07, Klaus Hartl [EMAIL PROTECTED] wrote:



AJ wrote:

 It is true and it will be officially released once jQuery 1.1.3 is
released.
 If you don't mind using jQuery 1.1.3 alpha and getting your hands dirty
with
 inline docs and minimal examples ... then you can start using it now.

 Wow, thanks! I am in a real crisis with a site right now, so I'll go
 ahead and try it with 1.1.3 and see how it goes.

Being in a crisis is not the right time to play with nightly builds ;-)




--Klaus





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


[jQuery] Radio button

2007-06-21 Thread rayfidelity

Hi,

I have a problem, i'd like to mark the radio button that's checked.
Here's what i came up with, but it doesn't work.

$(document).ready(function() {
$([EMAIL PROTECTED]'section']).click(function(){
$([EMAIL PROTECTED]'section']:checked).val() == 1 ? $
([EMAIL PROTECTED]'section']:checked).css(background,red) : ;
});
}
)

Can anyone please give me some pointers? i'm new to jquery and i'm
still struggling. Thanks in advance



[jQuery] Re: Radio button

2007-06-21 Thread Mike Alsup


This should work:

$(document).ready(function() {
   $([EMAIL PROTECTED]'section']).click(function(){
   $(this).css('background', this.checked ? 'red' : '');
   })
});



Here's what i came up with, but it doesn't work.

$(document).ready(function() {
$([EMAIL PROTECTED]'section']).click(function(){
$([EMAIL PROTECTED]'section']:checked).val() == 1 ? $
([EMAIL PROTECTED]'section']:checked).css(background,red) : ;
});
}
)


[jQuery] Re: encodeURIComponent localized for custom encoding

2007-06-21 Thread Ⓙⓐⓚⓔ

do a diff -u between the 2 versions is there anything more than a slight
change in param: ?



On 6/21/07, oscar esp [EMAIL PROTECTED] wrote:



I have some issues with jquery . When I use the jquery from your
branch I get some error in code that works fine with official 1.2
version.

I have ajax calls that returns a html in order tu full a div. Seems
that if  data has html doesn't work Seems that type param doesn't
work.

Example:

1- This work fine with official version

var url = test2.asp
var pars= 

method=getEstadoConscmpAction=outType=1idComponent=COD_EST_CONS_SelidName=COD_EST_CONS
jQuery.ajax({
type: post,
url: url,
data: pars,
async: false,
dataType: html,
success: function(data)
{
jQuery(#dRes).html(data);
}
});

(data is = SELECT id='COD_EST_CONS_Sel' name='COD_EST_CONS'
class='undefined'  OPTION value='-1'Seleccione un valor/
OPTIONOPTION value='1' Nuevo/OPTIONOPTION value='2' A reformar/
OPTIONOPTION value='3' Semi Nuevo/OPTION/SELECT)


But it doesn't work fine with your jquery version. Never enter in
success method, however the call to test2.asp (that returns the
select) is done.
If I delete the dataType then success function is executed.

Seems that there are some issue with dataType param.

Maybe it is not possible but: Could we add the charset setup into 1.2
official version? I need to be sure that putting the cahrset we don't
crash other things...

Seems that be never fix! the problem.

Thanks Jake.





--
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ


[jQuery] Re: Table cell navigation

2007-06-21 Thread Brad Perkins

Rob,

That is an excellent suggestion. I didn't give actual source in the
example, but it turns out that each of the selects and inputs have
unique numbered name attributes already, e.g., name=serial-304.
The numeric part correspond to keys in the db backend. So I can either
add a redundant id attribute or just lookup based on $
('[EMAIL PROTECTED]']) or $('[EMAIL PROTECTED]']).

re: not using .val

For some reason I thought that had been deprecated when .id and .name
were. Thanks for pointing out that it still exists.


On Jun 21, 2:29 am, Rob Desbois [EMAIL PROTECTED] wrote:
 I would suggest making all of these items related via numeric IDs, you then
 dispose with having to traverse up and back down the DOM to find the related
 elements:

 tr



   td
 select id=select_1.../select
   /td
   td
 input id=text_1a type=text ... /
   /td
   td
 input id=text_1b type=text ... /
   /td
   td
 input id=text_1c type=text ... /
   /td
   td
 ...
   /td
  /tr

  // Update 2nd column input with new_value.
  // $(this) is the select in the first row cell.
  var index = /select_(\d+)/.exec(this.id)[1];  // Get the number from the
  ID. There is no checking if it doesn't match.
  var new_value = $(this).val();
  $(text_+index+a).val(new_value);

 Incidentally, as I've used here, the .val() function is a handy shortcut for
 .attr(val, ...)

 I don't know what the speed difference is here but I'm guessing it'll be
 pretty good.

 HTH,
 --rob

 On 6/21/07, Brad Perkins [EMAIL PROTECTED] wrote:





  Imagine a table row like this

  tr
td
  select.../select
/td
td
  input type=text ... /
/td
td
  input type=text ... /
/td
td
  input type=text ... /
/td
td
  ...
/td
  /tr

  Depending on the select option I need to modify or clear values in the
  text inputs in the 2nd, 3rd, and 4th cells.

  I find that this code works, but suspect there may be a better way to
  achieve the same result with less code?

  // Update 2nd column input with new_value.
  // $(this) is the select in the first row cell.
  $

  (this).parent('td').parent('tr').children('td').eq(1)children('input').attr(value,new_value);

  Since I'll be updating various cells I suppose this helps, but again
  suspect there is a better way.
  var cells = $(this).parent('td').parent('tr').children('td');
  cells.eq(1).children('input').attr(value,new_value_1);
  cells.eq(3).children('input').attr(value,new_value_2);
  cells.eq(4).children('input').attr(value,new_value_3);

  Thanks

  Brad

 --
 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: Radio button

2007-06-21 Thread Klaus Hartl


Mike Alsup wrote:


This should work:

$(document).ready(function() {
   $([EMAIL PROTECTED]'section']).click(function(){
   $(this).css('background', this.checked ? 'red' : '');
   })
});



On top of that I'd like to suggest a better separation of the 
presentational aspect. It's the responsibility of CSS to make things 
look somehow, thus I would expect that information in a style sheet:


$(document).ready(function() {
$([EMAIL PROTECTED]'section']).click(function(){
$(this)[this.checked ? 'addClass' : 'removeClass']('checked');
});
});


input.checked {
background: red;
}




--Klaus


[jQuery] Re: Could anyone send me a copy of Catfish Advert Plugin 1.3.

2007-06-21 Thread Karl Swedberg
I emailed Logan off-list with a couple suggestions for how he could  
contact the plugin author.


Michael, I'd be happy to host the plugin on learningjquery.com  
somewhere if you send me a copy. Of course, I'm not agreeing to  
maintain the plugin or provide support. ;)



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



On Jun 21, 2007, at 8:25 AM, Alexandre Plennevaux wrote:



Why don't you add it to the plugin directory instead?

-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery- 
[EMAIL PROTECTED] On

Behalf Of sz_quadri
Sent: jeudi 21 juin 2007 9:29
To: jQuery (English)
Subject: [jQuery] Re: Could anyone send me a copy of Catfish Advert  
Plugin

1.3.


I too need the catfish adverts plugin. Please cc it to me too.

On Jun 21, 11:16 am, Logan Cai [EMAIL PROTECTED] wrote:

help.!

Logan Cai wrote:


Could anyone send me a copy of Catfish Advert Plugin 1.3. its
official  site is offline now.
I am developing another Jquery based Open Source Project - Ajax Form
Builder, need it ASAP.
thanks in advance.
Logan Cai
http://www.phpletter.com


--
View this message in
context:http://www.nabble.com/Could-anyone-send-me-a-copy-of- 
Catfish-Advert-

P...

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


Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.472 / Base de données virus: 269.9.1/857 - Date:  
20/06/2007

14:18






[jQuery] Re: Radio button

2007-06-21 Thread rayfidelity

Thanks but it doesn't work.

On Jun 21, 6:39 pm, Mike Alsup [EMAIL PROTECTED] wrote:
 This should work:

 $(document).ready(function() {
 $([EMAIL PROTECTED]'section']).click(function(){
 $(this).css('background', this.checked ? 'red' : '');
 })

 });
  Here's what i came up with, but it doesn't work.

  $(document).ready(function() {
  $([EMAIL PROTECTED]'section']).click(function(){
  $([EMAIL PROTECTED]'section']:checked).val() == 1 ? $
  ([EMAIL PROTECTED]'section']:checked).css(background,red) : ;
  });
  }
  )



[jQuery] Re: Radio button

2007-06-21 Thread rayfidelity

Klaus thanks it works!

Since you made a great suggestion, here's the thing

it's like this

ul
   liinput type=radio name=section value=bla bla/li
   liinput type=radio name=section value=bla bla 2/li
/ul

i'd actually like to change the background of the list item, so how do
i append the class to the appropriate list item?

On Jun 21, 6:47 pm, Klaus Hartl [EMAIL PROTECTED] wrote:
 Mike Alsup wrote:

  This should work:

  $(document).ready(function() {
 $([EMAIL PROTECTED]'section']).click(function(){
 $(this).css('background', this.checked ? 'red' : '');
 })
  });

 On top of that I'd like to suggest a better separation of the
 presentational aspect. It's the responsibility of CSS to make things
 look somehow, thus I would expect that information in a style sheet:

 $(document).ready(function() {
  $([EMAIL PROTECTED]'section']).click(function(){
  $(this)[this.checked ? 'addClass' : 'removeClass']('checked');
  });

 });

 input.checked {
  background: red;

 }

 --Klaus



[jQuery] Re: Radio button

2007-06-21 Thread Chris W. Parker

On Thursday, June 21, 2007 9:48 AM Klaus Hartl said:

 $(document).ready(function() {
  $([EMAIL PROTECTED]'section']).click(function(){
   $(this)[this.checked ? 'addClass' : 'removeClass']('checked'); });
 });

What kind of syntax is that third line? (I don't mean the ternary
operator.)


[jQuery] Re: Radio button

2007-06-21 Thread Klaus Hartl


rayfidelity wrote:

Thanks but it doesn't work.

On Jun 21, 6:39 pm, Mike Alsup [EMAIL PROTECTED] wrote:

This should work:

$(document).ready(function() {
$([EMAIL PROTECTED]'section']).click(function(){
$(this).css('background', this.checked ? 'red' : '');
})

});

Here's what i came up with, but it doesn't work.



I think that's because not every browser applies a background color to a 
checkbox. The code looks correct.




--Klaus


[jQuery] Re: Radio button

2007-06-21 Thread Klaus Hartl


rayfidelity wrote:

Klaus thanks it works!

Since you made a great suggestion, here's the thing

it's like this

ul
   liinput type=radio name=section value=bla bla/li
   liinput type=radio name=section value=bla bla 2/li
/ul

i'd actually like to change the background of the list item, so how do
i append the class to the appropriate list item?


Try this:

$(document).ready(function() {
$([EMAIL PROTECTED]'section']).click(function(){
$(this).parent()[this.checked ? 'addClass' : 
'removeClass']('checked');

});
});


li.checked {
background: red;
}



--Klaus


[jQuery] Re: Radio button

2007-06-21 Thread Klaus Hartl


Chris W. Parker wrote:

On Thursday, June 21, 2007 9:48 AM Klaus Hartl said:


$(document).ready(function() {
 $([EMAIL PROTECTED]'section']).click(function(){
  $(this)[this.checked ? 'addClass' : 'removeClass']('checked'); });
});


What kind of syntax is that third line? (I don't mean the ternary
operator.)




myObject.foo is the same as myObject['foo'] in JavaScript. It doesn't 
matter which datatype the property is of.


So if foo were a function you could call it in two ways:

myObject.foo();

or

myObject['foo']();


This is very handy in the case you need to decide at runtime which 
function too call (thus the ternary operator) and helps to avoid 
redundant code.


Compare to this which does the same:

if (this.checked) {
$(this).addClass('checked');
} else {
$(this).removeClass('checked');
}



--Klaus





[jQuery] Re: Radio button

2007-06-21 Thread Jörn Zaefferer


Chris W. Parker wrote:

On Thursday, June 21, 2007 9:48 AM Klaus Hartl said:

  

$(document).ready(function() {
 $([EMAIL PROTECTED]'section']).click(function(){
  $(this)[this.checked ? 'addClass' : 'removeClass']('checked'); });
});



What kind of syntax is that third line? (I don't mean the ternary
operator.)
  


JavaScript supports the array-element notation for every object, 
allowing you to access properties (or methods, which are nothing more 
then properties) based on a variable at runtime. Its the same as this:


if(this.checked) {
 $(this).addClass('checked');
} else {
 $(this.removeClass('checked');
}

Or, using the ternary operator:

this.checked ? $(this).addClass('checked') : $(this).removeClass('checked')

--
Jörn Zaefferer

http://bassistance.de



[jQuery] Re: Radio button

2007-06-21 Thread rayfidelity

Hmm the removeclass part doesn't seem to work, when i click on the
other radio button the previous stays red...

On Jun 21, 7:27 pm, Klaus Hartl [EMAIL PROTECTED] wrote:
 rayfidelity wrote:
  Klaus thanks it works!

  Since you made a great suggestion, here's the thing

  it's like this

  ul
 liinput type=radio name=section value=bla bla/li
 liinput type=radio name=section value=bla bla 2/li
  /ul

  i'd actually like to change the background of the list item, so how do
  i append the class to the appropriate list item?

 Try this:

 $(document).ready(function() {
  $([EMAIL PROTECTED]'section']).click(function(){
  $(this).parent()[this.checked ? 'addClass' :
 'removeClass']('checked');
  });

 });

 li.checked {
  background: red;

 }

 --Klaus



[jQuery] Re: Radio button

2007-06-21 Thread rayfidelity

Thanks Klaus!

I owe you a beer ;)

On Jun 21, 7:27 pm, Klaus Hartl [EMAIL PROTECTED] wrote:
 rayfidelity wrote:
  Klaus thanks it works!

  Since you made a great suggestion, here's the thing

  it's like this

  ul
 liinput type=radio name=section value=bla bla/li
 liinput type=radio name=section value=bla bla 2/li
  /ul

  i'd actually like to change the background of the list item, so how do
  i append the class to the appropriate list item?

 Try this:

 $(document).ready(function() {
  $([EMAIL PROTECTED]'section']).click(function(){
  $(this).parent()[this.checked ? 'addClass' :
 'removeClass']('checked');
  });

 });

 li.checked {
  background: red;

 }

 --Klaus



[jQuery] Re: Radio button

2007-06-21 Thread Klaus Hartl


rayfidelity wrote:

Hmm the removeclass part doesn't seem to work, when i click on the
other radio button the previous stays red...

On Jun 21, 7:27 pm, Klaus Hartl [EMAIL PROTECTED] wrote:

rayfidelity wrote:

Klaus thanks it works!
Since you made a great suggestion, here's the thing
it's like this
ul
   liinput type=radio name=section value=bla bla/li
   liinput type=radio name=section value=bla bla 2/li
/ul
i'd actually like to change the background of the list item, so how do
i append the class to the appropriate list item?

Try this:

$(document).ready(function() {
 $([EMAIL PROTECTED]'section']).click(function(){
 $(this).parent()[this.checked ? 'addClass' :
'removeClass']('checked');
 });

});

li.checked {
 background: red;

}

--Klaus





Stupid me, try this:


$(document).ready(function() {
$([EMAIL PROTECTED]'section']).click(function() {
$(this).parent()[this.checked ? 'addClass' : 
'removeClass']('checked').siblings().removeClass('selected');

});
});


No more elegance any longer...


--Klaus


[jQuery] Slide-in/out: Toggle right panel example?

2007-06-21 Thread Pete

It seemed like forever when I was searching for anything jQuery, I
kept coming up with a very nice example where a form button would
toggle a dark gray panel to slide in from the right and then slide out
on toggle.  The panel takes up 100% of the page.

I can't seem to find it now that I would actually like to see how it's
implemented.

Any help?

THX
Pete



[jQuery] Re: Could anyone send me a copy of Catfish Advert Plugin 1.3.

2007-06-21 Thread Su

The plugin works(or worked) fine. I've used it. But there's been at least
one release of jQuery since then, which might've introduced an
incompatibility.

On 6/21/07, Logan Cai [EMAIL PROTECTED] wrote:




thanks Michael, I got it,
but it has javascript errors when running it with FF  IE7.0
so I am assuming it is not the lastest version, still is a biggy version.
Logan Cai
From http://www.phpletter.com



Michael Price-10 wrote:


 Su wrote:
 When you go 24hours without reposting this question, I'll go digging
 through the archive I'm pretty sure has a copy of it.

 I sent him a version I had - not sure it was 1.3 though. The last
 mention of it on Google was only 1.2 anyway.

 Regards,
 Michael Price




--
View this message in context:
http://www.nabble.com/Could-anyone-send-me-a-copy-of-Catfish-Advert-Plugin-1.3.-tf3954744s15494.html#a11238385
Sent from the JQuery mailing list archive at Nabble.com.




[jQuery] Re: Radio button

2007-06-21 Thread rayfidelity

Nope.

Eh too much. I'll stick to marking just the radio button. I've already
taken too much of your time.

Thank you very much!

On Jun 21, 7:53 pm, Klaus Hartl [EMAIL PROTECTED] wrote:
 rayfidelity wrote:
  Hmm the removeclass part doesn't seem to work, when i click on the
  other radio button the previous stays red...

  On Jun 21, 7:27 pm, Klaus Hartl [EMAIL PROTECTED] wrote:
  rayfidelity wrote:
  Klaus thanks it works!
  Since you made a great suggestion, here's the thing
  it's like this
  ul
 liinput type=radio name=section value=bla bla/li
 liinput type=radio name=section value=bla bla 2/li
  /ul
  i'd actually like to change the background of the list item, so how do
  i append the class to the appropriate list item?
  Try this:

  $(document).ready(function() {
   $([EMAIL PROTECTED]'section']).click(function(){
   $(this).parent()[this.checked ? 'addClass' :
  'removeClass']('checked');
   });

  });

  li.checked {
   background: red;

  }

  --Klaus

 Stupid me, try this:

 $(document).ready(function() {
  $([EMAIL PROTECTED]'section']).click(function() {
  $(this).parent()[this.checked ? 'addClass' :
 'removeClass']('checked').siblings().removeClass('selected');
  });

 });

 No more elegance any longer...

 --Klaus



[jQuery] Re: Ajax call - lost event handlers

2007-06-21 Thread Karl Swedberg

This issue comes up repeatedly, and I keep posting this link:

http://docs.jquery.com/Tutorials:AJAX_and_Events

If you read it all the way through, I think you'll get a good  
understanding of event binding and a few ways to bind events at the  
right time.


Also, a quick search in this google group for ajax events would  
lead you to some good answers.


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



On Jun 21, 2007, at 9:57 AM, AJ wrote:




It is true and it will be officially released once jQuery 1.1.3 is  
released.
If you don't mind using jQuery 1.1.3 alpha and getting your hands  
dirty with

inline docs and minimal examples ... then you can start using it now.


Wow, thanks! I am in a real crisis with a site right now, so I'll go
ahead and try it with 1.1.3 and see how it goes.

Will post any findings here later tonight.

AJ





[jQuery] Re: Validation Element ID differ from Element name

2007-06-21 Thread Jörn Zaefferer


Terak wrote:

I'm using cakephp framework and I'm running into problem if the
element name if different from the element ID.  Currently the form is
getting submitted w/o being validated, but if I change the textarea
name to contact_description then it will validate it.  Also I would
like to make sure that atleast 1 checkbox has been selected but i'm
not sure how to add a custom function to multiple checkbox.
  
Validation rules have to refer to the name of elements. Due to a bug in 
the plugin, the notation used by CakePHP didn't work. Unfortuanetely 
I've discovered that after releasing 1.1. Until the next release you can 
try to patch the errorsFor-method manually:


errorsFor: function(element) {
return this.errors().filter([EMAIL PROTECTED]' + this.idOrName(element) + 
']);
},

Validating multiple checkboxes is easy, just a rule for the name of them.

--
Jörn Zaefferer

http://bassistance.de



[jQuery] BlockUI - changing messages in a dialog

2007-06-21 Thread rolfsf


I'm using the blockUI plugin to block a div, and display a small confirmation
dialog, which is based on a hidden div (#question) on the page. That all
works. 

If the user confirms the action by clicking a button, I want to display a
second div with a data loading sort of message  loading gif while the
ajax operation takes place (div#wait). I can't quite get this part to work
correctly... I know I've got the syntax wrong, but not sure how best to do
this... I can see the #wait div appearing briefly in the wrong place, in
addition to the original #question div...

based on the example from the demo page, I've put this together:

$(function() { 
// cache the question element 
var question = $('#question')[0]; 
 
$('a.filter').click(function() { 
$('#myDiv').block(question, { width: '275px' });
}); 
 
$('#yes').click(function() { 
// update the block message 
$('#myDiv').block($('#wait'), {width: '275px'});
 
$.ajax({ 
url: 'wait.htm?' + new Date().getTime(), // prevent caching
in IE 
complete: function() { 
// unblock when remote call returns 
$('#myDiv').unblock();
} 
}); 
return false; 
}); 
 
$('#no').click(function() {
$('#myDiv').unblock();
});
}); 

Anybody? thanks!
-- 
View this message in context: 
http://www.nabble.com/BlockUI---changing-messages-in-a-dialog-tf3960765s15494.html#a11239773
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] problem using jquery.flash plugin in my plugin

2007-06-21 Thread Alexandre Plennevaux
Hello!
 
i'm trying to switch the dependency of my plugin to a proper jquery plugin 
dedicated to flash embedding instead of swfobject.
Yet i cannot seem to make it work: no error thrown but the element is not 
replaced by the flash file.
 
here is the schematics of what i do:
 
jQuery.fn.jqUploader = function(options) {
return this.each(function(index) {
 
 $(this).flash({src: 'jqUploader.swf', width: 320, height: 240}); 
 
});
};
 
 
i've posted a test suite here:
 
test: http://www.pixeline.be/experiments/jqUploader/test2.php
 
plugin: http://www.pixeline.be/experiments/jqUploader/jquery.jqUploader_proto.js
 
could someone have a look and let me know what i'm doing wrong?
 
 
And if you would like to see how it should work: 
http://www.pixeline.be/experiments/jqUploader/test.php 
 
Thanks a lot,
 
Alexandre
 
Alexandre Plennevaux
 pixeline http://www.pixeline.be/_img/pixeline_logo_small.gif  
33 rue Stephenson
B-1030 Brussels
 
http://www.pixeline.be


Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.472 / Base de données virus: 269.9.1/857 - Date: 20/06/2007 14:18


pixeline_logo_small.gif

[jQuery] Re: BlockUI - changing messages in a dialog

2007-06-21 Thread Mike Alsup


rolfsf,

You need to take the same approach with the 2nd message as you did
with the first - cache it:

var question = $('#question')[0];
var wait = $('#wait')[0];

Then in your yes handler do this:

$('#myDiv').unblock().block(wait, {width: '275px'});

But if you're just displaying a simple static message it's easier to
set up the wait variable like this:

var wait = 'h1img src=busy.gif / Just a moment.../h1';

Mike


If the user confirms the action by clicking a button, I want to display a
second div with a data loading sort of message  loading gif while the
ajax operation takes place (div#wait). I can't quite get this part to work
correctly... I know I've got the syntax wrong, but not sure how best to do
this... I can see the #wait div appearing briefly in the wrong place, in
addition to the original #question div...


[jQuery] Re: BlockUI - changing messages in a dialog

2007-06-21 Thread rolfsf


Cool - thanks Mike. I guess I don't understand the purpose of the cacheing in
this case (my javascript knowledge is limited). When I've got my
proof-of-concept working correctly and pass it on to the engineers to
implement, I'll know better whether the div or the simple static message
works better - I'm just trying to build enough flexibility in to it.

Thanks again!



malsup wrote:
 
 
 rolfsf,
 
 You need to take the same approach with the 2nd message as you did
 with the first - cache it:
 
  var question = $('#question')[0];
  var wait = $('#wait')[0];
 
 Then in your yes handler do this:
 
 $('#myDiv').unblock().block(wait, {width: '275px'});
 
 But if you're just displaying a simple static message it's easier to
 set up the wait variable like this:
 
 var wait = 'h1 busy.gif  Just a moment.../h1';
 
 Mike
 
 If the user confirms the action by clicking a button, I want to display a
 second div with a data loading sort of message  loading gif while the
 ajax operation takes place (div#wait). I can't quite get this part to
 work
 correctly... I know I've got the syntax wrong, but not sure how best to
 do
 this... I can see the #wait div appearing briefly in the wrong place, in
 addition to the original #question div...
 
 

-- 
View this message in context: 
http://www.nabble.com/BlockUI---changing-messages-in-a-dialog-tf3960765s15494.html#a11240528
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Release: Validation plugin 1.1

2007-06-21 Thread Chris W. Parker

On Thursday, June 21, 2007 12:04 PM Jörn Zaefferer said:

 Hooray! Version 1.1 of the validation plugin (
 http://bassistance.de/jquery-plugins/jquery-plugin-validation/ )
 brings, along a few bufixes, sophisticated validation on blur, keyup
 and click events. They are designed to help the user where
 appropiate, without interrupting when he hadn't even the chance to
 enter anything. 
 
 Coming up in the next version: Ajax validation. Finally.

How will that work?

Are you going to write the library yourself?

Will it be language independent? If not, what language?



Chris.


[jQuery] Re: Release: Validation plugin 1.1

2007-06-21 Thread Jörn Zaefferer




How will that work?

Are you going to write the library yourself?

Will it be language independent? If not, what language?
  
Basically the plugin will provide the necessary protocol for 
client-server communication and display messages accordingly. The acutal 
validation is then done on the server, which isn't in the scope of the 
plugin. The first version will be very unflexible in respect to the 
messages exchanged between client and server, but should involve when 
people start using it. I think its better to define a protocol that 
works at first, and adapt it to actual requirements and scenarios.


--
Jörn Zaefferer

http://bassistance.de



[jQuery] Re: BlockUI - changing messages in a dialog

2007-06-21 Thread Mike Alsup


rolfsf,

The purpose of the caching is because when you invoke unblock() or
unblockUI the blocking elements are removed from the DOM.  That means
you can't find them again with a jQuery selector, so they need to be
cached or they won't be reusable.

The difference between using an existing DOM element and using a
string like I suggested in my last post is mostly one of style, rather
than function.  Both will work, but to me it just feels simpler to use
a string and let jQuery create the nodes when (and if) they are
needed.

Mike


Cool - thanks Mike. I guess I don't understand the purpose of the cacheing in
this case (my javascript knowledge is limited). When I've got my
proof-of-concept working correctly and pass it on to the engineers to
implement, I'll know better whether the div or the simple static message
works better - I'm just trying to build enough flexibility in to it.


[jQuery] Re: problem using jquery.flash plugin in my plugin

2007-06-21 Thread Alexandre Plennevaux
i even tried removing everything in my plugin, still no go. Yet, just calling 
it in the main $(document).ready loop works. It seems the plugin does not 
accept to be wrapped by another function, is this possible?

   _  

From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Alexandre Plennevaux
Sent: jeudi 21 juin 2007 21:41
To: jquery-en@googlegroups.com
Subject: [jQuery] problem using jquery.flash plugin in my plugin


Hello!
 
i'm trying to switch the dependency of my plugin to a proper jquery plugin 
dedicated to flash embedding instead of swfobject.
Yet i cannot seem to make it work: no error thrown but the element is not 
replaced by the flash file.
 
here is the schematics of what i do:
 
jQuery.fn.jqUploader = function(options) {
return this.each(function(index) {
 
 $(this).flash({src: 'jqUploader.swf', width: 320, height: 240}); 
 
});
};
 
 
i've posted a test suite here:
 
test: HYPERLINK 
http://www.pixeline.be/experiments/jqUploader/test2.phphttp://www.pixeline.be/experiments/jqUploader/test2.php
 
plugin: HYPERLINK 
http://www.pixeline.be/experiments/jqUploader/jquery.jqUploader_proto.jshttp://www.pixeline.be/experiments/jqUploader/jquery.jqUploader_proto.js
 
could someone have a look and let me know what i'm doing wrong?
 
 
And if you would like to see how it should work: HYPERLINK 
http://www.pixeline.be/experiments/jqUploader/test.phphttp://www.pixeline.be/experiments/jqUploader/test.php
 
 
Thanks a lot,
 
Alexandre
 
Alexandre Plennevaux
 HYPERLINK http://www.pixeline.be/_img/pixeline_logo_small.gifpixeline 
33 rue Stephenson
B-1030 Brussels
 
HYPERLINK http://www.pixeline.behttp://www.pixeline.be


Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.472 / Base de données virus: 269.9.1/857 - Date: 20/06/2007 14:18



Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.472 / Base de données virus: 269.9.1/857 - Date: 20/06/2007 14:18
 
  
pixeline_logo_small.gif

[jQuery] jquick speed

2007-06-21 Thread Jack Killpatrick


Earlier today I converted some string concat js stuff (for creating 
HTML) to use the jquick plugin instead:


 http://jquick.sullof.com/jquick/

Things now seem noticably slower, but I also changed a bunch of other 
stuff in the code I'm working on. I haven't dug in deeper to see where 
the speed issue might be, but am wondering if anyone has used jquick 
much and can vouch for it's speed (or has noticed it causing bottlenecks)?


Thanks,
Jack


[jQuery] Re: jquick speed

2007-06-21 Thread Rey Bango


Hi Jack,

I've never used it but my suggestion is to take a small section of your 
code that is noticeably slower, create a test file,  drop the slow code 
in there. Then create a second file and use straight jQuery core 
functions or DOM code to do the same thing.


Leverage FireBug's profiler to see the performance of the two and 
hopefully that will give you an indication as to whether jQuick is the 
culprit or if other changes affected your page.


If you're not quite sure how to use FB's profiler, check out the 
following article as it offers a nice explanation of it.


http://ddj.com/dept/debug/196802787?pgno=6

Also, check it out in multiple browsers to see if the issue are 
consistent across all browsers or specific to one.


Rey...

Jack Killpatrick wrote:


Earlier today I converted some string concat js stuff (for creating 
HTML) to use the jquick plugin instead:


 http://jquick.sullof.com/jquick/

Things now seem noticably slower, but I also changed a bunch of other 
stuff in the code I'm working on. I haven't dug in deeper to see where 
the speed issue might be, but am wondering if anyone has used jquick 
much and can vouch for it's speed (or has noticed it causing bottlenecks)?


Thanks,
Jack



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


[jQuery] Re: jEdible in place editor plugin

2007-06-21 Thread Erik Beeson

The official site has quite a few examples:
http://www.appelsiini.net/~tuupola/jquery/jeditable/

What problems are you having? Note that if your quantity variable is blank,
the containing div won't have any height and you won't be able to trigger
the editing.

--Erik


On 6/21/07, cfdvlpr [EMAIL PROTECTED] wrote:



Has anyone here used this plugin?  Where can I find some good examples
on how to use this?  Right now, I've almost got it working, but for
some reason is is doing something funny that I can't seem to figure
out.  Anyone see a problem with the code that I have below:

$(document).ready(function() {
$(.editable_textarea).mouseover(function() {
$(this).css('background-color', '#d3');
});
$(.editable_textarea).editable(/update.cfm, {
indicator : img src='/jquery/plugins/images/
indicator.gif',
type  : textarea,
submit: OK,
tooltip   : Click to edit...
});

});

...
div class=editable_textarea id=#i##session.cart[i].quantity#/
div
...

Please note that the #i# is a coldfusion variable.




[jQuery] Re: jEdible in place editor plugin

2007-06-21 Thread Josh Nathanson


I'm using it, also in conjunction with ColdFusion, with good 
success...nothing jumps out of your code...what exactly is the doing 
something funny that you reference?


-- Josh

- Original Message - 
From: cfdvlpr [EMAIL PROTECTED]

To: jQuery (English) jquery-en@googlegroups.com
Sent: Thursday, June 21, 2007 2:35 PM
Subject: [jQuery] jEdible in place editor plugin




Has anyone here used this plugin?  Where can I find some good examples
on how to use this?  Right now, I've almost got it working, but for
some reason is is doing something funny that I can't seem to figure
out.  Anyone see a problem with the code that I have below:

$(document).ready(function() {
   $(.editable_textarea).mouseover(function() {
   $(this).css('background-color', '#d3');
   });
   $(.editable_textarea).editable(/update.cfm, {
   indicator : img src='/jquery/plugins/images/
indicator.gif',
 type  : textarea,
   submit: OK,
   tooltip   : Click to edit...
   });

});

...
div class=editable_textarea id=#i##session.cart[i].quantity#/
div
...

Please note that the #i# is a coldfusion variable.





[jQuery] Thickbox, JQuery and editInPlace

2007-06-21 Thread Angelo Zanetti


hi all,

i have used jQuery with thickbox and editInPlace 
(http://15daysofjquery.com/edit-in-place-with-ajax-using-jquery-javascript-library/15/) 
successfully in Firefox. However doesnt seem to work at all in IE. 
Basically its meant to work like if there is a section of text, click on 
it and it will display the text in a textarea and then can be edited and 
updated to the database (using a post to a PHP file). Anyway, that works 
in FF as mentioned.


Now in IE, I click the text that is in the Div and nothing happens at 
all, very strange. Been googling and cant really find answers. Here is 
some of my code:

code
my JS file that gets included:

$(document).ready(function(){
  
setClickable();

});

function setClickable()
{
   
   $('#editInPlace').click(function() {
   var textarea = 'divtextarea rows=2 
cols=20'+$(this).html()+'/textarea';
   var button = 'divinput type=button value=SAVE 
class=saveButton / OR input type=button value=CANCEL 
class=cancelButton //div/div';

   var revert = $(this).html();
   $(this).after(textarea+button).remove();
   $('.saveButton').click(function(){saveChanges(this, false);});
   $('.cancelButton').click(function(){saveChanges(this, revert);});
   })
   .mouseover(function() {
   $(this).addClass(editable);
   })
   .mouseout(function() {
   $(this).removeClass(editable);
   });
};

/code

So basically this code sets the DIV 'editInPlace' to editable IE: when 
you click on it, it shows the textarea etc...
This isnt even called at all with IE? Now im not sure if this is a 
JQuery issue or the JS and IE?


Does anyone have any suggestions what the problem could be? Perhaps its 
not even related to jQuery and Thickbox and EditinPlace?


Any suggestions will be most welcome or links to help etc...

Thanks in advance.



[jQuery] Re: Ajax call - lost event handlers

2007-06-21 Thread AJ


 Bind the change event again in the Ajax callback, like this:

Klaus,

I ended up using a modified version of your suggestion and it worked
great. Thanks!

AJ



[jQuery] Toggle not working correctly

2007-06-21 Thread Farkit

Hi,
On a click event I want to slideToggle and show and alert for open and
close states.   But the alert shows different behavior in IE 
FireFox; neither in correct order.

HTML:
div class=showBlock
a href=# class=showTitleThe Office/a
div class=showDescriptionThe best show on US 
networks/div
/div
div class=showBlock
a href=# class=showTitleThe Office/a
div class=showDescriptionThe best show on US 
networks/div
/div
div class=showBlock
a href=# class=showTitleThe Office/a
div class=showDescriptionThe best show on US 
networks/div
/div
div class=showBlock
a href=# class=showTitleThe Office/a
div class=showDescriptionThe best show on US 
networks/div
/div


Script:
script type=text/javascript

$(.showTitle).bind(click, function(){
$(this).next(.showDescription).slideToggle();
$(this).toggle(function(){alert(open);}, function()
{alert(close);})
return false;
});


/script



[jQuery] Re: slideToggling a dd in firefox

2007-06-21 Thread DXCJames

For some reason the heiarchy for firefox is different from IE and
Safari... wierd

I changed a few things around to this for the function

$(dl).find(dl).click(function(){

if($.browser.mozilla)

$(this).parent().children(dd).slideToggle(400);
else

$(this).parent().parent().children(dd).slideToggle(400);

it seems that firefox must set $(this) to be the highest object in
the .click instead of like the others as the actual object..



[jQuery] Re: jEdible in place editor plugin

2007-06-21 Thread Josh Nathanson


There is probably a CF error happening.  If this happens, the ajax post does 
not complete.  If you have firebug, you can check the ajax response to see 
what the CF error is.


-- Josh

- Original Message - 
From: cfdvlpr [EMAIL PROTECTED]

To: jQuery (English) jquery-en@googlegroups.com
Sent: Thursday, June 21, 2007 3:48 PM
Subject: [jQuery] Re: jEdible in place editor plugin




Thanks very much for that explanation.  I had this in update.cfm:
cfset session.cart[#id#].quantity = #value#

And, I have an application.cfc file that calls my template.

I now have this in my update.cfm file so that the template is not
shoved into that div anymore:

cfset request.useTemplate = false/
cfset session.cart[#id#].quantity = #value#
#value#

However, instead of the new #value# showing up in the div, I just get
the indicator image spinning and spinning...