[jQuery] Re: Using AutoCompleter, how do you pass parameters

2007-07-08 Thread AtlantaGeek

$('#CustNo').val() is not working.  How can I get the CustNo value set
dynamically to the value in a hidden field?

On Jul 6, 10:46 pm, AtlantaGeek [EMAIL PROTECTED] wrote:
 Thanks.  Can I get that customer number from the hidden field,
 though?  I'll try $('#CustNo').val() but if that doesn't work, I'd be
 at a loss . . .



[jQuery] Re: jquery-1.1.3.1 with interface slider trouble

2007-07-08 Thread Terry B

You mean UI library or is that the same?

On Jul 7, 10:51 pm, Benjamin Sterling
[EMAIL PROTECTED] wrote:

 FYI, there will be a new FX library coming on line sometime in the near
 future, just not sure when.



[jQuery] Re: Drag- Droppables using Interface

2007-07-08 Thread Hurreman
Thanks for the welcome Benjamin!

A live version of the script can be found on http:// 
http://www.ethowin.net/dragTest.htmwww.ethowin.net/dragTest.htm 
http://www.ethowin.net/dragTest.htm www.ethowin.net/dragTest.htm.
I tried using your code, but it neither cloned or removed the dragged 
element.
Also, the problem is quite random and doesn't seem to happen very often 
at all, so perhaps I could iterate through all lists on each drag/drop, 
and delete any found duplicates. But that might lead to some unnecessary 
overhead when the number or items grows.

/ Fredrik

Benjamin Sterling skrev:
 Fredrik,
 Welcome to the list!

 Not sure what you mean by qhetto solution, but your way seems fine.

 Is there a live version I can look at?  No exactly sure what you are 
 doing with $('body').mouseover and then what $(this) is reffering to.

 But, doing something like (untested):

  $(dragged).clone().remove().appendTo('#' + groupID + ' ul').wrap('li 
 class=character/li');

 The above should:  clone dragged, remove drapped, append cloned to 
 'groupID' and wrap cloned in the li item.

 Let me know if that worked and if you can show me a live version.




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

 On 7/7/07, *Fredrik Karlsson* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:


 I just found this group yesterday, and I've already found a lot of
 good advice from reading old posts. But I couldn't find a solution to
 some weird behaviour I'm having.

 I am using jquery together with Interface to play around a bit with
 dragdrop + ajax. So a basic test was to move an element between two
 lists. The code I've come up with looks like this:

 $(document).ready(function(){
 $('body').mouseover(function(event){
 if ($(event.target).is('li')){
 $(event.target).Draggable({revert:
 true, fx: 300, ghosting: true,
 opacity: 0.4});
 }
 });

 $('.group, #charter').Droppable(
 {
 accept :'character',
 activeclass:'activeGroup',
 hoverclass: 'hoverGroup',
 tolerance:  'pointer',
 onDrop:
 addCharToGroup
 }
 );

 });

 var addCharToGroup = function(dragged)
 {
 var groupID = $(this).attr('id');
 var charName = $(dragged).html();

 $('#' + groupID + ' ul').append('li
 class=character' + charName
 + '/li');
 $(dragged).remove();
 }


 I'm not sure if binding the mouseover event to add .Draggable to new
 list items is a ghetto solution, but it seems to be working fine.
 My problem is that every now and then, the item I move will duplicate
 itself. Is there any other way I should be removing the original item
 after moving it?

 / Fredrik




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



[jQuery] 3D carousel?

2007-07-08 Thread Fred Janon
Has anyone done or know how to do a carousel like the 3D circular carousel
in Flash in Amazon? It looks pretty cool. Forgive me if the link doesn't
work for you but the carousel shows the best-seller books in a 3D circular
carousel.

http://www.amazon.com/ref=topnav_gw_/105-7722567-3277224http://amazon.com/ref=topnav_gw_/105-7722567-3277224

Fred


[jQuery] JQuery - CrossBrowser? - Script not working in Firefox

2007-07-08 Thread AtlantaGeek

With JQuery supposedly crossbrowser capable, I did not think the
script I'm using would have any issues in Firefox.  Dumb thought,
perhaps.  It doesn't seem to execute at all in Firefox.  It's the
AutoCompleter located at 
http://www.pengoworks.com/workshop/jquery/autocomplete.htm.
It's working well in IE7, but not in Firefox.  Are there any
additional requirements to get JQuery working in Firefox?



[jQuery] Re: jquery-1.1.3.1 with interface slider trouble

2007-07-08 Thread philguillard


Thanks a lot.

Phil

Benjamin Sterling wrote:

Phil,
As Terry said, Interface is not supporting 1.1.3+, if there are no real
need to use 1.1.3+, then I would suggest sticking with 1.1.2, if you need a
copy, let me know.

FYI, there will be a new FX library coming on line sometime in the near
future, just not sure when.






[jQuery] Thickbox: Safari iFrame Cache

2007-07-08 Thread Thomas Jaggi


If I have several links to a thickbox-iFrame on my site, after
reloading the site Safari always shows the same site in the iFrame
(the one I last opened before reloading).
The same problem appears if I have just one link but change it after
having clicked once. After successfully reloading it opens still the
old site in the iFrame.

Same thing on the official demo-site (http://jquery.com/demo/thickbox/).

Emptying the cache doesn't help. Just a restart of Safari.


I already posted this in the Thickbox-Forum:
http://codylindley.com/thickboxforum/comments.php?DiscussionID=682page=1
But nobody seems to have a (quick) solution.


Does anybody know how to solve this?


[jQuery] blur() problem

2007-07-08 Thread debussy007


Hi,

I have an arrow on my website on which the user can click.
The problem is that when the user clicks, in Mozilla I have the selection
border on the arrow.
The arrow has id buttonNext

I tried this :

$(#buttonNext).click(function(){
alert(test);
$(#buttonNext).blur();
});

I tried this but it doesn't work, I can see the test getting displayed
though.
Can anyone help ?

Thank u.
-- 
View this message in context: 
http://www.nabble.com/blur%28%29---problem-tf4044064s15494.html#a11487534
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Using AutoCompleter, how do you pass parameters

2007-07-08 Thread Dylan Verheul


You can insert it directly (serverside, so PHP, CF, whatever floats
your boat) into the script.

Use the extraParams option.

On 7/8/07, AtlantaGeek [EMAIL PROTECTED] wrote:


$('#CustNo').val() is not working.  How can I get the CustNo value set
dynamically to the value in a hidden field?

On Jul 6, 10:46 pm, AtlantaGeek [EMAIL PROTECTED] wrote:
 Thanks.  Can I get that customer number from the hidden field,
 though?  I'll try $('#CustNo').val() but if that doesn't work, I'd be
 at a loss . . .




[jQuery] Navigation conversion

2007-07-08 Thread Allan Mullan


Hi all,

I'm trying to convert a simple navigation to jQuery (from Mootools) but 
I'm not having the best of luck with it yet, the original is here:

http://www.chromasynthetic.com/blog/wp-content/uploads/2006/09/mootools1.html

So far I have this:
http://www.skorpion.geek.nz/projects/nav2/index.html

But as you can tell, it's not animating it as smoothly - Can anyone help 
with the animation for this?


Thanks heaps in advance
Allan


[jQuery] Set element's css 'min-height' to browser's viewport height?

2007-07-08 Thread zarino

Hi!

I'd like to set all elements with the class .inner to have a minimum
height equal to the height of the browser's viewport. So, if the
window height is 550px, each of the '.inner' divs will have a minimum
height of 550px. I suspect it's bound to be super-easy to do with
jQuery, but newbie that I am, I can't figure it out. :-S

How would I go about doing this?

Many thanks,
Zarino



[jQuery] Re: Non integer amount of visible items

2007-07-08 Thread yhager




Jan Sorgalla wrote:
 
 
 yhager wrote:
 
 Hi,
 
 I am trying to achieve a view of 3.5 DIVs in jcarousel. The reason is
 that in terms of usability, it gives the user the understanding there is
 more info and he needs to scroll if he wants to view it.
 
 While I haven't dived deep into the code yet, when I try to use
 non-integer value for the 'visible' variable - I get the initial view
 correct, but scrolling gets messed up right away.
 
 Any idea how to accomplish this, or where to look for in the code to fix
 this? 
 
 Thanks,
 
 --yuval
 
 
 Hi,
 
 visible ist not the correct options for that. It means, that jcarousel
 changes the width of each item to always have that number of items
 visible.
 
 See: http://sorgalla.com/projects/jcarousel/examples/special_flexible.html
 
 In your case, its more simple as you might think ;) I've created an
 example for you at http://sorgalla.com/test/yuval.html
 
 As you see inside the style tags, i've just changed the width of the
 carousel and the clip (the viewport) if the carousel to a higher value. 
 
 Hope that helps, Jan
 

As I said - this is great.

However, I am seeing a strange behavior I am not sure how to classify/solve.
I am using a code similar to your example, but with a pager (like in
examples/static_controls.html).

If I click 'next', which puts into full view the last item, and then try to
go back to page 1 (view the first item), I get only half of the first item
visible, with no way to view it in full.

I have looked at the code, and I think that the inTail property is not
correctly handled when moving in this kind of carousel using 'scroll' and
not 'next/prev'.

Any idea how to approach this?
-- 
View this message in context: 
http://www.nabble.com/Non-integer-amount-of-visible-items-tf3993441.html#a11488088
Sent from the jCarousel mailing list archive at Nabble.com.



[jQuery] Re: Drag- Droppables using Interface

2007-07-08 Thread Benjamin Sterling

A live version of the script can be found on 
http://http://www.ethowin.net/dragTest.htm
www.ethowin.net/dragTest.htm http://www.ethowin.net/dragTest.htm.
I tried using your code, but it neither cloned or removed the dragged
element.



Hmm... then it probably was not getting an element in correct format, I will
look at you code and see if I see anything.

Also, the problem is quite random and doesn't seem to happen very often at

all, so perhaps I could iterate through all lists on each drag/drop, and
delete any found duplicates. But that might lead to some unnecessary
overhead when the number or items grows.



I agree, there should be better way.

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


[jQuery] Re: Set element's css 'min-height' to browser's viewport height?

2007-07-08 Thread Benjamin Sterling

Check out the dimension plugin.

On 7/8/07, zarino [EMAIL PROTECTED] wrote:



Hi!

I'd like to set all elements with the class .inner to have a minimum
height equal to the height of the browser's viewport. So, if the
window height is 550px, each of the '.inner' divs will have a minimum
height of 550px. I suspect it's bound to be super-easy to do with
jQuery, but newbie that I am, I can't figure it out. :-S

How would I go about doing this?

Many thanks,
Zarino





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


[jQuery] Re: Set element's css 'min-height' to browser's viewport height?

2007-07-08 Thread Karl Swedberg
Another plugin that might be helpful is Dave Cardwell's jqMinMax,  
which adds support for min- and max-height (and width) to browsers  
that don't support them in their CSS implementations (notably, IE6).


http://davecardwell.co.uk/javascript/jquery/plugins/jquery-minmax/



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



On Jul 8, 2007, at 10:19 AM, Benjamin Sterling wrote:


Check out the dimension plugin.

On 7/8/07, zarino [EMAIL PROTECTED] wrote:

Hi!

I'd like to set all elements with the class .inner to have a minimum
height equal to the height of the browser's viewport. So, if the
window height is 550px, each of the '.inner' divs will have a minimum
height of 550px. I suspect it's bound to be super-easy to do with
jQuery, but newbie that I am, I can't figure it out. :-S

How would I go about doing this?

Many thanks,
Zarino




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




[jQuery] Re: Set element's css 'min-height' to browser's viewport height?

2007-07-08 Thread Klaus Hartl


Karl Swedberg wrote:
Another plugin that might be helpful is Dave Cardwell's jqMinMax, which 
adds support for min- and max-height (and width) to browsers that don't 
support them in their CSS implementations (notably, IE6).


http://davecardwell.co.uk/javascript/jquery/plugins/jquery-minmax/



And just as a note: As long as you do not delare overflow to something 
other than visible, IE 6 implements width/height as min-width/min-height.


I'm using this for Tabs for example:

.tabs-nav a span {
width: 64px; /* IE 6 treats width as min-width */
min-width: 64px;
height: 18px; /* IE 6 treats height as min-height */
min-height: 18px;
}
*.tabs-nav a span { /* hide from IE 6 */
width: auto;
height: auto;
}


--Klaus


[jQuery] Re: Set element's css 'min-height' to browser's viewport height?

2007-07-08 Thread Klaus Hartl


zarino wrote:

Hi!

I'd like to set all elements with the class .inner to have a minimum
height equal to the height of the browser's viewport. So, if the
window height is 550px, each of the '.inner' divs will have a minimum
height of 550px. I suspect it's bound to be super-easy to do with
jQuery, but newbie that I am, I can't figure it out. :-S

How would I go about doing this?

Many thanks,
Zarino



Benjamin already mentioned the dimensions plugin. With it included, try:

$(function() {
$('div.inner').css(($.browser.msie  $.browser.version  7 ? '' : 
'min-') + 'height', $(window).height() + 'px');

});

If you need to adjust on window resize try this:

$(function() {
$(window).bind('resize', function() {
$('div.inner').css(($.browser.msie  $.browser.version  7 ? 
'' : 'min-') + 'height', $(window).height() + 'px');

}).trigger('resize');
});


--Klaus


[jQuery] Re: JQuery - CrossBrowser? - Script not working in Firefox

2007-07-08 Thread Matt Stith

Its working fine for me in firefox. Try using firebug or just the javascript
console to see if any errors are being reported. What version of firefox are
you using?

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



With JQuery supposedly crossbrowser capable, I did not think the
script I'm using would have any issues in Firefox.  Dumb thought,
perhaps.  It doesn't seem to execute at all in Firefox.  It's the
AutoCompleter located at
http://www.pengoworks.com/workshop/jquery/autocomplete.htm.
It's working well in IE7, but not in Firefox.  Are there any
additional requirements to get JQuery working in Firefox?




[jQuery] Re: jquery-1.1.3.1 with interface slider trouble

2007-07-08 Thread John Resig


What? Of course it's supported. Interface is still an official plugin
- if something was broken in this release, we'll need to resolve it.

Phil - do you have a demo where this is occurring?

--John

On 7/7/07, Terry B [EMAIL PROTECTED] wrote:


interface isnt supported under 1.1.3

On Jul 7, 10:22 pm, philguillard [EMAIL PROTECTED] wrote:
 Hi all,

 When i try jquery-1.1.3.1.pack.js with interface slider last pack on
 IE6, i get a usual Object doesn't support this property or method on
 the $('.sliderPrice').Slider( line,
 even if i set no options. Works fine on ffx.

 $('.sliderPrice').Slider(
 {
 accept : '.indicator'}

 );

 Anybody has any idea what i should try?

 Regards,

 Phil




[jQuery] jquery 1.1.3 and undefined variables

2007-07-08 Thread Kim Johnson

Hi folks,

I had 100% working jquery code throughout my site, but
upon updating to the newest version, a TON of stuff is
no longer working. Specifically, undefined is
showing up in various variables being passed around or
gotten via selectors. One thing I've found is that
while in the past a blank variable would pass into an
ajax call as nothing (and in my php code, I could then
just say if (!$varname) ), now, it's passed as
undefined. Once I put in a bunch of error handling
it works fine, but this is kind of irritating as I
keep discovering similar errors throughout the site
now.

Can someone explain what the fundamental change was in
the newest jquery that is causing this to happen? I'd
at least like to understand before I go around fixing
all the affected areas.

thanks,
-kim


 

Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather


[jQuery] Re: jquery-1.1.3.1 with interface slider trouble

2007-07-08 Thread Benjamin Sterling

Phil, My apologies, I had read that it was not under development anymore.

John,
Can't find the message that I first read that in, but was also noted in the
following threads and no one corrected this error.

http://groups.google.com/group/jquery-en/browse_thread/thread/da5b5e23434e93eb/39216020184cf79a?lnk=gstq=interfacernum=29#39216020184cf79a
http://groups.google.com/group/jquery-en/browse_thread/thread/7af7d4ce2975bed0/51cc2d3bd6171134?lnk=gstq=interface+releasernum=2#51cc2d3bd6171134

But I just found this message where you make mention of it still being
official:
http://groups.google.com/group/jquery-en/browse_thread/thread/5434c50bbd0acd19/bdd2d23af3ffccb7?lnk=gstq=interface+releasernum=9#bdd2d23af3ffccb7

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



What? Of course it's supported. Interface is still an official plugin
- if something was broken in this release, we'll need to resolve it.

Phil - do you have a demo where this is occurring?

--John

On 7/7/07, Terry B [EMAIL PROTECTED] wrote:

 interface isnt supported under 1.1.3

 On Jul 7, 10:22 pm, philguillard [EMAIL PROTECTED] wrote:
  Hi all,
 
  When i try jquery-1.1.3.1.pack.js with interface slider last pack on
  IE6, i get a usual Object doesn't support this property or method on
  the $('.sliderPrice').Slider( line,
  even if i set no options. Works fine on ffx.
 
  $('.sliderPrice').Slider(
  {
  accept : '.indicator'}
 
  );
 
  Anybody has any idea what i should try?
 
  Regards,
 
  Phil







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


[jQuery] Re: jquery 1.1.3 and undefined variables

2007-07-08 Thread John Resig


Kim -

We haven't seen any errors like this, do you have a page up where we
can see it in action?

--John

On 7/8/07, Kim Johnson [EMAIL PROTECTED] wrote:


Hi folks,

I had 100% working jquery code throughout my site, but
upon updating to the newest version, a TON of stuff is
no longer working. Specifically, undefined is
showing up in various variables being passed around or
gotten via selectors. One thing I've found is that
while in the past a blank variable would pass into an
ajax call as nothing (and in my php code, I could then
just say if (!$varname) ), now, it's passed as
undefined. Once I put in a bunch of error handling
it works fine, but this is kind of irritating as I
keep discovering similar errors throughout the site
now.

Can someone explain what the fundamental change was in
the newest jquery that is causing this to happen? I'd
at least like to understand before I go around fixing
all the affected areas.

thanks,
-kim




Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather



[jQuery] Re: Release: Tooltip plugin 1.1

2007-07-08 Thread Jörn Zaefferer


R. Rajesh Jeba Anbiah wrote:

  Another thing, you're bundling your site's style in zip file.
  
Are you referring to the demo files? If so, that is intentional. If not, 
could you clarify that?


--
Jörn Zaefferer

http://bassistance.de



[jQuery] Re: jquery 1.1.3 and undefined variables

2007-07-08 Thread Kim Johnson

Hi John,

There isn't so much a page to show, as I've fixed the
error (and the fix was in my php code, not jquery)
and/or you have to be logged in to use the features,
but here's the culprit code that suddenly changed how
it was working. I'm still in novice mode with jquery
so there might be a much easier way of doing this. 

The goal: update the status of a database entry
depending on whatever is selected in a form select
dropdown. Because I needed to keep track of whether
this is a NEW or EXISTING database entry, I appended a
custom ID and name onto each dropdown item. Since I
need to get the info with PHP and selecting the
dropdown does ajax magic, I didn't know another way of
doing this. 

I append EITHER the existing DB entry's ID under the
ID tag, OR the name of the series if the DB entry
doesn't exist yet, under the NAME tag. Thus, either
the ID or NAME tag is empty, while the other is
populated. I then check both in the ajaxed page, and
whichever is populated, I then insert or update an
entry accordingly. 

Here's the jquery ajax calling code:

$(select.status).change(function() {
var obj = $(this);
switch (obj.val())
{
case 0:   
var status = watched;
break;
case 1:   
var status = watching;
break;
case 2:
var status = dropped;
break;
case 3:
var status = saved;
break;
};
$.ajax(
{
type: POST,   
url:
/users/processanime.php,
data: (status= + obj.val() + animeid= +
obj.attr(name) + useranimeid= + obj.attr(id)),
success: function(responseText){
snip, this stuff doesnt matter
});

return false;
});

Notice that both the name and ID field are both
passed, even though one is empty.

Now, before the newest version of jquery, in my ajaxed
page (processanime.php) I'd simply do a check for if
(!$var). But after the upgrade, it appears blank
values are passed as undefined (I did an alert
statement). I guess it's not really an error, just
seems like variables are now passed differently
through the .ajax call if they are blank. An easy
enough fix, just really troublesome due to the many
places on the site I have similar code for; hence if
there's an explanation, I'd love to know what's going
on :)

thanks,
-kim

--- John Resig [EMAIL PROTECTED] wrote:

 
 Kim -
 
 We haven't seen any errors like this, do you have a
 page up where we
 can see it in action?
 
 --John
 
 On 7/8/07, Kim Johnson [EMAIL PROTECTED] wrote:
 
  Hi folks,
 
  I had 100% working jquery code throughout my site,
 but
  upon updating to the newest version, a TON of
 stuff is
  no longer working. Specifically, undefined is
  showing up in various variables being passed
 around or
  gotten via selectors. One thing I've found is that
  while in the past a blank variable would pass into
 an
  ajax call as nothing (and in my php code, I could
 then
  just say if (!$varname) ), now, it's passed as
  undefined. Once I put in a bunch of error
 handling
  it works fine, but this is kind of irritating as I
  keep discovering similar errors throughout the
 site
  now.
 
  Can someone explain what the fundamental change
 was in
  the newest jquery that is causing this to happen?
 I'd
  at least like to understand before I go around
 fixing
  all the affected areas.
 
  thanks,
  -kim
 
 
 
 


  Don't get soaked.  Take a quick peak at the
 forecast
  with the Yahoo! Search weather shortcut.
 
 http://tools.search.yahoo.com/shortcuts/#loc_weather
 
 



   

Get the free Yahoo! toolbar and rest assured with the added security of spyware 
protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php


[jQuery] Re: blur() problem

2007-07-08 Thread MrNase

It's not a jQuery problem. Try using

a {
outline: 0;
}

in your CSS file. :)




[jQuery] blur( fn ) doesn't work in Opera?

2007-07-08 Thread MrNase

I am using this code:

$(document).ready(function() {
$('#inputthreadtitle').blur(function() {
var value = this.value;
$('td#similarthreadcheckcontent').html('img 
src=images/misc/
13x13progress.gif /');
 $.get(ajax.php,
   { do: 'getsimilarthreads', title: value },
   function(data){
$('td#similarthreadcheckcontent').html(data);
   }
 );
});
});


with the latest release of jQuery but Opera doesn't react on the
onBlur event. When I write something to the input field and then click
somewhere, Opera just does nothing. :-(



[jQuery] Re: how to animate two divs' position smoothly at the same time

2007-07-08 Thread eddy

Hi,
   I saw your demo,Thank you! But there's too much recursion error.How
to resolve it?

On 7月5日, 下午12时36分, Glen Lipka [EMAIL PROTECTED] wrote:
 I tried to make a demo.http://www.commadot.com/jquery/animate/

 How come I get an infinite too much recursion error loop?

 Glen

 On 7/4/07, Ganeshji Marwaha [EMAIL PROTECTED] wrote:



  select both and animate... like this...

  $(#first, #second).animate(...);

  I believe john once said that, the same timer is used for all the elements
  if specified this way... so, you might not have problems with smoothness..

  -GTG

  On 7/4/07, eddy [EMAIL PROTECTED] wrote:

   There're two divs which have the same position,

   div id='first' style='left:0px,top:0px,width:100px,height:100px'/
   div id='second' style='left:0px,top:0px,width:100px,height:100px'/

   Is there a method to move them smoothly at the same time.

   below is not good:
   $('#first').animate({left:'50px',top:'100px'},1000);
   $('#second').animate({left:'50px',top:'100px'},1000);



[jQuery] Re: JQuery - CrossBrowser? - Script not working in Firefox

2007-07-08 Thread troycawley

The local autocomplete works fine for me (Firefox/2.0.0.4).

With the ajax autocomplete...your file @
http://www.pengoworks.com/workshop/jquery/autocomplete_ajax.cfm
gives an error in both FF and IE.


On Jul 7, 11:04 pm, AtlantaGeek [EMAIL PROTECTED] wrote:
 With JQuery supposedly crossbrowser capable, I did not think the
 script I'm using would have any issues in Firefox.  Dumb thought,
 perhaps.  It doesn't seem to execute at all in Firefox.  It's the
 AutoCompleter located 
 athttp://www.pengoworks.com/workshop/jquery/autocomplete.htm.
 It's working well in IE7, but not in Firefox.  Are there any
 additional requirements to get JQuery working in Firefox?



[jQuery] Re: Navigation conversion

2007-07-08 Thread Terry B

I dont have an absolute solution as I havent played with this quite
yet but Interface plugin should help you here.  Recommend using JQuery
1.1.2 for it though.

Go here: http://interface.eyecon.ro/demos  and look at Fisheye menu
for example

this probably could be done without Interface by applying hover on/off
functions to set the widths.  But I think Interface will give you so
much more capability in the long run.

On Jul 8, 7:09 am, Allan Mullan [EMAIL PROTECTED] wrote:
 Hi all,

 I'm trying to convert a simple navigation to jQuery (from Mootools) but
 I'm not having the best of luck with it yet, the original is 
 here:http://www.chromasynthetic.com/blog/wp-content/uploads/2006/09/mootoo...

 So far I have this:http://www.skorpion.geek.nz/projects/nav2/index.html

 But as you can tell, it's not animating it as smoothly - Can anyone help
 with the animation for this?

 Thanks heaps in advance
 Allan



[jQuery] Re: Using AutoCompleter, how do you pass parameters

2007-07-08 Thread AtlantaGeek

Thanks, but before I go into my reply, I wanted to say that I'd posted
hours earlier and it did not show up.  I got the your post was
successful message, but it's simply not here.  Have you had this
happen?

I will try your suggestion.  I'm not sure exactly where to put it, but
I'll experiment.  Or it may just be better to insert it on the server
side of things.

One other thing:  If the user does not actually select an item from
the list and, instead, just tabs out of the field - perhaps because
the item that was put into the textbox via the quick-fill was the one
he wanted - then the code to populate other fields does not fire.  How
can I get that code to fire?  (The code below does not fire)

pre
function findValue(li) {
if( li == null ) return alert(No match!);

if( !!li.extra ) var sValue = li.extra[0];

else var sValue = li.selectValue;

oItmDesc = document.getElementById(ItmDesc);
oItmDesc.innerHTML = li.extra[0];
oOnHandQty = document.getElementById(OnHandQty);
oOnHandQty.innerHTML = li.extra[1]
oPrice = document.getElementById(Price);
oPrice.innerHTML = li.extra[2]
}
/pre

On Jul 8, 11:01 am, Dan G. Switzer, II [EMAIL PROTECTED]
wrote:
 Thanks.  Can I get that customer number from the hidden field,
 though?  I'll try $('#CustNo').val() but if that doesn't work, I'd be
 at a loss . . .

 You can set the extra parameters to be sent programmatically using after the
 initialization by using:

 var ac = $(#txtItem);
 ac[0].autocompleter.setExtraParams({
 'CustNo': $('#CustNo').val()

 });

 (Although technically if your hidden field has the correct value when you
 initialize the Autocomplete box, you should still be able to set the value
 programmatically.)

 If you're going to change parameters though, you should probably also flush
 the cache so you don't have dirty results:

 ac[0].autocompleter.flushCache();

 -Dan



[jQuery] how can i get only the id's of a container's child elements

2007-07-08 Thread rockerzocker

First of all many thanks to the makers for this absolutly fantastic
library. I just discovere jquery and I'm really carried away by its
ease of use and its small size. However, as I slowly get a grip on how
it works, i still couldn't figure out, whether there is a function in
jquery which returns only the ID's of selected elements, rather than
the entire html mark up.


Example:

div id=container
div class=item id=1item1/div
div class=item id=3item2/div
div class=item id=3item3/div
/div

input type=text id=myInput name=myInput/


Given this markup, how would i get only the id's of all elements with
the class=item, e.g. path them as comma separated values to the
input field ?


As a bloody beginner I would welcome any hint.

Thanks, Daniel



[jQuery] paid thickbox modifications

2007-07-08 Thread sachbearbeiter

hello

my request: would it be possible to make an extended/modified version
of thickbox for us and   the community of thickbox-users?

the problem:

a) we need a next and previous button in the iframe-part of thickbox -
like the image-gallery-part of it (we want to show following websites
in the iframe)
b) we need a percent-view of the iframe (the size of the iframe not in
pixel but in % - i know there is a solution in the thickbox-forum -
maybe you can take and test and implement it)

would it be interesting for somebody?
how much would it cost?
to give it to the community it should be a clean and solid solution -
sorry - so - no beginners ...

many thanks in advance!

greetings immo


|||
immo seebörger
|||
diesachbearbeiter
schönhauser allee 167c
10435 berlin
|||
[EMAIL PROTECTED]
www.diesachbearbeiter.de




[jQuery] slideUp+Ajax+slideDown problem...

2007-07-08 Thread sharq

Hi,
Id like to have nice smooth slidings but... div slides up and
disappears smoothly, ajax loads page, and there`s the slideDown...It
slides to the same height that was before, and then div fits to new
content.. Its ugly, mostly when theres big differences between height
of div before and after... My code is:

script type=text/javascript
function str(){
$j(#text2).slideUp(750, function(){
$j('#text2').load(stro)
}).ajaxComplete(function(){
$j(#text2).fadeIn(1000);
});
}
/script

Of course jQuery-1.1.3.1 ;]
Regards



[jQuery] Re: Set element's css 'min-height' to browser's viewport height?

2007-07-08 Thread zarino

Ahhh brilliant!

Firstly thanks to Benjamin for a speedy response. I never knew about
the dimensions plug in. Very useful!

I wrote my own little bit of code, but admittedly it doesn't take into
account the IE6 problem. Your version, Klaus, is excellent.

Thank you everyone! I knew it would be something simple!

Zarino



On Jul 8, 5:23 pm, Klaus Hartl [EMAIL PROTECTED] wrote:
 zarino wrote:
  Hi!

  I'd like to set all elements with the class .inner to have a minimum
  height equal to the height of the browser's viewport. So, if the
  window height is 550px, each of the '.inner' divs will have a minimum
  height of 550px. I suspect it's bound to be super-easy to do with
  jQuery, but newbie that I am, I can't figure it out. :-S

  How would I go about doing this?

  Many thanks,
  Zarino

 Benjamin already mentioned the dimensions plugin. With it included, try:

 $(function() {
  $('div.inner').css(($.browser.msie  $.browser.version  7 ? '' :
 'min-') + 'height', $(window).height() + 'px');

 });

 If you need to adjust on window resize try this:

 $(function() {
  $(window).bind('resize', function() {
  $('div.inner').css(($.browser.msie  $.browser.version  7 ?
 '' : 'min-') + 'height', $(window).height() + 'px');
  }).trigger('resize');

 });

 --Klaus



[jQuery] Introducing Hot Chili

2007-07-08 Thread Andrea Ercolino


Hot Chili is my new little creature. It's like a graffiti spray can: grab it
and spice up someone else's gray codes.

A short post about it: http://noteslog.com/post/introducing-hot-chili/

-- 
View this message in context: 
http://www.nabble.com/Introducing-Hot-Chili-tf4045543s15494.html#a11491589
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: Using AutoCompleter, how do you pass parameters

2007-07-08 Thread AtlantaGeek

Well, I was thinking of a server side solution, but just thought that
there was a way to do it on the client side and wanted to understand
that.  Just to be clear, are you saying that's not an option and it
must be server side?  Also, if you have a chance to address my JQuery
- CrossBrowser? - Script not working in Firefox posting, I'd
certainly appreciate it.

On Jul 8, 6:10 am, Dylan Verheul [EMAIL PROTECTED] wrote:
 You can insert it directly (serverside, so PHP, CF, whatever floats
 your boat) into the script.

 Use the extraParams option.

 On 7/8/07, AtlantaGeek [EMAIL PROTECTED] wrote:





  $('#CustNo').val() is not working.  How can I get the CustNo value set
  dynamically to the value in a hidden field?

  On Jul 6, 10:46 pm, AtlantaGeek [EMAIL PROTECTED] wrote:
   Thanks.  Can I get that customer number from the hidden field,
   though?  I'll try $('#CustNo').val() but if that doesn't work, I'd be
   at a loss . . .- Hide quoted text -

 - Show quoted text -



[jQuery] Select div containing link

2007-07-08 Thread [EMAIL PROTECTED]

I have a div with class box that contains a link with class
remove. When the link is clicked I want to .fadeOut the entire div
that is holding the link.

Is this possible? I've been trying different thing but nothing seems
to work. Thanks in advance



[jQuery] Re: How to define var to ajax in onClick?

2007-07-08 Thread sharq

Yes, that was simple, but i wasnt trying hard enugh ;P
I wanted to achieve:
onClick=javascript:str(stro = './page.html');
Very fast, simple and useful ;]

On 7 Lip, 21:33, George [EMAIL PROTECTED] wrote:
 Can you describe this scenario a little more? It may not be quite
 clear what you're trying to achieve.
 Cheers,
 Georgr



  im loading my pages through ajax and id like to have one script for
  all pages by adding:
  var page = './page.html'
  to
  onClick=javascript:name();
  Is that possible? How to do that?



[jQuery] Apply effect to entire div holding a link

2007-07-08 Thread gabeg

Apply effect to entire div holding a link

I have a div with class box-itemid (itemid is some numbers). Inside
that div I have a link that when clicked, I want to hide the div the
contains it. Is this possible in jQuery?

Thanks in advance for any tips/help.



[jQuery] addClass() not executing until cursor enters confirm() box.

2007-07-08 Thread barophobia

Hello,

I have the following code:

http://www.pastebin.ca/609684

When someone clicks the appropriate element I want the row of that
element to change its background. But what happens is that when they
click the link the confirm box is created but the row for that element
doesn't change until the mouse enters the bounds of the confirm() box.

Why? Shouldn't it change before the box appears?


Thanks,
Chris.


[jQuery] Re: Apply effect to entire div holding a link

2007-07-08 Thread Larry Garfield

You can attach a click event handler to the link, then crawl up the DOM to the 
nearest div and .hide() that.

I think something like this (untested!):

$('a).bind('click', function () {
  $(this).parents('div')[0].hide();
});

On Sunday 08 July 2007, gabeg wrote:
 Apply effect to entire div holding a link

 I have a div with class box-itemid (itemid is some numbers). Inside
 that div I have a link that when clicked, I want to hide the div the
 contains it. Is this possible in jQuery?

 Thanks in advance for any tips/help.


-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson


[jQuery] Re: Select div containing link

2007-07-08 Thread Karl Swedberg

Here is one way you could do it:

$(document).ready(function() {
  $('a.remove').click(function() {
$(this).parents('div.box').fadeOut();
return false;
  });
});


Hope that helps.

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



On Jul 8, 2007, at 4:06 PM, [EMAIL PROTECTED] wrote:



I have a div with class box that contains a link with class
remove. When the link is clicked I want to .fadeOut the entire div
that is holding the link.

Is this possible? I've been trying different thing but nothing seems
to work. Thanks in advance





[jQuery] Re: Introducing Hot Chili

2007-07-08 Thread Sean Catchpole

A very interested greasemonkey script, thank you.
Some downsides are picking the right color theme for the right background
color.
And also, if this was a full firefox extension then you could integrate it
into the right click menu nicely.

Cheers

~Sean


On 7/8/07, Andrea Ercolino [EMAIL PROTECTED] wrote:




Hot Chili is my new little creature. It's like a graffiti spray can: grab
it
and spice up someone else's gray codes.

A short post about it: http://noteslog.com/post/introducing-hot-chili/

--
View this message in context:
http://www.nabble.com/Introducing-Hot-Chili-tf4045543s15494.html#a11491589
Sent from the JQuery mailing list archive at Nabble.com.




[jQuery] Re: how can i get only the id's of a container's child elements

2007-07-08 Thread Glen Lipka

var myString = ;

$(#container .item).each(function(i){
 myString = myString + , + this.id;
});

$(#myInput).val(myString);

Hope this helps.  Glen


On 7/8/07, rockerzocker [EMAIL PROTECTED] wrote:



First of all many thanks to the makers for this absolutly fantastic
library. I just discovere jquery and I'm really carried away by its
ease of use and its small size. However, as I slowly get a grip on how
it works, i still couldn't figure out, whether there is a function in
jquery which returns only the ID's of selected elements, rather than
the entire html mark up.


Example:

div id=container
div class=item id=1item1/div
div class=item id=3item2/div
div class=item id=3item3/div
/div

input type=text id=myInput name=myInput/


Given this markup, how would i get only the id's of all elements with
the class=item, e.g. path them as comma separated values to the
input field ?


As a bloody beginner I would welcome any hint.

Thanks, Daniel




[jQuery] Re: 3D carousel?

2007-07-08 Thread sozzi

Hmm,

check out this demo 
http://www.willjessup.com/sandbox/jquery/rotator/rotator.html
not exactly what you are looking for but close enough to start
working?

On Jul 7, 10:26 pm, Fred Janon [EMAIL PROTECTED] wrote:
 Has anyone done or know how to do a carousel like the 3D circular carousel
 in Flash in Amazon? It looks pretty cool. Forgive me if the link doesn't
 work for you but the carousel shows the best-seller books in a 3D circular
 carousel.

 http://www.amazon.com/ref=topnav_gw_/105-7722567-3277224http://amazon.com/ref=topnav_gw_/105-7722567-3277224

 Fred